> ## 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.

# Lusha Enrich Company: Inputs, Cost & CLI Example

> Enrich company metadata (size, revenue, industry, technologies) from a domain, company name, or Lusha company ID. Includes inputs, outputs, and 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=lusha_enrich_company:{}' --json
```

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

## Input Schema

| Name                 | Type     | Required | Default | Description                                                                    |
| -------------------- | -------- | -------- | ------- | ------------------------------------------------------------------------------ |
| `payload.domain`     | `string` | No       |         | Company domain, e.g. "acme.com". Do not include http\:// or [www](http://www). |
| `payload.company`    | `string` | No       |         | Company name for lookup.                                                       |
| `payload.company_id` | `string` | No       |         | Lusha internal company ID.                                                     |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "domain": {
        "type": "string",
        "description": "Company domain, e.g. \"acme.com\". Do not include http:// or www.",
        "minLength": 1
      },
      "company": {
        "type": "string",
        "description": "Company name for lookup.",
        "minLength": 1
      },
      "company_id": {
        "type": "string",
        "description": "Lusha internal company ID.",
        "minLength": 1
      }
    },
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name                  | Type      | Required | Default | Description |
| --------------------- | --------- | -------- | ------- | ----------- |
| `result.companyId`    | `string`  | Yes      |         |             |
| `result.name`         | `string`  | Yes      |         |             |
| `result.domain`       | `string`  | Yes      |         |             |
| `result.description`  | `string`  | Yes      |         |             |
| `result.size`         | `string`  | Yes      |         |             |
| `result.revenue`      | `string`  | Yes      |         |             |
| `result.industry`     | `string`  | Yes      |         |             |
| `result.founded`      | `integer` | Yes      |         |             |
| `result.location`     | `string`  | Yes      |         |             |
| `result.technologies` | `array`   | Yes      |         |             |
| `result.signals`      | `array`   | Yes      |         |             |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "companyId": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "domain": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "size": {
        "type": "string"
      },
      "revenue": {
        "type": "string"
      },
      "industry": {
        "type": "string"
      },
      "founded": {
        "type": "integer"
      },
      "location": {
        "type": "string"
      },
      "technologies": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "signals": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string"
            },
            "value": {
              "type": "string"
            },
            "timestamp": {
              "type": "string"
            }
          },
          "required": [
            "type",
            "value",
            "timestamp"
          ],
          "additionalProperties": true
        }
      }
    },
    "required": [
      "companyId",
      "name",
      "domain",
      "description",
      "size",
      "revenue",
      "industry",
      "founded",
      "location",
      "technologies",
      "signals"
    ],
    "additionalProperties": true
  }
  ```
</details>

## Advanced: Direct CLI

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

```bash theme={null}
deepline tools execute lusha_enrich_company --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: `0.7` per pricing unit.
* Billing mode: `post_deduct`.
