prompts
List prompt versions
Changed onRetrieve all versions of a specific prompt with pagination support. Each prompt can have multiple versions with different configurations.
get/v1/prompts/{prompt_identifier}/versions
Request
- The document declares no server URL.
- Authnone declared
Path parameters
prompt_identifierstring required
The identifier of the prompt, i.e. name or ID.
Query parameters
cursorstring nullable
Cursor for pagination (base64-encoded promptVersion ID)
limitinteger
The max number of prompt versions to return at a time.
Response
A list of prompt versions with pagination information
Changes
- info
added the optional property
//to the response with the status
- info
- breaking
added to the
//response propertyoneOflist for the response status - warning
added the new
METAenum value to the//response property for the response status - info
added
metadiscriminator mapping keys to the//response property for the response status
- breaking