> ## 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: Extract

> Extract the content of public URLs, including JavaScript-heavy pages and PDFs, as excerpts focused on an objective or as full text.

Extract the content of public URLs, including JavaScript-heavy pages and PDFs, as excerpts focused on an objective or as full text.

> [!NOTE]
>
> Tool ID: `parallel_extract`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'parallel_extract',
  {
    "urls": [
      "https://example.com"
    ]
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute parallel_extract --input '{
  "urls": [
    "https://example.com"
  ]
}' --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe parallel_extract --json` for the complete live contract.

## Input reference

Parallel extract input.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.urls` | `array` | Yes | — | Required. List of URLs to extract (max 10). Minimum items: 1. |
| `payload.objective` | `string` | No | — | — |
| `payload.search_queries` | `array` | No | — | — |
| `payload.fetch_policy` | `object` | No | — | Parallel fetch policy. |
| `payload.excerpts` | `boolean \| object` | No | — | — |
| `payload.full_content` | `boolean \| object` | No | — | — |
| `payload.betas` | `string \| array` | No | — | — |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Parallel extract input.",
    "properties": {
      "urls": {
        "type": "array",
        "description": "Required. List of URLs to extract (max 10).",
        "minItems": 1,
        "items": {
          "type": "string"
        }
      },
      "objective": {
        "type": "string"
      },
      "search_queries": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "fetch_policy": {
        "type": "object",
        "description": "Parallel fetch policy.",
        "properties": {
          "max_age_seconds": {
            "type": "number"
          },
          "timeout_seconds": {
            "type": "number"
          },
          "disable_cache_fallback": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "excerpts": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "object",
            "description": "Parallel excerpt settings.",
            "properties": {
              "max_chars_per_result": {
                "type": "number"
              },
              "max_chars_total": {
                "type": "number"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "full_content": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "object",
            "description": "Parallel full content settings.",
            "properties": {
              "max_chars_per_result": {
                "type": "number"
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "betas": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        ]
      }
    },
    "required": [
      "urls"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Parallel result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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>

## Deepline cost

* Pricing model: `per_result` (per result).
* Estimated Deepline credits: `0.02` per pricing unit.

## Related documentation

* [Parallel provider guide](https://deepline.com/docs/providers/parallel/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.