Reset the session's state and context, effectively clearing all stored data. This is useful when a user wants to start a new conversation without prior context.
Endpoint: DELETE /sessions/{session_id}/clear
DELETE /sessions/{session_id}/clear
Response:
jsonCopyEdit{ "id": "session_id_1", "status": "cleared" }
Last updated 8 months ago