speech-history

Download History Items

Changed on

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

Request

  • Base URL
    https://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.elevenlabs.io/v1/history/download
  • Auth
    none declared

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.

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.

Changes

    • info

      api operation id Download_history_items_v1_history_download_post removed and replaced with download_speech_history_items

    • info

      header request parameter xi-api-key list-of-types was widened by adding types null

    • info

      for the header request parameter xi-api-key, the type was generalized from string to no type

    • info

      request property list-of-types was widened by adding types null to media type application/json

    • info

      added the media type application/zip for the response with the status

    • info

      added the non-success response with the status