cURL
curl --request POST \ --url https://cite.petal.org/api/ai/session/{ai_session_id}/reset \ --header 'Authorization: Bearer <token>'
{ "success": true }
Reset an AI Session by deleting all existing chat messages in it, restoring it to a blank slate
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique ID of the AI Session
OK