SDKs

Pagination

memory.list follows next_cursor until has_more is false.

Each page is a list of rows. The client stops when has_more is false, the next cursor is empty, or a cursor repeats.

  • Python memory.list() yields each row. Optional limit defaults to 50, plus tier and search.
  • TypeScript memory.list() is an async generator. Optional limit defaults to 50, plus tier and search.
  • Java memory.list(limit) returns Iterator<MemoryRow>.
  • Go Memory.List(ctx, limit) returns iter.Seq2.
  • C# Memory.ListAsync() is an IAsyncEnumerable. Limit defaults to 50.
  • Rust memory().list(limit) returns a cursor iterator. Call async next until it returns None.