Stop the agent without closing the session
Changed onHalts the current run. The session survives, the project stays open, and the conversation so far is kept — so you can send a new prompt afterwards without starting over. Use deleteSession when you actually want to finish.
Stopping when nothing is running is not an error; stopped is false and the status is whatever it already was. That makes this safe to call defensively, for instance when abandoning a run you may or may not have started.
Request
- Base URLhttps://davinci-app.com
- AuthHTTP bearer
Response
The run was halted, or there was none to halt.
Changes
- info
the
response property const valuefalsewas added for the status - info
the
response property const valuefalsewas added for the status - info
the
response property const valuefalsewas added for the status - info
the
response property const valuefalsewas added for the status - info
the
response property const valuefalsewas added for the status - info
the
response property const valuefalsewas added for the status
- info
- info
endpoint added
- info