Skip to main content
DELETE
/
sessions
/
{sessionId}
/
memory
Clear all contact memory entries
curl --request DELETE \
  --url https://api.gleap.io/v3/sessions/{sessionId}/memory \
  --header 'Authorization: Bearer <token>' \
  --header 'project: <project>'
{
  "ok": true,
  "consolidationEnqueued": true,
  "entries": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.gleap.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Path Parameters

sessionId
string
required

Response

200 - application/json

Ok

ok
boolean
required
reason
enum<string>
Available options:
disabled,
no_userId,
invalid_input,
session_not_found
consolidationEnqueued
boolean
entries
number<double>