Skip to main content
GET
/
media
/
{mediaAssetId}
Get media asset
curl --request GET \
  --url https://api.thehaystack.ai/v2/bevly/media/{mediaAssetId} \
  --header 'Authorization: Bearer <token>'
{
  "mediaAsset": {
    "id": 123,
    "itemId": 123,
    "contentType": "video",
    "status": "created",
    "duration": 123,
    "muxAssetId": "<string>",
    "muxPlaybackId": "<string>",
    "variantTypeId": 123,
    "variantType": {
      "id": 123,
      "name": "Sermon Video",
      "contentType": "video",
      "indexable": true,
      "displayOrder": 123,
      "collectionId": 123
    }
  }
}

Authorizations

Authorization
string
header
required

Enter your API token from the Haystack dashboard

Path Parameters

mediaAssetId
integer
required

Response

200 - application/json

Media asset details

mediaAsset
object