v77

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-045764591.5 MB
Prompts

✨ Try prompt on a single task

Run a single-task ephemeral prediction using the current (possibly unsaved) prompt.

No ModelRun is created and no Prediction is stored. The user iterates until happy, then saves and does a full Run.

post/api/prompts/{prompt_id}/versions/{version_id}/try-task

Path parameters

prompt_idinteger required
version_idinteger required

Request body

project_idinteger required
prompt_overridestring
task_idinteger required

Response

{"stackTrail":"components:schemas:TryTaskResponse:properties:parsed_result","oasType":"schema","type":"unknown","nullable":true}
raw_responsestring required
task_idinteger required
{"stackTrail":"components:schemas:TryTaskResponse:properties:usage","oasType":"schema","type":"unknown"}