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"}

Changes

Changed in 1 of the 98 revisions of this API.11

    • added required request body

      request-body-added-required

    • added the media type application/json for the response with the status 200

      response-media-type-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 98 revisions, 1 has no diff computed.