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

# Openmart: Find People

> Find employees at known company domains who match the job titles you target. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Find employees at known company domains who match the job titles you target.

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

## 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(
  'openmart_find_people',
  {
    "tasks": [
      {
        "domain": "example.com",
        "title": "VP of Engineering"
      }
    ]
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute openmart_find_people --input '{
  "tasks": [
    {
      "domain": "example.com",
      "title": "VP of Engineering"
    }
  ]
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "batch_id": "batch_123",
    "status": {
      "processing": 123,
      "completed": 123,
      "errored": 123,
      "total": 123,
      "batch_ready": true
    }
  }
}
```

Use `deepline describe openmart_find_people --json` for the latest machine-readable contract.

## Input reference

Submit async employee discovery tasks for known company domains.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.tasks` | `array` | Yes | — | Minimum items: 1. Maximum items: 100. |
| `payload.wait_for_completion` | `boolean` | No | `true` | When true or omitted, wait for the Openmart batch to finish and return completed task results. Set false to return only the async launcher response. |
| `payload.poll_interval_ms` | `integer` | No | `5000` | Polling interval used while wait\_for\_completion is true. Defaults to 5000 ms. Minimum: 250. Maximum: 30000. |
| `payload.max_wait_ms` | `integer` | No | `30000` | Maximum time to wait for terminal Openmart batch results. Defaults to 30000 ms. larger values are clamped to the Deepline async sync-wait ceiling. Minimum: 1000. Maximum: 600000. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Submit async employee discovery tasks for known company domains.",
    "properties": {
      "tasks": {
        "type": "array",
        "minItems": 1,
        "maxItems": 100,
        "items": {
          "type": "object",
          "properties": {
            "domain": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "max_k": {
              "type": "integer",
              "minimum": 1,
              "maximum": 8
            },
            "company_name": {
              "type": "string"
            },
            "info_access": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "EMAIL",
                  "PHONE"
                ]
              }
            },
            "city": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "country": {
              "type": "string"
            },
            "version": {
              "type": "integer"
            },
            "notify_url": {
              "type": "string"
            },
            "tracking_id": {
              "type": "string"
            }
          },
          "required": [
            "domain",
            "title"
          ],
          "additionalProperties": false
        }
      },
      "wait_for_completion": {
        "type": "boolean",
        "description": "When true or omitted, wait for the Openmart batch to finish and return completed task results. Set false to return only the async launcher response.",
        "default": true
      },
      "poll_interval_ms": {
        "type": "integer",
        "description": "Polling interval used while wait_for_completion is true. Defaults to 5000 ms.",
        "default": 5000,
        "minimum": 250,
        "maximum": 30000
      },
      "max_wait_ms": {
        "type": "integer",
        "description": "Maximum time to wait for terminal Openmart batch results. Defaults to 30000 ms; larger values are clamped to the Deepline async sync-wait ceiling.",
        "default": 30000,
        "minimum": 1000,
        "maximum": 600000
      }
    },
    "required": [
      "tasks"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.batch_id` | `string` | Yes | — | — |
| `result.data.submit_for` | `string` | No | — | — |
| `result.data.status` | `object` | Yes | — | — |
| `result.data.status.processing` | `integer` | Yes | — | — |
| `result.data.status.completed` | `integer` | Yes | — | — |
| `result.data.status.errored` | `integer` | Yes | — | — |
| `result.data.status.total` | `integer` | Yes | — | — |
| `result.data.status.batch_ready` | `boolean` | Yes | — | — |
| `result.meta` | `object` | 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.",
        "properties": {
          "batch_id": {
            "type": "string"
          },
          "submit_for": {
            "type": "string"
          },
          "status": {
            "type": "object",
            "properties": {
              "processing": {
                "type": "integer"
              },
              "completed": {
                "type": "integer"
              },
              "errored": {
                "type": "integer"
              },
              "total": {
                "type": "integer"
              },
              "batch_ready": {
                "type": "boolean"
              }
            },
            "required": [
              "processing",
              "completed",
              "errored",
              "total",
              "batch_ready"
            ],
            "additionalProperties": true
          }
        },
        "required": [
          "batch_id",
          "status"
        ],
        "additionalProperties": true
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

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

## Related documentation

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