List Generated Items
Changed onReturns a list of your generated audio (e.g. text to speech, speech to speech, Studio, dubbing). Music and SFX generations are not included and cannot currently be retrieved via the API.
Request
- Base URLhttps://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.elevenlabs.io/v1/history
- Authnone declared
Query parameters
How many history items to return at maximum. Can not exceed 1000, defaults to 100.
After which ID to start fetching, use this parameter to paginate across a large collection of history items. In case this parameter is not provided history items will be fetched starting from the most recently created one ordered descending by their creation date.
Voice ID to be filtered for, you can use GET https://api.elevenlabs.io/v1/voices to receive a list of voices and their IDs.
Model ID to filter history items by.
Unix timestamp to filter history items before this date (exclusive).
Unix timestamp to filter history items after this date (inclusive).
Sort direction for the results.
search term used for filtering
Source of the generated history item
Headers
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.
Response
Successful Response
Example response
{
"has_more": true,
"history": [
{
"character_count_change_from": 17189,
"character_count_change_to": 17231,
"content_type": "audio/mpeg",
"date_unix": 1714650306,
"history_item_id": "ja9xsmfGhxYcymxGcOGB",
"model_id": "eleven_multilingual_v2",
"request_id": "BF0BZg4IwLGBlaVjv9Im",
"settings": {
"similarity_boost": 0.5,
"stability": 0.71,
"style": 0,
"use_speaker_boost": true
},
"source": "TTS",
"state": "created",
"text": "Hello, world!",
"voice_category": "premade",
"voice_id": "21m00Tcm4TlvDq8ikWAM",
"voice_name": "Rachel"
}
],
"last_history_item_id": "ja9xsmfGhxYcymxGcOGB",
"scanned_until": 1714650306
}Changes
- warning
added the new
VoicePreviewenum value to the///response property for the response status
- warning
- warning
removed the optional property
//from the response with the status
- warning