Sessions & Agents
Memory Operations

Store multiple memories in batch (Session-based)

Accepts up to 100 memories per request. Leverages Moorcheh's batch upload capability for efficient storage.

Requires:

  • X-Session-Token: {session_token}

The session must be for the specified agent_id.

post/api/v2/agents/{agent_id}/batch-remember

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

agent_idstring required

Headers

x-session-tokenstring nullable
authorizationstring nullable
X-Api-Keystring nullable

Cookies

memanto_session_tokenstring nullable

Request body

sourcestring nullable

Optional calling tool or writer slug (e.g. 'cursor', 'copilot', 'claude-code') to attribute the batch write and default item sources when omitted.

Response

Successful Response

agent_idstring required
session_idstring required
namespacestring required
total_submittedinteger required
successfulinteger required
failedinteger required

Changes

    • info

      added the new optional request property source

    • info

      added the new optional request property memories/items/expired_at

    • info

      added the new optional request property memories/items/expired_by

    1 more change in this revision