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

# Gong List Users 1: Inputs, Cost & CLI Example

> List all coaching metrics (/v2/coaching). 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=gong_list_users_1:{"workspace-id":"{{workspace-id}}","manager-id":"{{manager-id}}","from":"{{from}}","to":"{{to}}"}' --json
```

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

## Input Schema

| Name                   | Type      | Required | Default | Description                                                                                                                                                                                                                                                            |
| ---------------------- | --------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.workspace-id` | `integer` | Yes      |         |                                                                                                                                                                                                                                                                        |
| `payload.manager-id`   | `integer` | Yes      |         |                                                                                                                                                                                                                                                                        |
| `payload.from`         | `string`  | Yes      |         | Association time filter - only the associations made after that time will be listed. The time is in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC); if not specified all association events will be listed. |
| `payload.to`           | `string`  | Yes      |         | Association time filter - only the associations made after that time will be listed. The time is in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC); if not specified all association events will be listed. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "List all of the coaching metrics of a manager. When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:coaching:read'.",
    "properties": {
      "workspace-id": {
        "type": "integer",
        "format": "int64"
      },
      "manager-id": {
        "type": "integer",
        "format": "int64"
      },
      "from": {
        "type": "string",
        "description": "Association time filter - only the associations made after that time will be listed. The time is in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC); if not specified all association events will be listed."
      },
      "to": {
        "type": "string",
        "description": "Association time filter - only the associations made after that time will be listed. The time is in the ISO-8601 format (e.g., '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC); if not specified all association events will be listed."
      }
    },
    "required": [
      "workspace-id",
      "manager-id",
      "from",
      "to"
    ],
    "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": {
          "requestId": {
            "type": "string",
            "description": "A Gong request reference Id, generated for this request. Can be used for troubleshooting purposes."
          },
          "coachingData": {
            "type": "array",
            "description": "A list, in which each item specifies one managers coaching data",
            "items": {
              "type": "object",
              "description": "A list, in which each item specifies one managers coaching data",
              "properties": {
                "manager": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Gong's unique numeric identifier for the user (up to 20 digits)."
                    },
                    "emailAddress": {
                      "type": "string",
                      "description": "The email address of the Gong user."
                    },
                    "firstName": {
                      "type": "string",
                      "description": "The first name of the Gong user."
                    },
                    "lastName": {
                      "type": "string",
                      "description": "The last name of the Gong user."
                    },
                    "title": {
                      "type": "string",
                      "description": "The job title of the Gong user."
                    }
                  },
                  "additionalProperties": false
                },
                "directReportsMetrics": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "report": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Gong's unique numeric identifier for the user (up to 20 digits)."
                          },
                          "emailAddress": {
                            "type": "string",
                            "description": "The email address of the Gong user."
                          },
                          "firstName": {
                            "type": "string",
                            "description": "The first name of the Gong user."
                          },
                          "lastName": {
                            "type": "string",
                            "description": "The last name of the Gong user."
                          },
                          "title": {
                            "type": "string",
                            "description": "The job title of the Gong user."
                          }
                        },
                        "additionalProperties": false
                      },
                      "metrics": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "array",
                          "uniqueItems": true,
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                }
              },
              "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 gong_list_users_1 --payload '{
  "workspace-id": "integer",
  "manager-id": "integer",
  "from": "string",
  "to": "string"
}' --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`.
