v4

OpenAPI 3.1.02026-07-313621,3961.8 MB
speech-history

Download History Items

Download one or more history items. If one history item ID is provided, we will return a single audio file. If more than one history item IDs are provided, we will provide the history items packed into a .zip file.

post/v1/history/download

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Request body

history_item_idsstring[] required

A list of history items to download, you can get IDs of history items and other metadata using the GET https://api.elevenlabs.io/v1/history endpoint.

output_formatstring nullable

Output format to transcode the audio file, can be wav or default.

Response

The requested audio file, or a zip file containing multiple audio files when multiple history items are requested.