v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
generate

Improve Prompt

Improve a dataset generation prompt with AI-generated expansions.

post/generate/improve-prompt

Request body

promptstring required

The user's original prompt to improve

data_typestring nullable

The dataset type (classification, entity_extraction, json_extraction)

Response

Successful Response

successboolean required
improved_promptstring required
summarystring required

Short summary of what was improved