Playlists

Get playlist

GET
https://api.tunio.ai/v1/playlists/{playlist_id}

Returns one playlist of the account by UUID.

路径参数

名称类型说明
playlist_idRequiredstringPlaylist UUID

响应

名称类型说明
playlistobject
The playlist.
bpm_frominteger
Lower BPM bound of a dynamic playlist; null when not set.
bpm_tointeger
Upper BPM bound of a dynamic playlist; null when not set.
collectionobject
Collection the playlist draws from; omitted when collection_id is null.
collection_idstring
UUID of the music collection the playlist draws tracks from; null when it uses the whole catalog.
cover_idstring
UUID of the cover image; null when the playlist has none.
created_atstring
Creation time, RFC 3339 in UTC.
genresarray
Genre filter of a dynamic playlist, as genre names from GET /v1/genres. Empty when not set.
internal_namestring
Internal name used by Tunio staff; usually null.
intro_assetobject
Intro asset of the playlist; omitted when intro_asset_id is null.
intro_asset_idstring
UUID of the intro audio asset; null when the playlist has none.
is_instrumentalboolean
Instrumental filter: true for instrumental tracks only, false for vocal tracks only. Omitted when not set.
is_open_musicboolean
Whether this is an open-music playlist: tracks without watermarks that play directly and can be started or paused at will. Such playlists are left out of GET /v1/playlists?allow_insertion=true.
is_publicboolean
Whether the playlist is published in the public catalog. Playlists created through the API are never public.
kindstring
"dynamic" (tracks are picked by the filters) or "static" (a fixed track list).
music_languagesstring
Comma-separated language codes of the vocals a dynamic playlist selects, for example "en,es"; null when not set.
music_typestring
Music source: "ai" (AI-generated), "human" (human-made) or "mixed".
original_playlist_idstring
UUID of the playlist this one was copied from; null for an original playlist.
playlist_idstring
Playlist UUID.
titlestring
Playlist title.
total_music_durationinteger
Total duration of the playlist's tracks, in seconds.
tracks_countinteger
Number of tracks in the playlist.
userobject
Owner of the playlist.
successboolean
Always true.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.