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

# Query job status and results

> Poll one job. When `status` is `finished`, `result.outputs[0]` is the latest rendered file.

`finished` is not permanent: re-exporting in the website editor sets the job back to `running`, and a failed re-export ends in `failed`. Earlier renders stay in `result.outputs`; `result.outputs[0]` is always the latest successful one.



## OpenAPI

````yaml /api-reference/app-synced.json get /openapi/v1/app/tasks/detail
openapi: 3.1.0
info:
  title: VMEG Open API (App-Synced)
  description: >-
    Same protocol as the Standalone API, but every task, material, and cloned
    voice lives in your VMEG website account: jobs show up in **My tasks**, open
    in the editor, and can be re-exported. Poll `GET
    /openapi/v1/app/tasks/detail` for results (no webhooks). See [Standalone vs
    App-Synced](/guides/app-synced/comparison).


    Linked guides are written for the Standalone API. The steps are the same;
    use the `/openapi/v1/app` prefix instead of `/openapi/v1`.
  version: 1.0.0
servers:
  - url: https://api.vmeg.ai
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: Media translation
    x-group: Video & audio translate and dub
    description: >-
      Translate and dub uploaded video/audio or a YouTube link on the same
      pipeline as vmeg.ai. The first pass renders the dubbed file; the job also
      appears in **My tasks** for editing and re-export. Poll [Query job
      status](/api-reference/app-synced/tasks/get-task-detail) for results.
  - name: Voice clone
    x-group: Voice cloning
    description: >-
      Clone a voice from a short recording. The voice is saved to **My voices**
      on the website and returned as `cv_*` for translate-and-dub jobs.
  - name: Task management
    x-group: Task status and history
    description: >-
      List, inspect, or delete the video/audio translation jobs in your VMEG
      account, including jobs created on the website.
  - name: Assets - Materials
    x-group: Upload files (materials)
    description: >-
      Upload and manage the files in your website material library (**My
      assets**). Finish the upload (single-file or multipart), then pass
      `materialId` to create-async.
  - name: Assets - Voices
    x-group: Voices (presets and clones)
    description: >-
      List preset system voices (`sv_*`) and manage your cloned voices (`cv_*`,
      same as **My voices** on the website).
paths:
  /openapi/v1/app/tasks/detail:
    get:
      tags:
        - Task management
      summary: Query job status and results
      description: >-
        Poll one job. When `status` is `finished`, `result.outputs[0]` is the
        latest rendered file.


        `finished` is not permanent: re-exporting in the website editor sets the
        job back to `running`, and a failed re-export ends in `failed`. Earlier
        renders stay in `result.outputs`; `result.outputs[0]` is always the
        latest successful one.
      operationId: appTasksDetail
      parameters:
        - name: taskId
          in: query
          required: true
          schema:
            type: string
          description: Task ID (same as the job ID on the website)
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppTaskDetailResponse'
components:
  schemas:
    AppTaskDetailResponse:
      allOf:
        - $ref: '#/components/schemas/OpenApiResponseBase'
        - type: object
          properties:
            data:
              $ref: '#/components/schemas/AppTaskDetailData'
    OpenApiResponseBase:
      type: object
      properties:
        code:
          type: integer
          example: 200
          description: Business code; 200 means success
        message:
          type: string
          example: ''
          description: Human-readable detail when `code` is not success
      required:
        - code
    AppTaskDetailData:
      type: object
      description: App-Synced job detail
      properties:
        taskId:
          type: string
          description: Task ID (same as the job ID on the website)
        taskType:
          $ref: '#/components/schemas/AppTaskType'
        status:
          type: string
          enum:
            - running
            - finished
            - failed
        editorUrl:
          type: string
          description: Website editor URL for this job (sign in with the same VMEG account)
        result:
          type: object
          properties:
            title:
              type: string
              description: Job name shown in **My tasks**
            userMessage:
              type: string
              description: >-
                Failure reason when `status` is `failed` (same text as the
                website)
            outputs:
              type: array
              items:
                $ref: '#/components/schemas/AppTaskOutput'
              description: Rendered outputs, newest first
    AppTaskType:
      type: string
      enum:
        - vt
        - at
      description: '`vt` video translation | `at` audio translation'
    AppTaskOutput:
      type: object
      properties:
        videoUrl:
          type: string
          description: Dubbed video URL (empty for audio translation)
        audioUrl:
          type: string
          description: Dubbed audio URL
        lipsyncVideoUrl:
          type: string
          description: Lip-sync video URL when lip sync is enabled
        thumbnailUrl:
          type: string
          description: Thumbnail URL
        createdAt:
          type: string
          description: Export time
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      description: >-
        Send your API Key in the **`Authorization`** header (`Bearer
        <api_key>`). See [Authentication](/guides/authentication).

````