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

# Attention List Teams: Inputs, Cost & CLI Example

> List Teams. Attention Attention List Teams docs include request fields, response shape, pricing notes, and Deepline CLI examples.

## 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=attention_list_teams:{}' --json
```

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

## Input Schema

Input schema is not available yet.

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Retrieves a list of all teams in the system. The response includes team details such as name, UUID, parent team information, and team hierarchy.",
    "properties": {},
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output Schema

| Name          | Type     | Required | Default | Description                                      |
| ------------- | -------- | -------- | ------- | ------------------------------------------------ |
| `result.data` | `object` | Yes      |         | Response containing a list of teams and metadata |
| `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": "Response containing a list of teams and metadata",
        "properties": {
          "data": {
            "type": "array",
            "description": "List of teams",
            "items": {
              "type": "object",
              "description": "Represents a team in the system with its properties and hierarchical structure",
              "properties": {
                "uuid": {
                  "type": "string",
                  "description": "Unique identifier of the team"
                },
                "name": {
                  "type": "string",
                  "description": "Name of the team"
                },
                "phrases": {
                  "type": "array",
                  "description": "List of keywords or phrases associated with the team",
                  "items": {
                    "type": "string"
                  }
                },
                "slackConnection": {
                  "type": "object",
                  "description": "Represents the Slack integration details for a team",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Slack connection identifier"
                    },
                    "info": {
                      "type": "object",
                      "description": "Information about a connected Slack team",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Slack team identifier"
                        },
                        "name": {
                          "type": "string",
                          "description": "Name of the Slack team"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": false
                },
                "domain": {
                  "type": "string",
                  "description": "Domain associated with the team"
                },
                "organizerJoinInternalMeetings": {
                  "type": "boolean",
                  "description": "Whether team organizers can join internal meetings"
                },
                "consentEmailEnabled": {
                  "type": "boolean",
                  "description": "Whether email consent is enabled for the team"
                },
                "parentTeamUUID": {
                  "type": "string",
                  "description": "UUID of the parent team if this team is part of a hierarchy"
                },
                "organizationUUID": {
                  "type": "string",
                  "description": "UUID of the organization this team belongs to"
                },
                "children": {
                  "type": "array",
                  "description": "List of child teams if this team has a hierarchical structure",
                  "items": {
                    "type": "object",
                    "description": "Recursive OpenAPI schema reference #/components/schemas/Team.",
                    "additionalProperties": true
                  }
                }
              },
              "additionalProperties": false
            }
          },
          "meta": {
            "type": "object",
            "properties": {
              "pageCount": {
                "type": "integer"
              },
              "totalRecords": {
                "type": "integer"
              },
              "pageNumber": {
                "type": "integer"
              },
              "pageSize": {
                "type": "integer"
              }
            },
            "additionalProperties": false
          }
        },
        "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 attention_list_teams --payload '{}' --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` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.
* Billing mode: `no_bill`.
