Generate System Prompt
Data jobs
Generate system prompt
Generate a system prompt based on a use case description and optional source documents.
POST
Generate System Prompt
Generate a system prompt from user-provided instructions. This endpoint is not tied to a specific data job and can be called before or after job creation. The generated prompt can then be set on a
principle_files job via PATCH /v1/flow/data-jobs/{id}.
For usage in context, see Create instruction fine-tuning data.Body
application/json
Natural-language description of the task the generated dataset should support. Used to generate a system prompt for that dataset.
Summary of the source documents, incorporated into the generated system prompt so it reflects their content. If omitted, the system prompt is generated from instructions alone.
Response
Success
The response is of type Response Generate System Prompt V1 Flow Data Jobs Gen System Prompt Post · object.
Last modified on July 31, 2026