---
title: "Get fragments of a transcript"
method: GET
path: "/v2/transcripts/{transcriptId}/fragments"
tags: ["Transcripts"]
---

# Get fragments of a transcript

`GET /v2/transcripts/{transcriptId}/fragments`

Get fragments of a transcript given a transcript id.

## Path parameters

- `transcriptId` integer, required

## Query parameters

- `cursor` string
- `limit` integer
- `totalCount` boolean

## Response `200`

OK

- TranscriptsFragmentPaged — transcripts.FragmentPaged model
  - `data` TranscriptsFragment[], required — A page of Fragments for a transcript
    - `content` string, required — The dialogue fragment of the transcript
    - `speaker` string, required — The speaker of the dialogue fragment
    - `startTimestamp` string, required — The starting timestamp of the dialogue fragment relative to the beginning of the transcript
    - `endTimestamp` string, required — The ending timestamp of the dialogue fragment relative to the beginning of the transcript
  - `pagination` PaginationWithTotalCount, required
    - `prevUrl` string, uri, nullable — URL for the previous page
    - `nextUrl` string, uri, nullable — URL for the next page

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `default` — Errors

---

[API](https://skmtc.net/affinity/apis/affinity-api-v2.md) · [All operations](https://skmtc.net/affinity/apis/affinity-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/affinity/affinity-api-v2/revisions/4c2891c31b7f/schema)
