> ## 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 Task: Inputs, Cost & CLI Example

> Deep research for hard-to-find signals. 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_task:{"input":"{{input}}"}' --json
```

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

## Input Schema

| Name                    | Type                                                                                                                                                                                                                                                  | Required | Default       | Description                                                                                                            |
| ----------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------------- | ---------------------------------------------------------------------------------------------------------------------- |
| `payload.processor`     | `"lite" \| "lite-fast" \| "base" \| "base-fast" \| "core" \| "core-fast" \| "core2x" \| "core2x-fast" \| "pro" \| "pro-fast" \| "ultra" \| "ultra-fast" \| "ultra2x" \| "ultra2x-fast" \| "ultra4x" \| "ultra4x-fast" \| "ultra8x" \| "ultra8x-fast"` | No       | `"lite-fast"` | Parallel processor tier (fast-only). Fast processors prioritize speed (2-5x faster) while maintaining very fresh data. |
| `payload.input`         | `string \| record`                                                                                                                                                                                                                                    | Yes      |               | Required. Prompt or structured input for the task.                                                                     |
| `payload.metadata`      | `record`                                                                                                                                                                                                                                              | No       |               |                                                                                                                        |
| `payload.source_policy` | `object`                                                                                                                                                                                                                                              | No       |               | Parallel source policy.                                                                                                |
| `payload.task_spec`     | `object`                                                                                                                                                                                                                                              | No       |               | Parallel task spec.                                                                                                    |
| `payload.mcp_servers`   | `array`                                                                                                                                                                                                                                               | No       |               |                                                                                                                        |
| `payload.enable_events` | `boolean`                                                                                                                                                                                                                                             | No       |               |                                                                                                                        |
| `payload.webhook`       | `object`                                                                                                                                                                                                                                              | No       |               | Parallel webhook.                                                                                                      |
| `payload.betas`         | `string \| array`                                                                                                                                                                                                                                     | No       |               |                                                                                                                        |
| `payload.timeout`       | `integer`                                                                                                                                                                                                                                             | No       |               |                                                                                                                        |

### Allowed values

| Field               | Allowed values                                                                                                                                                                                                    |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.processor` | `lite`, `lite-fast`, `base`, `base-fast`, `core`, `core-fast`, `core2x`, `core2x-fast`, `pro`, `pro-fast`, `ultra`, `ultra-fast`, `ultra2x`, `ultra2x-fast`, `ultra4x`, `ultra4x-fast`, `ultra8x`, `ultra8x-fast` |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Parallel run task input.",
    "properties": {
      "processor": {
        "type": "string",
        "description": "Parallel processor tier (fast-only). Fast processors prioritize speed (2-5x faster) while maintaining very fresh data.",
        "default": "lite-fast",
        "enum": [
          "lite",
          "lite-fast",
          "base",
          "base-fast",
          "core",
          "core-fast",
          "core2x",
          "core2x-fast",
          "pro",
          "pro-fast",
          "ultra",
          "ultra-fast",
          "ultra2x",
          "ultra2x-fast",
          "ultra4x",
          "ultra4x-fast",
          "ultra8x",
          "ultra8x-fast"
        ]
      },
      "input": {
        "description": "Required. Prompt or structured input for the task.",
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "object",
            "additionalProperties": {}
          }
        ]
      },
      "metadata": {
        "type": "object",
        "additionalProperties": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            }
          ]
        }
      },
      "source_policy": {
        "type": "object",
        "description": "Parallel source policy.",
        "properties": {
          "include_domains": {
            "type": "array",
            "description": "Optional allowlist of domains. Combined include_domains + exclude_domains must not exceed 10 total domains.",
            "items": {
              "type": "string"
            }
          },
          "exclude_domains": {
            "type": "array",
            "description": "Optional denylist of domains. Combined include_domains + exclude_domains must not exceed 10 total domains.",
            "items": {
              "type": "string"
            }
          },
          "after_date": {
            "type": "string",
            "description": "Optional RFC 3339 date string (YYYY-MM-DD) for freshness filtering."
          }
        },
        "additionalProperties": false
      },
      "task_spec": {
        "type": "object",
        "description": "Parallel task spec.",
        "properties": {
          "output_schema": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "object",
                "description": "Parallel JSON schema.",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "json"
                  },
                  "json_schema": {
                    "type": "object",
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "json_schema"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "description": "Parallel text schema.",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "text"
                  },
                  "description": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "description": "Parallel auto schema.",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "auto"
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "input_schema": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "object",
                "description": "Parallel JSON schema.",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "json"
                  },
                  "json_schema": {
                    "type": "object",
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "json_schema"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "description": "Parallel text schema.",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "text"
                  },
                  "description": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "output_schema"
        ],
        "additionalProperties": false
      },
      "mcp_servers": {
        "type": "array",
        "items": {
          "type": "object",
          "description": "Parallel MCP server.",
          "properties": {
            "type": {
              "type": "string",
              "const": "url"
            },
            "url": {
              "type": "string"
            },
            "headers": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "name": {
              "type": "string"
            },
            "allowed_tools": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "url",
            "name"
          ],
          "additionalProperties": false
        }
      },
      "enable_events": {
        "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
      },
      "betas": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        ]
      },
      "timeout": {
        "type": "integer"
      }
    },
    "required": [
      "input"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | 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 task run result.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "run": {
            "type": "object",
            "additionalProperties": {}
          },
          "output": {
            "type": "object",
            "additionalProperties": {}
          }
        },
        "additionalProperties": false
      },
      "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_task --payload '{
  "input": "string"
}' --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`.
