class

Anthropic::BetaMemories

Inherits Reference < Object

Memories API resource (beta)

Constructors

new(client : Client)
Source

Instance methods

create(memory_store_id : String, path : String, content : String, betas : Array(String) = [] of String) : BetaManagedAgentsMemory

Create a memory in a store

Source
delete(memory_store_id : String, memory_id : String, betas : Array(String) = [] of String) : BetaManagedAgentsDeletedMemory

Delete a memory

Source
list(memory_store_id : String, limit : Int32 = 20, page : String | Nil = nil, betas : Array(String) = [] of String) : BetaMemoryListResponse

List memories in a store

Source
retrieve(memory_store_id : String, memory_id : String, betas : Array(String) = [] of String) : BetaManagedAgentsMemory

Retrieve a memory

Source
update(memory_store_id : String, memory_id : String, content : String, betas : Array(String) = [] of String) : BetaManagedAgentsMemory

Update a memory

Source