> ## Documentation Index
> Fetch the complete documentation index at: https://docs.burki.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Transcripts by Call SID

> Get all transcripts for a call by Twilio Call SID.

Returns transcripts if the call belongs to an assistant in your organization.

This endpoint retrieves a list of all transcript entries for a specific call, identified by its Burki call SID / provider call identifier.

### Path Parameters

* `call_sid` (string, **required**): The Burki call SID / provider call identifier.

### Query Parameters

* `speaker` (string, optional): Filter transcripts by the speaker.
  * Allowed values: `user`, `assistant`.
* `include_interim` (boolean, optional, default: false): Whether to include non-final (interim) transcript entries.

### Response

The response is a JSON array of transcript objects.

```json Response theme={null}
[
  {
    "id": 1,
    "call_id": 101,
    "content": "Hello, how can I help you today?",
    "speaker": "assistant",
    "is_final": true,
    "segment_start": 0.0,
    "segment_end": 2.5,
    "confidence": 0.95,
    "stt_timestamps": null,
    "created_at": "2023-10-30T10:00:05Z"
  },
  {
    "id": 2,
    "call_id": 101,
    "content": "Yes, I'd like to check the status of my order.",
    "speaker": "user",
    "is_final": true,
    "segment_start": 4.1,
    "segment_end": 7.2,
    "confidence": 0.93,
    "stt_timestamps": null,
    "created_at": "2023-10-30T10:00:10Z"
  }
]
```


## OpenAPI

````yaml GET /api/v1/calls/sid/{call_sid}/transcripts
openapi: 3.1.0
info:
  title: Burki
  description: A system that uses AI to answer customer Calls.
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/calls/sid/{call_sid}/transcripts:
    get:
      tags:
        - calls
      summary: Get Call Sid Transcripts
      description: >-
        Get all transcripts for a call by Twilio Call SID.


        Returns transcripts if the call belongs to an assistant in your
        organization.
      operationId: get_call_sid_transcripts_api_v1_calls_sid__call_sid__transcripts_get
      parameters:
        - name: call_sid
          in: path
          required: true
          schema:
            type: string
            title: Call Sid
        - name: speaker
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by speaker (user/assistant)
            title: Speaker
          description: Filter by speaker (user/assistant)
        - name: include_interim
          in: query
          required: false
          schema:
            type: boolean
            description: Include interim (non-final) transcripts
            default: false
            title: Include Interim
          description: Include interim (non-final) transcripts
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TranscriptResponse'
                title: >-
                  Response Get Call Sid Transcripts Api V1 Calls Sid  Call Sid 
                  Transcripts Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    TranscriptResponse:
      properties:
        content:
          type: string
          title: Content
        is_final:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Final
          default: true
        speaker:
          anyOf:
            - type: string
            - type: 'null'
          title: Speaker
        segment_start:
          anyOf:
            - type: number
            - type: 'null'
          title: Segment Start
        segment_end:
          anyOf:
            - type: number
            - type: 'null'
          title: Segment End
        confidence:
          anyOf:
            - type: number
            - type: 'null'
          title: Confidence
        stt_timestamps:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Stt Timestamps
        id:
          type: integer
          title: Id
        call_id:
          type: integer
          title: Call Id
        created_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Created At
      type: object
      required:
        - content
        - id
        - call_id
      title: TranscriptResponse
      description: Schema for transcript response.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````