# Get a dubbing version

Retrieve detailed information about a specific dubbing version by providing its unique Version ID.
#### Response Details
The response includes metadata about the version, such as its current status and progress in the dubbing process.
The `studio_url` field provides a link to **Panjaya Dubbing Studio**, where you can fine-tune the dubs further.
This URL is not signed and requires authentication. Use the `/studio_url` endpoint (as described below) to pre-sign a
URL.
If the final video has been successfully generated, the response will also include a signed URL in the `result_url`
field. This URL allows you to securely download the fully synchronized video, complete with lip and body language alignment.
A signed URL for the dubbed audio track is also returned in the `result_audio_url` field.
Both `result_url` and `result_audio_url` are short-lived signed URLs that expire **5 days** after the response is
issued. Re-call this endpoint to obtain a fresh URL once the previous one has expired.
#### Version Status
The `status` field indicates the current state of the version. Possible values include:
- `NotReady`: The version is currently being prepared for editing.
- `ReadyToEdit`: The version is ready for editing and refinement in the Panjaya Dubbing Studio web interface.
- `Generating`: The version is being processed to generate the final video. Editing is temporarily disabled during this stage.
- `Completed`: The version has been successfully generated and is ready for download.
- `Failed`: An error occurred during the version processing.

#### Version failures
If the version status is `Failed`, the `error` field in this endpoint's response will contain helpful information for identifying the issue.
It contains an error code and a detailed error message to help you understand and resolve the issue. Here is a list of common error codes for versions:
- `general_error`: A general error occurred.
- `insufficient_balance`: Your organization's balance is insufficient to perform this operation.

Endpoint: GET /v1/versions/{version_id}
Security: api_key

## Description:

  - `Response Details` ()
    The response includes metadata about the version, such as its current status and progress in the dubbing process. The studio_url field provides a link to Panjaya Dubbing Studio, where you can fine-tune the dubs further.This URL is not signed and requires authentication. Use the /studio_url endpoint (as described below) to pre-sign aURL. If the final video has been successfully generated, the response will also include a signed URL in the result_urlfield. This URL allows you to securely download the fully synchronized video, complete with lip and body language alignment.A signed URL for the dubbed audio track is also returned in the result_audio_url field. Both result_url and result_audio_url are short-lived signed URLs that expire 5 days after the response isissued. Re-call this endpoint to obtain a fresh URL once the previous one has expired.

  - `Version Status` ()
    The status field indicates the current state of the version. Possible values include: NotReady: The version is currently being prepared for editing.ReadyToEdit: The version is ready for editing and refinement in the Panjaya Dubbing Studio web interface.Generating: The version is being processed to generate the final video. Editing is temporarily disabled during this stage.Completed: The version has been successfully generated and is ready for download.Failed: An error occurred during the version processing.

  - `Version failures` ()
    If the version status is Failed, the error field in this endpoint's response will contain helpful information for identifying the issue. It contains an error code and a detailed error message to help you understand and resolve the issue. Here is a list of common error codes for versions: general_error: A general error occurred.insufficient_balance: Your organization's balance is insufficient to perform this operation.

## Security:

  - `api_key` (unknown)
    http bearer

## Path parameters:

  - `version_id` (string, required)

## Response 200:

  - `200` (unknown)
    Version found

## Response 200 fields (application/json):

  - `asset_id` (string, required)

  - `dubbing_id` (string, required)

  - `version_id` (string, required)

  - `name` (string, required)

  - `studio_url` (string, required)

  - `locale` (string, required)
    A locale code of [a supported locale](#section/Languages-support). If the locale is not supported, an error response of status 400 will be returned.

  - `created_at` (string, required)

  - `status` (string, required)
    Enum: "NotReady", "ReadyToEdit", "Generating", "Completed", "Failed"

  - `result_url` (any)

  - `result_audio_url` (any)

  - `result_generated_at` (any)

  - `voice_over` (boolean)
    Whether the version was created with voice-over enabled, keeping the original audio under the dubbed vocals.

  - `error` (any)

  - `error.error_code` (any, required)

  - `error.detail` (string, required)

## Response 401:

  - `401` (unknown)
    The API key could not be validated

## Response 401 fields (application/json):

  - `detail` (string, required)
    A full description of the error.

## Response 404:

  - `404` (unknown)
    The requested resource was not found

## Response 404 fields (application/json):

  - `detail` (string, required)
    A full description of the error.

## Response 500:

  - `500` (unknown)
    An internal server error occurred

## Response 500 fields (application/json):

  - `detail` (string, required)
    A full description of the error.

