# Get assets

Get a paginated list of your assets.
This endpoint allows you to fetch all your assets with basic metadata, including the asset's current status and associated dubbings.
For available versions of each asset use the [Get an asset](/apis/assets/assets-get_asset) endpoint.

Endpoint: GET /v1/assets/
Security: api_key

## Security:

  - `api_key` (unknown)
    http bearer

## Query parameters:

  - `skip` (integer)

  - `limit` (integer)

## Response 200:

  - `200` (unknown)
    Asset found successfully

## Response 200 fields (application/json):

  - `assets` (array, required)

  - `assets.asset_id` (string, required)

  - `assets.name` (string, required)

  - `assets.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.

  - `assets.created_at` (string, required)

  - `assets.status` (string, required)
    Enum: "Dubbing", "PendingReview", "Ready", "Failed"

  - `assets.duration` (any, required)
    Duration of the source video in seconds. The field may be `null` while the asset is processing.

  - `assets.error` (any)

  - `assets.error.error_code` (any, required)
    If the asset's status is `Failed`, this field will contain additional error information.
Common error codes for assets are:
- `invalid_input`: The input provided is invalid. Ensure all provided fields match the asset's properties.
- `unsupported_media`: We didnt find a valid video stream in the media file.
- `empty_transcript`: No spoken content was identified in the uploaded video.
- `missing_audio_track`: No audio tracks were found in the source video.
- `video_duration_limit_reached`: The video duration limit for your account has been reached.
- `video_size_limit_reached`: The file size of the requested video has exceeded the allowed size limit.
- `time_out_of_range`: The provided start_time or end_time is out of video range. Ensure that the timestamps are within the video duration.
- `voice_over_library_required`: Voice-over is enabled but no voice_library_id was provided. Set voice_library_id to the library voice that should narrate the asset (list available voices with the GET /voices endpoint).
- `voice_over_with_lips_not_allowed`: Voice-over cannot be combined with lip correction. Set auto_generate to no_lips (or off) when voice_over is enabled.

  - `assets.error.detail` (string, required)

  - `assets.source_video_url` (any)

  - `assets.thumbnail_url` (any)

  - `assets.languages` (array, required)

  - `assets.languages.dubbing_id` (any, required)

  - `assets.languages.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.

## Response 400:

  - `400` (unknown)
    The request could not be processed due to invalid input

## Response 400 fields (application/json):

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

## 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 500:

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

## Response 500 fields (application/json):

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

