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

# Aviato: Person Search

> Search people by name, title, company, location, skills and other fields with a structured filter query. Includes SDK V2 examples, schemas, and cost.

Search people by name, title, company, location, skills and other fields with a structured filter query.

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

## 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(
  'aviato_person_search',
  {
    "dsl": {
      "offset": 123,
      "limit": 123
    }
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute aviato_person_search --input '{
  "dsl": {
    "offset": 123,
    "limit": 123
  }
}' --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": {
    "count": {
      "value": "example",
      "isEstimate": true
    },
    "items": [
      {
        "id": "id_123",
        "fullName": "Example",
        "firstName": "Jane",
        "lastName": "Doe"
      }
    ]
  }
}
```

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

## Input reference

Search for people using the Aviato DSL. The top-level `dsl` object requires integer `offset` and `limit`. Filters must use Aviato DSL filter objects such as `&#123; "fullName": &#123; "operation": "textcontains", "value": "Ada" &#125; &#125;`, not `&#123; "field": "fullName", "operation": "contains", "value": "Ada" &#125;`.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.dsl` | `object` | Yes | — | Aviato DSL query. `offset` and `limit` are required. Use `nameQuery` for text search or `filters` for structured column-path filters. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Search for people using the Aviato DSL. The top-level `dsl` object requires integer `offset` and `limit`. Filters must use Aviato DSL filter objects such as `{ \"fullName\": { \"operation\": \"textcontains\", \"value\": \"Ada\" } }`, not `{ \"field\": \"fullName\", \"operation\": \"contains\", \"value\": \"Ada\" }`.",
    "properties": {
      "dsl": {
        "type": "object",
        "description": "Aviato DSL query. `offset` and `limit` are required. Use `nameQuery` for text search or `filters` for structured column-path filters.",
        "properties": {
          "offset": {
            "type": "integer",
            "description": "Required integer offset. Aviato accepts values from 0 through 10000.",
            "minimum": 0,
            "maximum": 10000
          },
          "limit": {
            "type": "integer",
            "description": "Required integer page size. Aviato accepts values from 1 through 250.",
            "minimum": 1,
            "maximum": 250
          },
          "nameQuery": {
            "type": "string",
            "description": "Optional full-text search over the name/fullName column."
          },
          "sort": {
            "type": "array",
            "description": "Optional Aviato DSL sort objects. Each object should have one column-path key.",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "filters": {
            "type": "array",
            "description": "Optional Aviato DSL filters. Each filter has exactly one key: `AND`, `OR`, or a column path whose value is an evaluation object with `operation` and `value`.",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "required": [
          "offset",
          "limit"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "dsl"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.count` | `object` | Yes | — | — |
| `result.data.count.value` | `string` | Yes | — | — |
| `result.data.count.isEstimate` | `boolean` | Yes | — | — |
| `result.data.items` | `array` | Yes | — | — |
| `result.data.items[].id` | `string` | Yes | — | The Aviato ID of the person |
| `result.data.items[].fullName` | `string` | Yes | — | The full name of the person |
| `result.data.items[].firstName` | `string` | Yes | — | The first name of the person |
| `result.data.items[].lastName` | `string` | Yes | — | The last name of the person |
| `result.data.items[].entityType` | `"person" \| "company" \| "school" \| "organization"` | No | — | Allowed: `person`, `company`, `school`, `organization`. |
| `result.data.items[].location` | `string` | No | — | The location of the person. |
| `result.data.items[].URLs` | `object` | No | — | This object represents different urls that can be associated with any type of entity. (Does not include http prefix) |
| `result.data.items[].URLs.golden` | `string` | No | — | — |
| `result.data.items[].URLs.contact` | `string` | No | — | — |
| `result.data.items[].URLs.twitter` | `string` | No | — | — |
| `result.data.items[].URLs.website` | `string` | No | — | — |
| `result.data.items[].URLs.facebook` | `string` | No | — | — |
| `result.data.items[].URLs.github` | `string` | No | — | — |
| `result.data.items[].URLs.linkedin` | `string` | No | — | — |
| `result.data.items[].URLs.pitchbook` | `string` | No | — | — |
| `result.data.items[].URLs.angelList` | `string` | No | — | — |
| `result.data.items[].URLs.signalNFX` | `string` | No | — | — |
| `result.data.items[].URLs.crunchbase` | `string` | No | — | — |
| `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": {
          "count": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string"
              },
              "isEstimate": {
                "type": "boolean"
              }
            },
            "required": [
              "value",
              "isEstimate"
            ],
            "additionalProperties": false
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "A Person Object, with only the most essentail information to identify the person",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The Aviato ID of the person"
                },
                "fullName": {
                  "type": "string",
                  "description": "The full name of the person"
                },
                "firstName": {
                  "type": "string",
                  "description": "The first name of the person"
                },
                "lastName": {
                  "type": "string",
                  "description": "The last name of the person"
                },
                "entityType": {
                  "type": "string",
                  "enum": [
                    "person",
                    "company",
                    "school",
                    "organization"
                  ]
                },
                "location": {
                  "type": "string",
                  "description": "The location of the person."
                },
                "URLs": {
                  "type": "object",
                  "description": "This object represents different urls that can be associated with any type of entity. (Does not include http prefix)",
                  "properties": {
                    "golden": {
                      "type": "string"
                    },
                    "contact": {
                      "type": "string"
                    },
                    "twitter": {
                      "type": "string"
                    },
                    "website": {
                      "type": "string"
                    },
                    "facebook": {
                      "type": "string"
                    },
                    "github": {
                      "type": "string"
                    },
                    "linkedin": {
                      "type": "string"
                    },
                    "pitchbook": {
                      "type": "string"
                    },
                    "angelList": {
                      "type": "string"
                    },
                    "signalNFX": {
                      "type": "string"
                    },
                    "crunchbase": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "fullName",
                "firstName",
                "lastName"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "count",
          "items"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0.04` per pricing unit.

## Related documentation

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