Pull Prompt
Used to pull the definition of a Prompt from Vellum.
Authentication
X-API-KEYstring
API Key authentication via header
Path parameters
id
The ID of the Prompt to pull from. Prompt Deployment IDs or names, Prompt Sandbox IDs, and Prompt Version IDs are currently supported.
Headers
X-API-Version
Accept
Set to 'application/yaml' to receive YAML response, otherwise JSON will be returned
Query parameters
prompt_variant_id
The ID of the Prompt Variant within a Prompt Sandbox to pull. Must be included if providing the ID of a Prompt Sandbox.
release_tag
The Release Tag to pull when providing a Prompt Deployment ID or name. Defaults to LATEST.
Response
ml_model
input_variables
parameters
blocks
settings
functions
Errors
400
Bad Request Error
404
Not Found Error