Zep Memory

Interact with Zep Memory API for AI conversation memory management

Actions10

Message → Get

AI-generated

Summary

Retrieve a specified number of messages from a given session in Zep Memory.

Inputs

  • Session ID (required) — The unique identifier for the session to fetch messages from.
  • Limit — The number of messages to retrieve; defaults to 10 if not specified.

Output shape

a list of message objects retrieved from the specified session

The output is a JSON array representing the messages. The number of messages returned respects the 'Limit' input parameter. If an error occurs, it may be returned in the output as an error message.

Examples

Example 1: Get the 10 most recent messages from a session with ID 'abc123'.

Set 'Session ID' to 'abc123' and leave 'Limit' at the default 10.

Links

Discussion