latestOpenAPI 3.1.02026-08-08127304355.9 KB

69c553220183

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