Prompt Registry APIs
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
You can find the
promptset_id
when you click on Prompts
-> <Your_Prompt_Registry>
-> Prompt Registry ID
If no
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
ISO 8601 date-time string
ISO 8601 date-time string