Skip to main content

Make Platform Memory Operations Smarter

Prerequisites
  • Platform workspace with API key
  • Python 3.10+ and Node.js 18+
Need a refresher on the core concepts first? Review the Add Memory overview, then come back for the advanced flow.

Install and authenticate

1

Install the SDK

2

Export your API key

3

Create an async client

Add memories with metadata

1

Record conversations with metadata

Successful calls return memories tagged with the metadata you passed. In the dashboard, verify the trip=japan-2025 tag exists on the new memory.

Retrieve and refine

1

Filter by metadata + reranker

2

Update a memory inline

Clean up

1

Delete scoped memories

Quick recovery

  • Empty results with filters: log filters values and confirm metadata keys match (case-sensitive).
Metadata keys become part of your filtering schema. Stick to lowercase snake_case (trip_id, preferences) to avoid collisions down the road.

Tune Metadata Filtering

Explore Reranker Search