Chat history

The Chat History endpoints let you list, retrieve, and store interaction logs for any replica. You can pull full histories across different platforms (web, embed, Discord and Telegram) or save new messages with their source metadata for context and tracking. These endpoints make it easy to:

  • List chat history for a replica by user or channel.
  • Filter history by source (web, embed, Discord, Telegram).
  • Create new history entries, including platform-specific details like Discord channel info or Telegram thread IDs.

This functionality is essential for integrating replicas into external systems, building analytics pipelines, or reviewing historical conversations for quality and performance monitoring.

For more structured information about chat history, see Conversations.