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

# Get a dub's quality report

> What Reedapt's checks found on a finished dub: lines that may run long, may be missing
words or sound wrong, and the lines it fixed by itself.



## OpenAPI

````yaml /openapi.json get /dubs/{dub_id}/quality
openapi: 3.1.0
info:
  title: Reedapt Dubbing API
  description: >-
    Dub video and audio into other languages in the speaker's own voice.
    Authenticate with `Authorization: Bearer <key>`; make keys in Reedapt under
    Developers.
  version: 1.0.0
servers:
  - url: https://api.reedapt.com/v1
security:
  - apiKey: []
paths:
  /dubs/{dub_id}/quality:
    get:
      tags:
        - Dubs
      summary: Get a dub's quality report
      description: >-
        What Reedapt's checks found on a finished dub: lines that may run long,
        may be missing

        words or sound wrong, and the lines it fixed by itself.
      operationId: dub_quality_dubs__dub_id__quality_get
      parameters:
        - name: dub_id
          in: path
          required: true
          schema:
            type: string
            title: Dub Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DubQuality'
        '401':
          description: The key is missing, wrong or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '404':
          description: Nothing with this id belongs to the key's account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '409':
          description: The request conflicts with the object's state; the code says which.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '422':
          description: The request is invalid; the code and `fields` say why.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
        '429':
          description: >-
            Too many requests, or a plan limit was reached. Wait for
            `Retry-After` seconds.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBody'
components:
  schemas:
    DubQuality:
      properties:
        dub_id:
          type: string
          title: Dub Id
        checked:
          type: boolean
          title: Checked
          description: Whether the measurement checks have run on this dub.
        listened:
          type: boolean
          title: Listened
          description: Whether the listening model has heard this dub.
        lines:
          type: integer
          title: Lines
        fixed:
          type: integer
          title: Fixed
          description: Lines Reedapt fixed by itself (shortened or re-voiced).
        to_review:
          type: integer
          title: To Review
          description: Lines a person may want to listen to.
        flagged:
          items:
            $ref: '#/components/schemas/QualityLine'
          type: array
          title: Flagged
      type: object
      required:
        - dub_id
        - checked
        - listened
        - lines
        - fixed
        - to_review
        - flagged
      title: DubQuality
      description: >-
        What Reedapt's checks found on a finished dub, and what it fixed by
        itself.
    ErrorBody:
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      type: object
      required:
        - error
      title: ErrorBody
    QualityLine:
      properties:
        line:
          type: integer
          title: Line
          description: The line's number, in time order, starting at 1.
        start_ms:
          type: integer
          title: Start Ms
        checks:
          items:
            type: string
          type: array
          title: Checks
          description: What the checks found on this line, e.g. `fit`, `listen_glitch`.
        fixed:
          anyOf:
            - type: string
              enum:
                - shortened
                - revoiced
            - type: 'null'
          title: Fixed
          description: What Reedapt changed on this line by itself, if anything.
      type: object
      required:
        - line
        - start_ms
        - checks
      title: QualityLine
    ErrorDetail:
      properties:
        code:
          type: string
          title: Code
          description: Stable and machine-readable; branch on this, not on the message.
          examples:
            - UPLOAD_INCOMPLETE
        message:
          type: string
          title: Message
          description: What went wrong and what to do, in plain English.
          examples:
            - Complete the upload before dubbing it.
        request_id:
          type: string
          title: Request Id
          description: Quote it when you contact us about this request.
          examples:
            - req_8f2c1e0a9b7d6c5e4f3a
        fields:
          anyOf:
            - items:
                additionalProperties:
                  type: string
                type: object
              type: array
            - type: 'null'
          title: Fields
          description: >-
            On INVALID_REQUEST from validation: each field that is missing or
            invalid.
          examples:
            - - field: target_languages
                message: Field required
      type: object
      required:
        - code
        - message
        - request_id
      title: ErrorDetail
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: '`rk_live_…` or `rk_test_…`, made in Reedapt under Developers.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.