GET
/
assets
curl --request GET \
  --url https://api.argil.ai/v1/assets \
  --header 'x-api-key: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "type": "AUDIO",
    "fileUrl": "<string>"
  }
]

Returns an array of assets from your library that can be used in your videos.

Audio Assets

Audio assets from this endpoint can be used as background music in your videos. When creating a video, you can reference an audio asset’s ID in the backgroundMusic parameter to add it as background music. See the Create Video endpoint for more details.


Authorizations

x-api-key
string
header
required

API key to be included in the x-api-key header

Response

200
application/json
An array of audio assets
id
string
name
string
type
enum<string>
Available options:
AUDIO
fileUrl
string

URL to access the asset