GET
/
v1
/
history

Headers

xi-api-key
string

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

Query Parameters

page_size
integer
default: 100

How many history items to return at maximum. Can not exceed 1000, defaults to 100.

start_after_history_item_id
string

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
string

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.

search term used for filtering

source
enum<string>

Source of the generated history item

Available options:
TTS,
STS

Response

200 - application/json
history
object[]
required
last_history_item_id
string
required
has_more
boolean
required