Get Prompt By Name

GET

Retrieve a prompt by name, defaulting to the production prompt, unless a tag to select the prompt by is specified

Query parameters

namestringRequired

Name of the prompt.

tagstringOptional

Tag to select by. Defaults to selecting the production version

Response

This endpoint returns an object.
org_idstringOptional

The organization this resource belongs to.

user_idstringOptional

The user this record belongs to.

idstringOptional
namestringOptional
descriptionstringOptional
is_archivedbooleanOptional
prompt_templatestringOptional
model_paramsmap from strings to optional integers or doubles or stringsOptional
root_idstringOptional
parent_idstringOptional
merge_parent_idstringOptional
created_atdatetimeOptional
project_idintegerOptional

The ID of the project the prompt belongs to.

Errors