> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Enformion Person Search: Inputs, Cost & CLI Example

> Find an individual's PERSONAL email and phone from name + city/state (or an exact tahoeId). Includes inputs, outputs, costs, and Deepline CLI examples.

## Run in Enrichment Spreadsheet

<Info>
  Use this function as a column step in `deepline enrich`.
</Info>

```bash theme={null}
deepline enrich --input leads.csv --output leads.enriched.csv --with 'result=enformion_person_search:{}' --json
```

<Tip>
  Map payload values to spreadsheet columns with `{{column_name}}` placeholders.
</Tip>

## Input Schema

| Name                 | Type     | Required | Default | Description                                                                                                                                                                                                                                                                                           |
| -------------------- | -------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.first_name` | `string` | No       |         | Person first name. Required unless tahoe\_id is provided. Do not include middle name or initial.                                                                                                                                                                                                      |
| `payload.last_name`  | `string` | No       |         | Person last name. Required unless tahoe\_id is provided. Middle initials and compound prefixes are stripped automatically (EnformionGO returns zero results for multi-word last names).                                                                                                               |
| `payload.city_state` | `string` | No       |         | City and state as "City, ST" (e.g. "Miami, FL"). Improves match precision.                                                                                                                                                                                                                            |
| `payload.tahoe_id`   | `string` | No       |         | Exact-person identifier (e.g. 'G-2492258155993150029'). When provided, looks up that specific identity directly and other fields are ignored. Use the tahoeId returned by enformion\_business\_search (officers/agents) to follow the vendor flow: business search → officer tahoeId → person search. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Enformion Person Search (galaxy-search-type: Person). Returns the individual's PERSONAL contact info: emailAddresses[] (personal gmail/yahoo/comcast, nonBusiness:1) and phoneNumbers[] (isConnected, phoneType). Use this for personal emails — NOT enformion_workplace_search, which returns the owner's other-employer work emails. Look up by name + city_state, or by tahoe_id for an exact identity.",
    "properties": {
      "first_name": {
        "type": "string",
        "description": "Person first name. Required unless tahoe_id is provided. Do not include middle name or initial."
      },
      "last_name": {
        "type": "string",
        "description": "Person last name. Required unless tahoe_id is provided. Middle initials and compound prefixes are stripped automatically (EnformionGO returns zero results for multi-word last names)."
      },
      "city_state": {
        "type": "string",
        "description": "City and state as \"City, ST\" (e.g. \"Miami, FL\"). Improves match precision."
      },
      "tahoe_id": {
        "type": "string",
        "description": "Exact-person identifier (e.g. 'G-2492258155993150029'). When provided, looks up that specific identity directly and other fields are ignored. Use the tahoeId returned by enformion_business_search (officers/agents) to follow the vendor flow: business search → officer tahoeId → person search."
      }
    },
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name                | Type      | Required | Default | Description |
| ------------------- | --------- | -------- | ------- | ----------- |
| `result.persons`    | `array`   | Yes      |         |             |
| `result.pagination` | `object`  | Yes      |         |             |
| `result.isError`    | `boolean` | Yes      |         |             |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "persons": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "tahoeId": {
              "type": "string"
            },
            "fullName": {
              "type": "string"
            },
            "name": {
              "type": "object",
              "properties": {
                "prefix": {
                  "type": "string"
                },
                "firstName": {
                  "type": "string"
                },
                "middleName": {
                  "type": "string"
                },
                "lastName": {
                  "type": "string"
                },
                "suffix": {
                  "type": "string"
                },
                "rawNames": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "publicFirstSeenDate": {
                  "type": "string"
                },
                "totalFirstSeenDate": {
                  "type": "string"
                }
              },
              "required": [
                "prefix",
                "firstName",
                "middleName",
                "lastName",
                "suffix",
                "rawNames",
                "publicFirstSeenDate",
                "totalFirstSeenDate"
              ],
              "additionalProperties": true
            },
            "age": {
              "type": "integer"
            },
            "emailAddresses": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "emailAddress": {
                    "type": "string"
                  },
                  "emailOrdinal": {
                    "type": "integer"
                  },
                  "isPremium": {
                    "type": "boolean"
                  },
                  "nonBusiness": {
                    "type": "integer"
                  }
                },
                "required": [
                  "emailAddress",
                  "emailOrdinal",
                  "isPremium",
                  "nonBusiness"
                ],
                "additionalProperties": true
              }
            },
            "phoneNumbers": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "phoneNumber": {
                    "type": "string"
                  },
                  "company": {
                    "type": "string"
                  },
                  "phoneType": {
                    "type": "string"
                  },
                  "isConnected": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "phoneNumber",
                  "company",
                  "phoneType",
                  "isConnected"
                ],
                "additionalProperties": true
              }
            },
            "addresses": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "zip": {
                    "type": "string"
                  },
                  "fullAddress": {
                    "type": "string"
                  }
                },
                "required": [
                  "city",
                  "state",
                  "zip",
                  "fullAddress"
                ],
                "additionalProperties": true
              }
            }
          },
          "required": [
            "tahoeId",
            "fullName",
            "name",
            "age",
            "emailAddresses",
            "phoneNumbers",
            "addresses"
          ],
          "additionalProperties": true
        }
      },
      "pagination": {
        "type": "object",
        "properties": {
          "currentPageNumber": {
            "type": "integer"
          },
          "resultsPerPage": {
            "type": "integer"
          },
          "totalPages": {
            "type": "integer"
          },
          "totalResults": {
            "type": "integer"
          }
        },
        "required": [
          "currentPageNumber",
          "resultsPerPage",
          "totalPages",
          "totalResults"
        ],
        "additionalProperties": true
      },
      "isError": {
        "type": "boolean"
      }
    },
    "required": [
      "persons",
      "pagination",
      "isError"
    ],
    "additionalProperties": true
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute enformion_person_search --payload '{}' --json
```

### CLI flags

| Flag                        | Description                                         |
| --------------------------- | --------------------------------------------------- |
| `--json`                    | Print machine-readable output.                      |
| `--wait`                    | Wait for terminal provider status when supported.   |
| `--debug`                   | Enable wait mode with additional status/log output. |
| `--wait-timeout SECONDS`    | Max seconds to wait in wait mode.                   |
| `--poll-interval SECONDS`   | Polling interval in seconds during wait mode.       |
| `--timeout SECONDS`         | Request timeout in seconds.                         |
| `--connect-timeout SECONDS` | Connection timeout in seconds.                      |

## Cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `3.5` per pricing unit.
* Billing mode: `post_deduct`.
