Arquivar um armazenamento de memória
POST/v1/memory_stores/{memory_store_id}/archive
Arquivar um armazenamento de memória
Parameters
Returns
Arquivar um armazenamento de memória
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
beta_managed_agents_memory_store = anthropic.beta.memory_stores.archive("memory_store_id")
puts(beta_managed_agents_memory_store)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"
}