> ## 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 Get Calls In Specific Folder: Inputs, Cost & CLI

> List of calls in a specific folder (/v2/library/folder-content). 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_get_calls_in_specific_folder:{}' --json
```

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

## Input Schema

| Name               | Type     | Required | Default | Description                                                        |
| ------------------ | -------- | -------- | ------- | ------------------------------------------------------------------ |
| `payload.folderId` | `string` | No       |         | Gong's unique numeric identifier for the folder (up to 20 digits). |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Given a folder id, this endpoint retrieves a list of calls in it. When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:library:read'.",
    "properties": {
      "folderId": {
        "type": "string",
        "description": "Gong's unique numeric identifier for the folder (up to 20 digits)."
      }
    },
    "required": [],
    "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."
          },
          "id": {
            "type": "string",
            "description": "Gong's unique numeric identifier for a library's folder (up to 20 digits)."
          },
          "name": {
            "type": "string",
            "description": "Display name of the folder."
          },
          "createdBy": {
            "type": "string",
            "description": "Gong's unique numeric identifier for the user who added the folder."
          },
          "updated": {
            "type": "string",
            "description": "Folder's last update time in the ISO-8601 format (e.g., '2020-03-14T05:30:00-08:00').",
            "format": "date-time"
          },
          "calls": {
            "type": "array",
            "description": "A list, in which each item represents one library call.",
            "items": {
              "type": "object",
              "description": "Basic details such as id, title, notes, etc.",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Gong's unique numeric identifier of a call (up to 20 digits)."
                },
                "title": {
                  "type": "string",
                  "description": "The title of the call."
                },
                "note": {
                  "type": "string",
                  "description": "A note attached to the call in the folder. The note is optional."
                },
                "addedBy": {
                  "type": "string",
                  "description": "Gong's unique numeric identifier for the user who added the call to folder."
                },
                "created": {
                  "type": "string",
                  "description": "The date and time when the call was added to folder in the ISO-8601 format (e.g., '2020-01-12T14:30:00-08:00').",
                  "format": "date-time"
                },
                "url": {
                  "type": "string",
                  "description": "URL of the call."
                },
                "snippet": {
                  "type": "object",
                  "description": "Snippet of call",
                  "properties": {
                    "fromSec": {
                      "type": "integer",
                      "description": "Call snippet start in seconds relative to the call start time. For example 305 is a snippet that starts after 5 minutes and 5 seconds after the beginning of the call.",
                      "format": "int32"
                    },
                    "toSec": {
                      "type": "integer",
                      "description": "Call snippet end in seconds relative to the call start time. For example 900 means that this snippet ends after exactly 15 minutes after the beginning of the call.",
                      "format": "int32"
                    }
                  },
                  "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_get_calls_in_specific_folder --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`.
