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

# Parallel Run Findall: Inputs, Cost & CLI Example

> Running FindAll end-to-end and returning results when available. Includes inputs, outputs, pricing notes, Deepline CLI examples, and GTM automation guidance.

## 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=parallel_run_findall:{"objective":"Find recent fintech leads with strong fit signals.","entity_type":"companies","match_conditions":[{"name":"industry","description":"fintech software"}]}' --json
```

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

## Input Schema

| Name                       | Type                                     | Required | Default                  | Description                                                                                                                                  |
| -------------------------- | ---------------------------------------- | -------- | ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.objective`        | `string`                                 | Yes      |                          | Natural language target to discover. Keep specific enough for reliable matching.                                                             |
| `payload.entity_type`      | `string`                                 | Yes      |                          | Entity class to return (for example people, companies, accounts).                                                                            |
| `payload.match_conditions` | `array`                                  | Yes      |                          |                                                                                                                                              |
| `payload.generator`        | `"base" \| "core" \| "pro" \| "preview"` | No       | `"core"`                 | FindAll tier. Use preview for testing/validation and small dry runs; use base/core/pro for real discovery depending on recall/quality needs. |
| `payload.match_limit`      | `integer`                                | No       |                          | Maximum matches to return. Keep low (for example 5-20) while validating prompts and conditions.                                              |
| `payload.exclude_list`     | `array`                                  | No       |                          |                                                                                                                                              |
| `payload.metadata`         | `record`                                 | No       |                          |                                                                                                                                              |
| `payload.webhook`          | `object`                                 | No       |                          | Parallel webhook.                                                                                                                            |
| `payload.timeout`          | `integer`                                | No       |                          | Seconds to wait for synchronous completion in run-style calls. If timeout is hit, poll status and fetch results by findall\_id.              |
| `payload.betas`            | `string \| array`                        | No       | `["findall-2025-09-15"]` | FindAll beta flag. Defaults to findall-2025-09-15 for compatibility.                                                                         |

### Allowed values

| Field               | Allowed values                   |
| ------------------- | -------------------------------- |
| `payload.generator` | `base`, `core`, `pro`, `preview` |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Parallel create FindAll run input. Recommended workflow: start with generator=preview and low match_limit for QA, then scale to base/core/pro for user-facing runs.",
    "properties": {
      "objective": {
        "type": "string",
        "description": "Natural language target to discover. Keep specific enough for reliable matching."
      },
      "entity_type": {
        "type": "string",
        "description": "Entity class to return (for example people, companies, accounts)."
      },
      "match_conditions": {
        "type": "array",
        "minItems": 1,
        "items": {
          "type": "object",
          "description": "Parallel FindAll match condition.",
          "properties": {
            "name": {
              "type": "string"
            },
            "description": {
              "type": "string"
            }
          },
          "required": [
            "name",
            "description"
          ],
          "additionalProperties": false
        }
      },
      "generator": {
        "type": "string",
        "description": "FindAll tier. Use preview for testing/validation and small dry runs; use base/core/pro for real discovery depending on recall/quality needs.",
        "default": "core",
        "enum": [
          "base",
          "core",
          "pro",
          "preview"
        ]
      },
      "match_limit": {
        "type": "integer",
        "description": "Maximum matches to return. Keep low (for example 5-20) while validating prompts and conditions."
      },
      "exclude_list": {
        "type": "array",
        "items": {
          "type": "object",
          "description": "Parallel FindAll exclude candidate.",
          "properties": {
            "name": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          },
          "required": [
            "name",
            "url"
          ],
          "additionalProperties": false
        }
      },
      "metadata": {
        "type": "object",
        "additionalProperties": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            }
          ]
        }
      },
      "webhook": {
        "type": "object",
        "description": "Parallel webhook.",
        "properties": {
          "url": {
            "type": "string"
          },
          "event_types": {
            "type": "array",
            "items": {
              "type": "string",
              "const": "task_run.status"
            }
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "timeout": {
        "type": "integer",
        "description": "Seconds to wait for synchronous completion in run-style calls. If timeout is hit, poll status and fetch results by findall_id."
      },
      "betas": {
        "description": "FindAll beta flag. Defaults to findall-2025-09-15 for compatibility.",
        "default": [
          "findall-2025-09-15"
        ],
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        ]
      }
    },
    "required": [
      "objective",
      "entity_type",
      "match_conditions"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `record` | Yes      |         | Provider response payload.                     |
| `result.meta` | `record` | No       |         | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Parallel result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "additionalProperties": {}
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

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

```bash theme={null}
deepline tools execute parallel_run_findall --payload '{
  "objective": "Find recent fintech leads with strong fit signals.",
  "entity_type": "companies",
  "match_conditions": [
    {
      "name": "industry",
      "description": "fintech software"
    }
  ]
}' --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: `provider_usage` (provider usage).
* Estimated Deepline credits: `0` per pricing unit.
* Billing mode: `post_deduct`.
