Skip to main content
POST
Retrieves all versions of a specific prompt, optionally filtered by major version.

Request Body

string
required
The unique identifier of the prompt
number
Filter versions by specific major version number

Response

Returns an array of prompt version objects.
string
Unique identifier of the prompt version
string
The model specified in the prompt
string
The ID of the parent prompt
number
The major version number
number
The minor version number
string
The commit message for this version
string
ISO timestamp when the version was created
string
S3 URL where the prompt body is stored (if applicable)