Get history item

Retrieves a history item.

Path parameters

history_item_idstringRequired

ID of the history item to be used. You can use the Get generated items endpoint to retrieve a list of history items.

Headers

xi-api-keystringRequired

Response

Successful Response
history_item_idstring
The ID of the history item.
date_unixinteger
Unix timestamp of when the item was created.
character_count_change_frominteger
The character count change from.
character_count_change_tointeger
The character count change to.
content_typestring
The content type of the generated item.
stateany
request_idstring or null
The ID of the request.
voice_idstring or null
The ID of the voice used.
model_idstring or null
The ID of the model.
voice_namestring or null
The name of the voice.
voice_categoryenum or null
The category of the voice. Either 'premade', 'cloned', 'generated' or 'professional'.
Allowed values:
textstring or null
The text used to generate the audio item.
settingsobject or null
The settings of the history item.
feedbackobject or null
Feedback associated with the generated item. Returns null if no feedback has been provided.
sourceenum or null

The source of the history item. Either TTS (text to speech), STS (speech to text), AN (audio native), Projects, Dubbing, PlayAPI, PD (pronunciation dictionary) or ConvAI (conversational AI).

alignmentsobject or null
The alignments of the history item.
dialoguelist of objects or null

The dialogue (voice and text pairs) used to generate the audio item. If this is set then the top level text and voice_id fields will be empty.

Errors