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

# Submit Redubbing Feedback

> Submit quality feedback and issue reports for a completed dubbing job, triggering a resynthesis workflow.



## OpenAPI

````yaml /managed-dub.openapi.json patch /dubbing/job/{request_id}
openapi: 3.1.0
info:
  title: Deepdub Managed Dubbing API
  description: >-
    Public REST API for submitting videos for AI-assisted dubbing, tracking job
    status, and managing deliverables.
  version: 1.0.0
servers:
  - url: https://dubbing.deepdub.app
security:
  - ApiKeyAuth: []
paths:
  /dubbing/job/{request_id}:
    patch:
      summary: Submit Redubbing Feedback
      description: >-
        Submit quality feedback and issue reports for a completed dubbing job,
        triggering a resynthesis workflow.
      operationId: create_redubbing_job_handler_dubbing_job__request_id__patch
      parameters:
        - required: true
          schema:
            type: string
            title: Request Id
          name: request_id
          in: path
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RedubbingSubmissionRequest'
            example:
              generalFeedback: Lip-sync drifts in the second act.
              issues:
                - timestampStart: 12345
                  timestampEnd: 23456
                  category: TIMING
                  severity: MAJOR
                  label: TIMING_LIPSYNC
                  details: Dialogue starts roughly 300ms late.
                  timestamp: '2024-06-01T15:30:00Z'
              additionalProducts:
                - product: SDH
                  assetPath: s3://your-bucket/output/episode-01.sdh.srt
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RedubbingSubmissionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RedubbingSubmissionRequest:
      properties:
        generalFeedback:
          type: string
          title: Generalfeedback
          description: >-
            General feedback for the redubbing submission (e.g., 'The timing was
            off in several places.')
        exportPath:
          type: string
          title: Exportpath
          description: >-
            S3 path to the exported video file (must start with 's3://', e.g.,
            's3://bucket/output.mp4') if different from the original export path
        issues:
          items:
            $ref: '#/components/schemas/RedubbingIssue'
          type: array
          title: Issues
          description: List of issues identified in the redubbing submission
          default: []
        revisionNumber:
          type: integer
          title: Revisionnumber
          description: Revision number of the redubbing submission if applicable
        additionalProducts:
          items:
            $ref: '#/components/schemas/DubbingSubmissionAdditionalProduct'
          type: array
          title: Additionalproducts
          description: >-
            Additional products to (re-)deliver with this revision (e.g.,
            updated SDH or transcript)
      type: object
      required:
        - generalFeedback
      title: RedubbingSubmissionRequest
    RedubbingSubmissionResponse:
      properties:
        requestId:
          type: string
          title: Requestid
          description: >-
            Unique identifier for the redubbing submission request (e.g.,
            'redub_req_001')
      type: object
      required:
        - requestId
      title: RedubbingSubmissionResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RedubbingIssue:
      properties:
        timestampStart:
          type: integer
          title: Timestampstart
          description: Start timestamp of the issue in milliseconds (e.g., 12345)
        timestampEnd:
          type: integer
          title: Timestampend
          description: End timestamp of the issue in milliseconds (e.g., 23456)
        category:
          allOf:
            - $ref: '#/components/schemas/IssueCategory'
          description: Category of the issue (e.g., 'SYNTHESIS', 'TRANSLATION')
        severity:
          allOf:
            - $ref: '#/components/schemas/IssueSeverity'
          description: >-
            Severity level of the issue (e.g., 'SUGGESTION', 'MINOR', 'MAJOR',
            'CRITICAL')
        label:
          allOf:
            - $ref: '#/components/schemas/IssueLabel'
          description: >-
            Label describing the type of issue (e.g., 'ACCENT', 'ADAPTATION',
            'AUDIO_ARTIFACT')
        details:
          type: string
          title: Details
          description: >-
            Detailed description of the issue (e.g., 'The accent does not match
            the character profile.')
        timestamp:
          type: string
          format: date-time
          title: Timestamp
          description: Timestamp when the issue was reported (e.g., '2024-06-01T15:30:00Z')
        issueId:
          type: string
          title: Issueid
          description: Unique identifier for the issue (e.g., 'issue_001')
      type: object
      required:
        - timestampStart
        - timestampEnd
        - category
        - severity
        - label
        - details
        - timestamp
      title: RedubbingIssue
    DubbingSubmissionAdditionalProduct:
      properties:
        product:
          allOf:
            - $ref: '#/components/schemas/AdditionalProductsEnum'
          description: >-
            Type of product to deliver (e.g., 'SDH', 'SRT', 'WEBVTT',
            'TRANSCRIPT')
        assetPath:
          type: string
          title: Assetpath
          description: >-
            S3 path to the asset file (must start with 's3://', e.g.,
            's3://bucket/asset.mp4')
        state:
          allOf:
            - $ref: '#/components/schemas/AdditionalProductStateEnum'
          description: >-
            Delivery state: None means pending delivery, DELIVERED means already
            delivered.
      type: object
      required:
        - product
        - assetPath
      title: DubbingSubmissionAdditionalProduct
    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
    IssueCategory:
      type: string
      enum:
        - SYNTHESIS
        - TRANSLATION
        - TIMING
        - MIX
      title: IssueCategory
      description: High-level category of a quality issue reported during redubbing review.
    IssueSeverity:
      type: string
      enum:
        - SUGGESTION
        - MINOR
        - MAJOR
        - CRITICAL
      title: IssueSeverity
      description: >-
        Severity level of a quality issue: SUGGESTION (nice-to-have) through
        CRITICAL (must-fix).
    IssueLabel:
      type: string
      enum:
        - ACCENT
        - ADAPTATION
        - AUDIO_ARTIFACT
        - EMOTION
        - EMPHASIS
        - MISPRONUNCIATION
        - MISSING_AUDIO
        - MIX
        - RHYTHM
        - SPEAKER_CONSISTENCY
        - TIMING_LIPSYNC
      title: IssueLabel
      description: Specific label describing the nature of a quality issue.
    AdditionalProductsEnum:
      type: string
      enum:
        - SDH
        - SRT
        - WEBVTT
        - TRANSCRIPT
        - AS_RECORDED_SCRIPT
        - AUDIO_HINTS
        - SOURCE_VIDEO
        - SOURCE_AUDIO
        - ITT_SUBTITLES
      title: AdditionalProductsEnum
      description: >-
        Type of deliverable product that can be requested alongside (or instead
        of) the dubbed video.
    AdditionalProductStateEnum:
      type: string
      enum:
        - PENDING_DELIVERY
        - DELIVERED
      title: AdditionalProductStateEnum
      description: >-
        State of an additional product in the delivery lifecycle.


        None   – legacy / unknown (pre-deployment products, not shown as
        pending).

        PENDING_DELIVERY – explicitly awaiting delivery.

        DELIVERED        – already delivered to the customer.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key issued by Deepdub. Contact your account manager to obtain one.

````