Prompt Datasets

Update Prompt Dataset

Modify a prompt dataset's name, description, or input schema. Use to evolve datasets as prompt requirements change.

patch/api/v2/projects/{project_id}/prompt-datasets/{dataset_id}

Path parameters

project_idstring required
dataset_idstring required

Request body

namestring nullable
descriptionstring nullable
input_namesstring[] nullable
media_input_namesstring[] nullable
support_historyboolean nullable
tagsstring[] nullable

Response

PromptDatasetResponse(dataset: shared.sqlalchemy.models.Dataset, tags: Optional[list['TagResponse']] = None)

idstring uuid required
namestring required
input_namesstring[] required
media_input_namesstring[] required
support_historyboolean required
descriptionstring nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.