> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.vapi.core.FindSquads

- Component: `appmixer.vapi.core.FindSquads`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.vapi 1.1.3](https://connectors.appmixer.com/connector/appmixer.vapi/1.1.3.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.vapi/1.1.3/component/appmixer.vapi.core.FindSquads>

Search and retrieve squads from your Vapi account. Returns a list of squads that match the specified criteria. This component will return a maximum of 1000 records.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Created At Greater Than (`createdAtGt`) | date-time | Filter squads created after this timestamp (ISO 8601 format). |
| Created At Less Than (`createdAtLt`) | date-time | Filter squads created before this timestamp (ISO 8601 format). |
| Updated At Greater Than (`updatedAtGt`) | date-time | Filter squads updated after this timestamp (ISO 8601 format). |
| Updated At Less Than (`updatedAtLt`) | date-time | Filter squads updated before this timestamp (ISO 8601 format). |
| Output Type (`outputType`) | select | Choose whether you want to receive the result set as one complete list, or first item only or one item at a time or stream the items to a file. |

## Output ports

### Port `out`

Variables are loaded dynamically from `/component/appmixer/vapi/core/FindSquads?outPort=out`.

### Port `notFound`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.vapi.core.FindSquads",
  "author": "Appmixer <info@appmixer.com>",
  "description": "Search and retrieve squads from your Vapi account. Returns a list of squads that match the specified criteria. This component will return a maximum of 1000 records.",
  "version": "1.0.0",
  "private": false,
  "auth": {
    "service": "appmixer:vapi"
  },
  "quota": {
    "manager": "appmixer:vapi",
    "resources": "vapi.api",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "createdAtGt": {
            "type": "string"
          },
          "createdAtLt": {
            "type": "string"
          },
          "updatedAtGt": {
            "type": "string"
          },
          "updatedAtLt": {
            "type": "string"
          },
          "outputType": {
            "type": "string"
          }
        }
      },
      "inspector": {
        "inputs": {
          "createdAtGt": {
            "type": "date-time",
            "tooltip": "Filter squads created after this timestamp (ISO 8601 format).",
            "label": "Created At Greater Than",
            "index": 0
          },
          "createdAtLt": {
            "type": "date-time",
            "tooltip": "Filter squads created before this timestamp (ISO 8601 format).",
            "label": "Created At Less Than",
            "index": 1
          },
          "updatedAtGt": {
            "type": "date-time",
            "tooltip": "Filter squads updated after this timestamp (ISO 8601 format).",
            "label": "Updated At Greater Than",
            "index": 2
          },
          "updatedAtLt": {
            "type": "date-time",
            "tooltip": "Filter squads updated before this timestamp (ISO 8601 format).",
            "label": "Updated At Less Than",
            "index": 3
          },
          "outputType": {
            "type": "select",
            "label": "Output Type",
            "index": 4,
            "defaultValue": "array",
            "tooltip": "Choose whether you want to receive the result set as one complete list, or first item only or one item at a time or stream the items to a file.",
            "options": [
              {
                "label": "First Item Only",
                "value": "first"
              },
              {
                "label": "All items at once",
                "value": "array"
              },
              {
                "label": "One item at a time",
                "value": "object"
              },
              {
                "label": "Store to CSV file",
                "value": "file"
              }
            ]
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "source": {
        "url": "/component/appmixer/vapi/core/FindSquads?outPort=out",
        "data": {
          "properties": {
            "generateOutputPortOptions": true
          },
          "messages": {
            "in/outputType": "inputs/in/outputType"
          }
        }
      }
    },
    {
      "name": "notFound"
    }
  ],
  "icon": "(data URI omitted)"
}
```
