List memory stores
GET/v1/memory_stores
List memory stores
Parameters
Returns
List memory stores
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
apiKey: process.env["ANTHROPIC_API_KEY"] // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const betaManagedAgentsMemoryStore of client.beta.memoryStores.list()) {
console.log(betaManagedAgentsMemoryStore.id);
}Response 200
{
"data": [
{
"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"
}
],
"next_page": "next_page"
}Returns Examples
Response 200
{
"data": [
{
"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"
}
],
"next_page": "next_page"
}