latestOpenAPI 3.1.02026-08-08127304355.9 KB

69c553220183

Prompt Datasets

Create Prompt-Level Dataset

Create a new dataset for prompt-level testing. Use to organize test cases for evaluating individual prompts.

post/api/v2/projects/{project_id}/prompt-datasets

Path parameters

project_idstring required

Request body

namestring required
descriptionstring nullable
input_namesstring[] nullable
media_input_namesstring[] nullable
support_historyboolean
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