Update Prompt

PATCH

Update a prompt.

is_prod tags the provided prompt as the production prompt within the prompt graph.

Path parameters

idstringRequired

The id of the prompt to update.

Request

This endpoint expects an object.
is_prodbooleanOptional

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

Errors