Prompts
✨ Refine a prompt version
Changed onpost/api/prompts/{prompt_id}/versions/{version_id}/refine
Request
- Base URLhttp://localhost:8000
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
prompt_idinteger required
version_idinteger required
Query parameters
asyncboolean
Whether to run the refinement asynchronously
Request body
Response
Refined prompt response
Changes
- info
the response optional property
/////became read-only for the status - info
the response property
/////became required for the status
- info
- breaking
the response property
//////////became nullable for the status - breaking
the response property
/////became nullable for the status - breaking
the
/////response's property type changed fromstringtonumber, and format from no format todoublefor status
- breaking