provider speech-history GET
/v1/history @utdk/elevenlabs
/v1/history List Generated Items
Returns a list of your generated audio.
- page_size query
- How many history items to return at maximum. Can not exceed 1000, defaults to 100.
- integer
- start_after_history_item_id query
- 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 query
- 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 query
- Model ID to filter history items by.
- date_before_unix query
- Unix timestamp to filter history items before this date (exclusive).
- date_after_unix query
- Unix timestamp to filter history items after this date (inclusive).
- sort_direction query
- Sort direction for the results.
- search query
- search term used for filtering
- source query
- Source of the generated history item
- xi-api-key header
- 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.
Try it
Authentication
Configure credentials for ElevenLabs API Documentation
Code snippet
Updates live as you fill in the form above.
TypeScript
import elevenlabs from '@utdk/elevenlabs';
await elevenlabs.getSpeechHistory({
"page_size": 100,
"sort_direction": "desc"
})