GET Prompt from Registry
This endpoint enables queries on the prompt registry. You can query for a specific prompt version or get the currently live prompt. Optionally also pass in variables to fill the prompt value variables with data
promptset_id
when you click on Prompts
-> <Your_Prompt_Registry>
-> Prompt Registry ID
version
is provided the live
prompt in the registry is fetched. If there are no live
prompts an error
is thrown A complete list of supported parameters for the GET promptset
endpoint is provided below.
Id of the prompt registry. This can be found on the langtrace ui.
Prompt version to fetch from the prompt registry.
Variables to replace in the prompt string. Usage is as follows: variables.<variable_name>=<variable_value>&variables.<variable_name>=<variable_value>
…
Prompt registry id
Prompt registry name
Prompt registry description
Id of the project this registry is associated to
Id of the prompt
Prompt string
Variable names in the prompt value
Name of the model being used
Settings configured on the model
Prompt version
Indicates if the prompt is live. Only one prompt in the registry can be live
Tags associated with the prompt
If this prompt was traced using the langtrace sdk this will contain the id of the span otherwise it will be null
Notes associated with the prompt
ISO 8601 date-time string
ISO 8601 date-time string
ISO 8601 date-time string
ISO 8601 date-time string