Prompt Version
List Prompt Versions
Returns a list of prompt versions for a specific prompt
GET
Retrieve Prompt Versions
This endpoint retrieves all prompt versions associated with a specific prompt ID.
Required Parameters
Parameter | Type | Description |
---|---|---|
promptId | string (UUID) | The ID of the prompt to retrieve versions for |
Examples
Response
The response includes an array of prompt version objects associated with the specified prompt ID.
Query Parameters
Response
200 - application/json
List of prompt versions
The response is of type object[]
.