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

# HubSpot: Search Lists

> Search HubSpot lists/segments by name and processing type with limit/offset pagination. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Search HubSpot lists/segments by name and processing type with limit/offset pagination.

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

## 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(
  'hubspot_search_lists',
  {
    "query": "software companies hiring engineers",
    "object_type_id": "object_type_123",
    "processing_types": [
      "MANUAL"
    ]
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute hubspot_search_lists --input '{
  "query": "software companies hiring engineers",
  "object_type_id": "object_type_123",
  "processing_types": [
    "MANUAL"
  ]
}' --json
```

## Example response

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

## Input reference

Search HubSpot lists/segments by name, object type, and processing type.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.query` | `string` | No | — | List name query. Provide an empty string to page through all lists. |
| `payload.object_type_id` | `string` | No | — | HubSpot object type ID, for example `0-1` for contacts. |
| `payload.processing_types` | `array` | No | — | Optional processing types to filter by. |
| `payload.limit` | `integer` | No | — | Maximum lists to return in one page. Minimum: 1. Maximum: 500. |
| `payload.offset` | `integer` | No | — | Paging offset returned by a previous list search page. Minimum: 0. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Search HubSpot lists/segments by name, object type, and processing type.",
    "properties": {
      "query": {
        "type": "string",
        "description": "List name query. Provide an empty string to page through all lists."
      },
      "object_type_id": {
        "type": "string",
        "description": "HubSpot object type ID, for example `0-1` for contacts."
      },
      "processing_types": {
        "type": "array",
        "description": "Optional processing types to filter by.",
        "items": {
          "type": "string",
          "enum": [
            "MANUAL",
            "DYNAMIC",
            "SNAPSHOT"
          ]
        }
      },
      "limit": {
        "type": "integer",
        "description": "Maximum lists to return in one page.",
        "minimum": 1,
        "maximum": 500
      },
      "offset": {
        "type": "integer",
        "description": "Paging offset returned by a previous list search page.",
        "minimum": 0
      }
    },
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool 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": "Standard tool 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: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [HubSpot provider guide](https://deepline.com/docs/providers/hubspot/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.