Get user media asset
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
user_media_asset_id
uuid
required
The unique identifier of the media asset to retrieve.
Response Codes
200 Success
Returns the media asset details.
Object
- id: string (required)
- title: string (required)
- contentType: string (enum, required)
- status: string (enum, required)
- metadata: object (required)
- detectedLanguage: string | null
Defaults to null. A class for representing languages according to the BCP-47 standard. The standard is followed very loosely, only primary language and region sub-tags are implemented right now. The display names of the languages are derived from the enum names, with the primary language name capitalized and the region name capitalized and enclosed in parentheses if present. If you need to customize the display name for a specific language, you can override the override_display_name method.
af, sq, am, ar, ar-DZ, ar-BH, ar-EG, ar-IQ, ar-JO, ar-KW, ar-LY, ar-MA, ar-QA, ar-SA, ar-SY, ar-TN, ar-AE, ar-YE, hy, as, az, ba, eu, be, bn, bs, br, bg, my, ca, zh, zh-CN, zh-HK, zh-TW, hr, cs, da, nl, nl-BE, nl-NL, en, en-AU, en-CA, en-GB, en-HK, en-IN, en-IE, en-KE, en-MX, en-NZ, en-NG, en-PH, en-SG, en-ZA, en-TZ, en-US, et, fo, fil, fi, fr, fr-BE, fr-CA, fr-FR, fr-CH, gl, ka, de, de-AT, de-DE, de-CH, el, gu, ht, ha, haw, he, hi, hu, is, id, ga, it, ja, jw, kn, kk, km, ko, lo, la, lv, ln, lt, lb, mk, mg, ms, ml, mt, mi, mr, mn, ne, no, nb, nn, oc, or, pa, ps, fa, pl, pt, pt-BR, pt-PT, ro, ru, sa, sr, sn, sd, si, sk, sl, so, es, es-AR, es-BO, es-CL, es-CO, es-CR, es-CU, es-DO, es-EC, es-SV, es-GQ, es-GT, es-HN, es-LA, es-MX, es-NI, es-PA, es-PY, es-PE, es-PR, es-ES, es-US, es-UY, es-VE, su, sw, sv, tl, tg, ta, ta-IN, ta-SG, ta-LK, tt, te, th, bo, tr, tk, uk, ur, uz, vi, cy, yi, yo, zu, und
- errorCode: string | null
Defaults to null. Possible values: asset_upload, language_detect, unknown
Error Codes
400: Bad Request. Asset is not a valid user uploaded asset.404: Not Found. Asset does not exist or user does not have access.default: Unexpected Server error.
Example Request
curl --request GET \
--url https://api.synthesia.io/v2/assets/user_media_asset_id \
--header 'accept: application/json'
Example Response
{
"id": "string",
"title": "string",
"contentType": "image/webp",
"status": "awaiting_upload",
"metadata": {
"detectedLanguage": "af"
},
"errorCode": "asset_upload"
}