v4

OpenAPI 3.0.02026-07-31257282489.4 KB
ContactMemory

Update a contact memory entry

Create or replace the memory entry with this name; the entry is upserted, so a PUT to a name that does not exist yet creates it. This is a full replace, not a patch: omitting description clears the stored description. Returns { ok: true, entries: <count after the write> }; invalid input returns 400 and an unknown session 404. Staff writes work even when the project's contact-memory feature is disabled.

put/sessions/{sessionId}/memory/{entryName}

Path parameters

sessionIdstring required
entryNamestring required

Headers

projectstring required

Request body

descriptionstring

Optional. Omitting it clears the stored description; this is a full replace, not a patch. Truncated to 240 characters.

contentstring required

Required. Truncated to 4000 characters.

Response

Ok

okboolean required
reason'disabled' | 'no_userId' | 'invalid_input' | 'session_not_found'

Only set on internal (non-admin) calls; never present in an admin API 200 response.

consolidationEnqueuedboolean
entriesnumber double