Skip to main content
POST
Retrieves the prompt version assigned to a specific environment (e.g., production, staging, development).

Request Body

string
required
The unique identifier of the prompt
string
required
The environment to query (e.g., “production”, “staging”, “development”)

Response

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
The environment this version is assigned to
string
ISO timestamp when the version was created
string
S3 URL where the prompt body is stored