Skip to main content
GET
Retrieve a prompt version

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

prompt_id
string
required

The unique identifier of the prompt

version_id
string
required

The unique identifier of the prompt version

Response

Prompt version retrieved successfully.

_id
string
required
prompt
PromptField · object
required

Prompt configuration with model and messages. Use this instead of prompt_config.

timestamp
string
required
created_by_id
string<uuid> | null
updated_by_id
string<uuid> | null
description
string | null

The prompt’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose

prompt_config
object
deprecated

[DEPRECATED] Use the prompt property instead. A list of messages compatible with the openAI schema.

metadata
object