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

> Get the funds that a person has invested in. 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=aviato_get_fund_investments:{"perPage":"{{perPage}}","page":"{{page}}"}' --json
```

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

## Input Schema

| Name                       | Type      | Required | Default | Description                                                                                  |
| -------------------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------------------- |
| `payload.id`               | `string`  | No       |         |                                                                                              |
| `payload.linkedinID`       | `string`  | No       |         |                                                                                              |
| `payload.linkedinEntityId` | `string`  | No       |         | LinkedIn entity ID                                                                           |
| `payload.linkedinURL`      | `string`  | No       |         | LinkedIn URL, accepts public profile (linkedin.com/in/), Sales Navigator, and Recruiter URLs |
| `payload.twitterID`        | `string`  | No       |         |                                                                                              |
| `payload.crunchbaseID`     | `string`  | No       |         |                                                                                              |
| `payload.angelListID`      | `string`  | No       |         |                                                                                              |
| `payload.signalNfxID`      | `string`  | No       |         |                                                                                              |
| `payload.polyworkID`       | `string`  | No       |         |                                                                                              |
| `payload.email`            | `string`  | No       |         |                                                                                              |
| `payload.perPage`          | `integer` | Yes      |         | Number of items per page.                                                                    |
| `payload.page`             | `integer` | Yes      |         | Page number, starts from 0.                                                                  |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Get the funds that a person has invested in.",
    "properties": {
      "id": {
        "type": "string"
      },
      "linkedinID": {
        "type": "string"
      },
      "linkedinEntityId": {
        "type": "string",
        "description": "LinkedIn entity ID"
      },
      "linkedinURL": {
        "type": "string",
        "description": "LinkedIn URL, accepts public profile (linkedin.com/in/), Sales Navigator, and Recruiter URLs"
      },
      "twitterID": {
        "type": "string"
      },
      "crunchbaseID": {
        "type": "string"
      },
      "angelListID": {
        "type": "string"
      },
      "signalNfxID": {
        "type": "string"
      },
      "polyworkID": {
        "type": "string"
      },
      "email": {
        "type": "string"
      },
      "perPage": {
        "type": "integer",
        "description": "Number of items per page."
      },
      "page": {
        "type": "integer",
        "description": "Page number, starts from 0."
      }
    },
    "required": [
      "perPage",
      "page"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                    |
| ------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data` | `object` | Yes      |         | Provider response payload.                     |
| `result.meta` | `object` | No       |         | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "funds": {
            "type": "array",
            "items": {
              "type": "object",
              "description": "This object represents a fund raised by an organization. It includes the investors of the fund (which can be other organizations, or people), along with the name, amount raised, and date it was raised.",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "The unique Aviato identifier of the fund"
                },
                "name": {
                  "type": "string",
                  "description": "The name of the fund"
                },
                "date": {
                  "type": "string",
                  "description": "The date when the fund was raised",
                  "format": "date-time"
                },
                "amountRaised": {
                  "type": "number",
                  "description": "The total amount raised by the fund",
                  "format": "double"
                },
                "companyInvestorList": {
                  "type": "array",
                  "description": "List of companies that invested in this fund",
                  "items": {
                    "type": "object",
                    "description": "This object represents a company. It includes only the most essential information to identify a company.",
                    "properties": {
                      "id": {
                        "type": "string",
                        "description": "The Aviato ID of the company"
                      },
                      "name": {
                        "type": "string",
                        "description": "The name of the company"
                      },
                      "description": {
                        "type": "string",
                        "description": "Description of the company"
                      },
                      "country": {
                        "type": "string",
                        "description": "The country of the company (Full country name)"
                      },
                      "region": {
                        "type": "string",
                        "description": "The region of the company (state/province)"
                      },
                      "locality": {
                        "type": "string",
                        "description": "The locality of the company (city/town/village)"
                      },
                      "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
                      },
                      "industryList": {
                        "type": "array",
                        "description": "The industries the company is associated with.",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "required": [
                      "id"
                    ],
                    "additionalProperties": false
                  }
                },
                "personInvestorList": {
                  "type": "array",
                  "description": "List of people who invested in this fund",
                  "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": [
                "id",
                "companyInvestorList",
                "personInvestorList"
              ],
              "additionalProperties": false
            }
          },
          "pages": {
            "type": "integer"
          },
          "totalResults": {
            "type": "integer"
          }
        },
        "required": [
          "funds",
          "pages",
          "totalResults"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Advanced: Direct CLI

<Info>
  Use direct execution for single payload debugging.
</Info>

```bash theme={null}
deepline tools execute aviato_get_fund_investments --payload '{
  "perPage": "integer",
  "page": "integer"
}' --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: `fixed` (per call).
* Estimated Deepline credits: `0.14` per pricing unit.
* Billing mode: `post_deduct`.
