Atualizar um armazenamento de memória
POST/v1/memory_stores/{memory_store_id}
Atualizar um armazenamento de memória
Parameters
Returns
Atualizar um armazenamento de memória
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.memorystores.BetaManagedAgentsMemoryStore;
import com.anthropic.models.beta.memorystores.MemoryStoreUpdateParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
BetaManagedAgentsMemoryStore betaManagedAgentsMemoryStore = client.beta().memoryStores().update("memory_store_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"
}