v1HistoryHistoryItemIdGet method
Get History Item @param history_item_id History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs. @param xi-api-key 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.
Implementation
Future<chopper.Response<SpeechHistoryItemResponseModel>>
v1HistoryHistoryItemIdGet({
required String? historyItemId,
String? xiApiKey,
}) {
generatedMapping.putIfAbsent(
SpeechHistoryItemResponseModel,
() => SpeechHistoryItemResponseModel.fromJsonFactory,
);
return _v1HistoryHistoryItemIdGet(
historyItemId: historyItemId,
xiApiKey: xiApiKey?.toString(),
);
}