cURL
Prompt Version
Get Prompt Version
Retrieves a specific prompt version by ID
GET
cURL
Retrieve a Prompt Version
This endpoint retrieves a specific prompt version by its ID.URL Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The ID of the prompt version to retrieve |
Examples
Response
The response includes the requested prompt version object with all its details.Path Parameters
Response
200 - application/json
Prompt version details
Unique identifier for the prompt version
UUID of the prompt this version belongs to
Title of the prompt version
Maximum string length:
256Configuration settings for the prompt version
Array of variables used in the prompt
Plain text content of the prompt version
Markdown content of the prompt version
Whether this version is promoted
Whether this version is a draft
Messages for chat-type prompts
- object
- object[]
Creation timestamp
Last update timestamp