Prompts
✨ Try prompt on a single task
Changed onRun 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
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/api/prompts/{prompt_id}/versions/{version_id}/try-task
- AuthAPI key in header Authorization
Path parameters
prompt_idinteger required
version_idinteger required
Request body
Response
Changes
- breaking
added required request body
- info
added the media type
application/jsonfor the response with the status
- breaking