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

# Get export state and fresh download URL



## OpenAPI

````yaml /openapi.json get /exports/{exportId}
openapi: 3.1.0
info:
  title: Youka REST API
  version: v1
  description: REST API for project-based karaoke creation, styling, media, and exports.
servers:
  - url: https://api.youka.io/api/v1
    description: Production
  - url: http://localhost:3003/api/v1
    description: Local development
security:
  - bearerAuth: []
tags:
  - name: Account
    description: Inspect the API key's account identity.
  - name: Uploads
    description: Upload source audio or video before creating a project.
  - name: Credits
    description: Inspect available credit balance.
  - name: Billing
    description: Create checkout sessions and manage billing.
  - name: Projects
    description: Create projects and read the long-lived project state.
  - name: Tasks
    description: Poll async task progress until it reaches a terminal state.
  - name: Exports
    description: Create exports and fetch fresh download URLs.
  - name: Presets
    description: Manage reusable karaoke styling presets.
  - name: Media
    description: Manage uploaded reusable media.
  - name: Project Settings
    description: Read and update a project's active settings.
paths:
  /exports/{exportId}:
    get:
      tags:
        - Exports
      summary: Get export state and fresh download URL
      operationId: getExport
      parameters:
        - in: path
          name: exportId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Export state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Export'
components:
  schemas:
    Export:
      $schema: https://json-schema.org/draft/2020-12/schema
      type: object
      properties:
        id:
          type: string
        status:
          type: string
          enum:
            - created
            - queued
            - in-progress
            - completed
            - failed
            - cancelled
            - timed-out
            - finalized
        error:
          anyOf:
            - type: string
            - type: 'null'
        fileId:
          anyOf:
            - type: string
            - type: 'null'
        filename:
          type: string
          minLength: 1
        fileExtension:
          type: string
        resolution:
          type: string
        quality:
          type: string
        fps:
          anyOf:
            - type: number
              const: 25
            - type: number
              const: 30
            - type: number
              const: 60
        transparent:
          type: boolean
        renderMode:
          type: string
          enum:
            - standard
            - fast
        renderBackend:
          type: string
          enum:
            - batch
            - lambda
        downloadUrl:
          anyOf:
            - type: string
              format: uri
            - type: 'null'
      required:
        - id
        - status
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````