> ## 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 Call Transcripts

> Get the transcripts of Gong calls in a date range, or for specific call IDs. Includes SDK V2 examples, input constraints, response fields, and Deepline cost.

Get the transcripts of Gong calls in a date range, or for specific call IDs.

> [!NOTE]
>
> Tool ID: `gong_get_call_transcripts`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'gong_get_call_transcripts',
  {
    "filter": {
      "fromDateTime": "2026-01-15T12:00:00Z",
      "toDateTime": "2026-01-15T12:00:00Z",
      "workspaceId": "workspace_123"
    }
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute gong_get_call_transcripts --input '{
  "filter": {
    "fromDateTime": "2026-01-15T12:00:00Z",
    "toDateTime": "2026-01-15T12:00:00Z",
    "workspaceId": "workspace_123"
  }
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "requestId": "request_123",
    "records": {
      "totalRecords": 123,
      "currentPageSize": 123,
      "currentPageNumber": 123
    },
    "callTranscripts": [
      {
        "callId": "call_123",
        "transcript": [
          {}
        ]
      }
    ]
  }
}
```

Use `deepline describe gong_get_call_transcripts --json` for the latest machine-readable contract.

## Input reference

Returns transcripts for calls that took place during the specified date period. If call IDs are specified, only transcripts for calls with those IDs that took place during the time period are returned. When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:calls:read:transcript'.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.cursor` | `string` | No | — | When paging is needed, provide the value supplied by the previous API call to bring the following page of records. |
| `payload.filter` | `object` | Yes | — | Filter parameters. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Returns transcripts for calls that took place during the specified date period. If call IDs are specified, only transcripts for calls with those IDs that took place during the time period are returned. When accessed through a Bearer token authorization method, this endpoint requires the scope 'api:calls:read:transcript'.",
    "properties": {
      "cursor": {
        "type": "string",
        "description": "When paging is needed, provide the value supplied by the previous API call to bring the following page of records."
      },
      "filter": {
        "type": "object",
        "description": "Filter parameters.",
        "properties": {
          "fromDateTime": {
            "type": "string",
            "description": "Date and time (in ISO-8601 format: '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC) from which to list recorded calls. Returns calls that started on or after the specified date and time. If not provided, list starts with earliest call. The date applies to call start time."
          },
          "toDateTime": {
            "type": "string",
            "description": "Date and time (in ISO-8601 format: '2018-02-18T02:30:00-07:00' or '2018-02-18T08:00:00Z', where Z stands for UTC) until which to list recorded calls. Returns calls that started up to but excluding specified date and time. If not provided, list ends with most recent call. The date applies to call start time."
          },
          "workspaceId": {
            "type": "string",
            "description": "Optional Workspace identifier, if supplied the API will return only the calls belonging to this workspace."
          },
          "callIds": {
            "type": "array",
            "description": "List of calls Ids to be filtered. If not supplied, returns all calls between fromDateTime and toDateTime.",
            "uniqueItems": true,
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "required": [
      "filter"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.requestId` | `string` | No | — | A Gong request reference Id, generated for this request. Can be used for troubleshooting purposes. |
| `result.data.records` | `object` | No | — | Information about the number of records that match the requested filter. |
| `result.data.records.totalRecords` | `integer` | No | — | Total number of records. Format: `int32`. |
| `result.data.records.currentPageSize` | `integer` | No | — | Number of records in the current page. Format: `int32`. |
| `result.data.records.currentPageNumber` | `integer` | No | — | Current page number. Format: `int32`. |
| `result.data.records.cursor` | `string` | No | — | Returned only when there are more records to be retrieved. Repeat the API call and pass this cursor value in the request to retrieve the next page of records. |
| `result.data.callTranscripts` | `array` | No | — | A list with one entry per call. |
| `result.data.callTranscripts[].callId` | `string` | No | — | Gong's unique numeric identifier for the call (up to 20 digits). |
| `result.data.callTranscripts[].transcript` | `array` | No | — | List of monologues. |
| `result.data.callTranscripts[].transcript[].speakerId` | `string` | No | — | Unique ID of the speaker. Cross-reference this with the 'speakerId' field of objects in the 'parties' array returned from endpoint '/v2/calls/extensive' to identify the participant. |
| `result.data.callTranscripts[].transcript[].topic` | `string` | No | — | The name of the topic. |
| `result.data.callTranscripts[].transcript[].sentences` | `array` | No | — | A list of sentences spoken in the monologue. |
| `result.data.callTranscripts[].transcript[].sentences[].start` | `integer` | No | — | The starting time of the sentence, in milliseconds from the start of the call. Format: `int64`. |
| `result.data.callTranscripts[].transcript[].sentences[].end` | `integer` | No | — | The end time of the sentence, in milliseconds from the start of the call. Format: `int64`. |
| `result.data.callTranscripts[].transcript[].sentences[].text` | `string` | No | — | The sentence. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

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

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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."
          },
          "records": {
            "type": "object",
            "description": "Information about the number of records that match the requested filter.",
            "properties": {
              "totalRecords": {
                "type": "integer",
                "description": "Total number of records.",
                "format": "int32"
              },
              "currentPageSize": {
                "type": "integer",
                "description": "Number of records in the current page.",
                "format": "int32"
              },
              "currentPageNumber": {
                "type": "integer",
                "description": "Current page number.",
                "format": "int32"
              },
              "cursor": {
                "type": "string",
                "description": "Returned only when there are more records to be retrieved. Repeat the API call and pass this cursor value in the request to retrieve the next page of records."
              }
            },
            "additionalProperties": false
          },
          "callTranscripts": {
            "type": "array",
            "description": "A list with one entry per call.",
            "items": {
              "type": "object",
              "description": "A list with one entry per call.",
              "properties": {
                "callId": {
                  "type": "string",
                  "description": "Gong's unique numeric identifier for the call (up to 20 digits)."
                },
                "transcript": {
                  "type": "array",
                  "description": "List of monologues.",
                  "items": {
                    "type": "object",
                    "description": "List of monologues.",
                    "properties": {
                      "speakerId": {
                        "type": "string",
                        "description": "Unique ID of the speaker. Cross-reference this with the 'speakerId' field of objects in the 'parties' array returned from endpoint '/v2/calls/extensive' to identify the participant."
                      },
                      "topic": {
                        "type": "string",
                        "description": "The name of the topic."
                      },
                      "sentences": {
                        "type": "array",
                        "description": "A list of sentences spoken in the monologue.",
                        "items": {
                          "type": "object",
                          "description": "A list of sentences spoken in the monologue.",
                          "properties": {
                            "start": {
                              "type": "integer",
                              "description": "The starting time of the sentence, in milliseconds from the start of the call.",
                              "format": "int64"
                            },
                            "end": {
                              "type": "integer",
                              "description": "The end time of the sentence, in milliseconds from the start of the call.",
                              "format": "int64"
                            },
                            "text": {
                              "type": "string",
                              "description": "The sentence."
                            }
                          },
                          "additionalProperties": false
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Gong provider guide](https://deepline.com/docs/providers/gong/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.