Skip to main content
GET
/
v2
/
transcripts
/
{transcriptId}
/
fragments
Get fragments of a transcript
curl --request GET \
  --url https://api.affinity.co/v2/transcripts/{transcriptId}/fragments \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "content": "Can you walk us through your ARR growth over the past two quarters?",
      "speaker": "Sarah Park",
      "startTimestamp": "00:00:01",
      "endTimestamp": "00:00:05"
    },
    {
      "content": "We went from 1.2 million to 2.5 million ARR — roughly 110% growth.",
      "speaker": "Alex Rivera",
      "startTimestamp": "00:00:06",
      "endTimestamp": "00:00:11"
    },
    {
      "content": "That's impressive. What's primarily driving the expansion?",
      "speaker": "Sarah Park",
      "startTimestamp": "00:00:12",
      "endTimestamp": "00:00:15"
    },
    {
      "content": "Mostly upsells from existing accounts. Our net revenue retention is at 135%.",
      "speaker": "Alex Rivera",
      "startTimestamp": "00:00:16",
      "endTimestamp": "00:00:21"
    }
  ],
  "pagination": {
    "prevUrl": "https://api.affinity.co/v2/transcripts/1/fragments?cursor=ICAgICAgYmVmb3JlOjo6Nw",
    "nextUrl": "https://api.affinity.co/v2/transcripts/1/fragments?cursor=ICAgICAgIGFmdGVyOjo6NA",
    "totalCount": 4
  }
}

Documentation Index

Fetch the complete documentation index at: https://developer.affinity.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

transcriptId
integer<int32>
required

The id of the Transcript

Required range: 1 <= x <= 2147483647

Query Parameters

cursor
string

Cursor for the next or previous page

limit
integer<int32>
default:20

Number of items to include in the page

Required range: 0 <= x <= 100
totalCount
boolean
default:false

Include total count of the collection in the pagination response

Response

OK

transcripts.FragmentPaged model

data
transcripts.Fragment · object[]
required

A page of Fragments for a transcript

Maximum array length: 100
pagination
PaginationWithTotalCount · object
required