End chat session
DELETE
/api/v1/chat/session
const url = 'http://localhost:11044/api/v1/chat/session';const options = {method: 'DELETE', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:11044/api/v1/chat/session \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Ends the current chat session and clears state. A new session will be created on next SSE connect.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Session ended
Media type*/*
object
key
additional properties
string

