/** * This file was auto-generated by Fern from our API Definition. */ import * as ElevenLabs from "../../../../index"; /** * @example * {} */ export interface HistoryGetAllRequest { /** * How many history items to return at maximum. Can not exceed 1000, defaults to 100. */ page_size?: number; /** * 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. */ start_after_history_item_id?: string; /** * ID of the voice to be filtered for. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices. */ voice_id?: string; /** * Search term used for filtering history items. If provided, source becomes required. */ search?: string; /** * Source of the generated history item */ source?: ElevenLabs.HistoryGetAllRequestSource; }