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

# Get Translation

> Poll for the status and result of a translation job. Use this endpoint when you initiated a translation with a callback URL. Returns one of two response types:

**Option 1 - Completed (status: "completed")**: Translation is finished. Response includes status, id, and data with all requested formats.

**Option 2 - Pending (status: "pending")**: Job is still processing. Response includes status, id, and poll_url. Continue polling this endpoint until status becomes "completed".



## OpenAPI

````yaml GET /v1/translations/{id}
openapi: 3.1.0
info:
  title: SkyScribe API
  version: 1.0.0
servers:
  - url: https://api.sky-scribe.com
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Transcribe
    description: Transcribe audio and video files to text
  - name: Translate
    description: Translate transcripts to different languages
  - name: Extract
    description: Extract structured data from transcripts
paths:
  /v1/translations/{id}:
    get:
      tags:
        - Translate
      summary: Get translation status or result
      description: >-
        Poll for the status and result of a translation job. Use this endpoint
        when you initiated a translation with a callback URL. Returns one of two
        response types:


        **Option 1 - Completed (status: "completed")**: Translation is finished.
        Response includes status, id, and data with all requested formats.


        **Option 2 - Pending (status: "pending")**: Job is still processing.
        Response includes status, id, and poll_url. Continue polling this
        endpoint until status becomes "completed".
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Translation status or result
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/TranslationCompletedResponse'
                  - $ref: '#/components/schemas/PendingResponse'
components:
  schemas:
    TranslationCompletedResponse:
      type: object
      properties:
        status:
          type: string
          enum:
            - completed
        id:
          type: string
        data:
          type: object
          description: >-
            Map of requested formats to their data. Only formats specified in
            the request will be present. If no formats were specified, defaults
            to json only.
          properties:
            json:
              type: object
              nullable: true
              properties:
                original_language:
                  type: string
                target_language:
                  type: string
                text:
                  type: string
                segments:
                  type: array
                  items:
                    type: object
                    properties:
                      source_segment_id:
                        type: string
                      start:
                        type: number
                      end:
                        type: number
                      text:
                        type: string
                      speaker:
                        type: string
                        nullable: true
                    required:
                      - source_segment_id
                      - start
                      - end
                      - text
              required:
                - original_language
                - target_language
                - text
            doc:
              type: object
              nullable: true
              properties:
                url:
                  type: string
                  format: uri
                  description: Download URL for the DOC file
            pdf:
              type: object
              nullable: true
              properties:
                url:
                  type: string
                  format: uri
                  description: Download URL for the PDF file
            txt:
              type: object
              nullable: true
              properties:
                url:
                  type: string
                  format: uri
                  description: Download URL for the TXT file
            markdown:
              type: string
              nullable: true
              description: Markdown formatted text content
            srt:
              type: object
              nullable: true
              properties:
                url:
                  type: string
                  format: uri
                  description: Download URL for the SRT file
            vtt:
              type: object
              nullable: true
              properties:
                url:
                  type: string
                  format: uri
                  description: Download URL for the VTT file
            csv:
              type: object
              nullable: true
              properties:
                url:
                  type: string
                  format: uri
                  description: Download URL for the CSV file
          additionalProperties: false
      required:
        - status
        - id
        - data
    PendingResponse:
      type: object
      properties:
        status:
          type: string
          enum:
            - pending
        id:
          type: string
        poll_url:
          type: string
          format: uri
          description: URL to poll for updated status or completed result.
        estimated_wait_seconds:
          type: integer
          format: int32
          nullable: true
      required:
        - status
        - id
        - poll_url
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````