List prompt versions
Fetches a list of a Prompt’s versions.
See our prompting guide for tips on crafting your system prompt.
Authentication
Path parameters
Query parameters
Specifies the maximum number of results to include per page, enabling pagination. The value must be between 1 and 100, inclusive.
For example, if page_size is set to 10, each page will include up to 10 items. Defaults to 10.
By default, restrict_to_most_recent is set to true, returning only the latest version of each prompt. To include all versions of each prompt in the list, set restrict_to_most_recent to false.
Response
The page number of the returned list.
This value corresponds to the page_number parameter specified in the request. Pagination uses zero-based indexing.
The maximum number of items returned per page.
This value corresponds to the page_size parameter specified in the request.
List of prompts returned for the specified page_number and page_size.

