Retrieve a memory store
GET/v1/memory_stores/{memory_store_id}
Retrieve a memory store
Parameters
Returns
Retrieve a memory store
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
apiKey: process.env["ANTHROPIC_API_KEY"] // This is the default and can be omitted
});
const betaManagedAgentsMemoryStore = await client.beta.memoryStores.retrieve(
"memory_store_id"
);
console.log(betaManagedAgentsMemoryStore.id);Response 200
{
"id": "id",
"archived_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"metadata": {
"foo": "string"
},
"name": "name",
"type": "memory_store",
"updated_at": "2019-12-27T18:11:19.117Z"
}Returns Examples
Response 200
{
"id": "id",
"archived_at": "2019-12-27T18:11:19.117Z",
"created_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"metadata": {
"foo": "string"
},
"name": "name",
"type": "memory_store",
"updated_at": "2019-12-27T18:11:19.117Z"
}