> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.askelephant.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.askelephant.ai/_mcp/server.

# Get engagement transcript timeline

GET https://app.askelephant.ai/api/v2/engagements/{engagement_id}/transcript_timeline

Returns transcript timeline entries for a workspace engagement. This operation requires the `transcript_timelines:read` scope. Reading the transcript timeline for a private engagement also requires `engagements:read` and `engagements:private:read`.

Reference: https://docs.askelephant.ai/api-reference/transcript-timelines/get-engagement-transcript-timeline

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: AskElephant Public API
  version: 1.0.0
paths:
  /v2/engagements/{engagement_id}/transcript_timeline:
    get:
      operationId: get-engagement-transcript-timeline
      summary: Get engagement transcript timeline
      description: >-
        Returns transcript timeline entries for a workspace engagement. This
        operation requires the `transcript_timelines:read` scope. Reading the
        transcript timeline for a private engagement also requires
        `engagements:read` and `engagements:private:read`.
      tags:
        - transcriptTimelines
      parameters:
        - name: engagement_id
          in: path
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Transcript timeline response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/transcript_timeline'
        '401':
          description: Authentication is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '403':
          description: Authenticated but missing required scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '404':
          description: The requested resource does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '429':
          description: Too many requests.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '500':
          description: Unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
servers:
  - url: https://app.askelephant.ai/api
    description: Production
  - url: https://app-staging.askelephant.ai/api
    description: Staging
components:
  schemas:
    TranscriptTimelineObject:
      type: string
      enum:
        - transcript_timeline
      title: TranscriptTimelineObject
    transcript_timeline_speaker:
      type: object
      properties:
        first_name:
          type:
            - string
            - 'null'
        last_name:
          type:
            - string
            - 'null'
        email:
          type:
            - string
            - 'null'
          format: email
        phone:
          type:
            - string
            - 'null'
        speaking_percentage:
          type:
            - number
            - 'null'
          format: double
        sentiment:
          type:
            - number
            - 'null'
          format: double
      required:
        - first_name
        - last_name
        - email
        - phone
        - speaking_percentage
        - sentiment
      title: transcript_timeline_speaker
    TranscriptTimelineEntriesItemsSpeakerType:
      type: string
      enum:
        - contact
        - user
        - unknown
      title: TranscriptTimelineEntriesItemsSpeakerType
    TranscriptTimelineEntriesItemsSpeaker:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/TranscriptTimelineEntriesItemsSpeakerType'
        id:
          type: string
        name:
          type: string
      required:
        - type
        - id
        - name
      title: TranscriptTimelineEntriesItemsSpeaker
    TranscriptTimelineEntriesItemsSentencesItems:
      type: object
      properties:
        text:
          type: string
        start_seconds:
          type: number
          format: double
        end_seconds:
          type: number
          format: double
      required:
        - text
        - start_seconds
        - end_seconds
      title: TranscriptTimelineEntriesItemsSentencesItems
    TranscriptTimelineEntriesItems:
      type: object
      properties:
        speaker:
          $ref: '#/components/schemas/TranscriptTimelineEntriesItemsSpeaker'
        text:
          type: string
        start_seconds:
          type: number
          format: double
        end_seconds:
          type: number
          format: double
        num_words:
          type: integer
        sentences:
          type: array
          items:
            $ref: '#/components/schemas/TranscriptTimelineEntriesItemsSentencesItems'
      required:
        - speaker
        - text
        - start_seconds
        - end_seconds
        - num_words
        - sentences
      title: TranscriptTimelineEntriesItems
    transcript_timeline:
      type: object
      properties:
        object:
          $ref: '#/components/schemas/TranscriptTimelineObject'
        engagement_id:
          type: string
        overall_sentiment:
          type:
            - number
            - 'null'
          format: double
          description: >-
            Average sentiment score across all speakers. Null when no sentiment
            data is available.
        speakers:
          type: array
          items:
            $ref: '#/components/schemas/transcript_timeline_speaker'
          description: Speaker details indexed by their position in the entries.
        entries:
          type: array
          items:
            $ref: '#/components/schemas/TranscriptTimelineEntriesItems'
      required:
        - object
        - engagement_id
        - speakers
        - entries
      title: transcript_timeline
    error_item:
      type: object
      properties:
        field:
          type: string
          description: Request field or parameter associated with the error.
        code:
          type: string
          description: Stable machine-readable error code.
        message:
          type: string
          description: Human-readable explanation of the error.
      required:
        - code
        - message
      description: Structured validation or field-level error detail.
      title: error_item
    error:
      type: object
      properties:
        type:
          type: string
          format: uri
          description: Stable URI identifying the error category.
        title:
          type: string
          description: Short human-readable summary of the error.
        status:
          type: integer
          description: HTTP status code for this error response.
        detail:
          type: string
          description: Human-readable explanation specific to this request.
        request_id:
          type: string
          description: Correlation identifier for support and debugging.
        errors:
          type: array
          items:
            $ref: '#/components/schemas/error_item'
          description: Optional field-level validation errors.
      required:
        - type
        - title
        - status
        - detail
        - request_id
      description: RFC 9457 problem details response returned for client-visible failures.
      title: error
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

```

## Examples



**Request**

```json
{}
```

**Response**

```json
{
  "object": "transcript_timeline",
  "engagement_id": "ngmt_9X7b2K4mN8",
  "speakers": [
    {
      "first_name": "Emily",
      "last_name": "Johnson",
      "email": "emily.johnson@example.com",
      "phone": "+14155552671",
      "speaking_percentage": 62.5,
      "sentiment": 0.8
    }
  ],
  "entries": [
    {
      "speaker": {
        "type": "contact",
        "id": "cnt_01F8X9Y2Z3",
        "name": "Emily Johnson"
      },
      "text": "Thank you for joining the call today. I wanted to discuss the project timeline and next steps.",
      "start_seconds": 0,
      "end_seconds": 12.5,
      "num_words": 18,
      "sentences": [
        {
          "text": "Thank you for joining the call today.",
          "start_seconds": 0,
          "end_seconds": 5
        },
        {
          "text": "I wanted to discuss the project timeline and next steps.",
          "start_seconds": 5.1,
          "end_seconds": 12.5
        }
      ]
    }
  ],
  "overall_sentiment": 0.75
}
```

**SDK Code**

```python
import requests

url = "https://app.askelephant.ai/api/v2/engagements/engagement_id/transcript_timeline"

payload = {}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.get(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://app.askelephant.ai/api/v2/engagements/engagement_id/transcript_timeline';
const options = {
  method: 'GET',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://app.askelephant.ai/api/v2/engagements/engagement_id/transcript_timeline"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("GET", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://app.askelephant.ai/api/v2/engagements/engagement_id/transcript_timeline")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://app.askelephant.ai/api/v2/engagements/engagement_id/transcript_timeline")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://app.askelephant.ai/api/v2/engagements/engagement_id/transcript_timeline', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://app.askelephant.ai/api/v2/engagements/engagement_id/transcript_timeline");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://app.askelephant.ai/api/v2/engagements/engagement_id/transcript_timeline")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```