---
title: "Read part of a transcript file, with times"
method: GET
path: "/api/v1/files/{id}/transcript"
tags: ["Files"]
---

# Read part of a transcript file, with times

`GET /api/v1/files/{id}/transcript`

## Request

- Base URL: `https://audo.ai`
- URL: `https://audo.ai/api/v1/files/{id}/transcript`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Secure-audo.session_token`

## Path parameters

- `id` string, required

## Query parameters

- `from` number
- `to` number
- `detail` 'concise' | 'full'

## Response `200`

OK

- object
  - `fileId` string, required
  - `language` string, required: A language code, such as en
  - `fromSeconds` number, required
  - `toSeconds` number, required
  - `durationSeconds` number, required: The whole transcript's length
  - `speakerCount` integer, nullable, required: How many people speak in the whole transcript (0 without speech), or null when it has no speaker labels
  - `detail` 'concise' | 'full', required
  - `sentences` object[], required
    - `startSeconds` number, required
    - `endSeconds` number, required
    - `text` string, required
    - `speaker` integer, nullable, required: Who says it: 1, 2, and so on, in the order people first speak
    - `words` object[]
      - `text` string, required
      - `startSeconds` number, required
      - `endSeconds` number, required
      - `speaker` integer: Who says it, when the transcript has speaker labels: 1, 2, and so on, in the order people first speak
      - `matched` boolean: In an aligned script: false when the word wasn't found in the recording
  - `nextFromSeconds` number, nullable, required: Where to read on from, or null at the end

## Other responses

- `default`: An error, with what went wrong and what to do next

---

[API](https://skmtc.dev/audo/apis/audo-api.md) · [All operations](https://skmtc.dev/audo/apis/audo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/audo/apis/audo-api/revisions/0800e93224eb?raw)
