Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

docs(api): use the memory update field names the route reads (#19279)

MarMar Labs0cd0a7af94f6
diff --git a/docs/references/http_api_reference.md b/docs/references/http_api_reference.md
index 1139428ecf..cfce337b4a 100644
--- a/docs/references/http_api_reference.md
+++ b/docs/references/http_api_reference.md
@@ -5572,13 +5572,13 @@ Updates configurations for a specified memory.
- Body:
- `"name"`: `string`
- `"avatar"`: `string`
- - `"permission"`: `string`
+ - `"permissions"`: `string`
- `"llm_id"`: `string`
- `"description"`: `string`
- `"memory_size"`: `int`
- `"forgetting_policy"`: `string`
- `"temperature"`: `float`
- - `"system_promot"`: `string`
+ - `"system_prompt"`: `string`
- `"user_prompt"`: `string`
##### Request example
@@ -5611,7 +5611,7 @@ curl --location --request PUT 'http://{address}/api/v1/memories/d6775d4eeada11f0
- Maximum 65535 characters
-- `permission`: (*Body parameter*), `enum<string>`, *Optional*
+- `permissions`: (*Body parameter*), `enum<string>`, *Optional*
The updated memory permission. Available options:
diff --git a/docs/references/python_api_reference.md b/docs/references/python_api_reference.md
index 5465826df3..482462f953 100644
--- a/docs/references/python_api_reference.md
+++ b/docs/references/python_api_reference.md
@@ -2318,7 +2318,7 @@ Configurations to update. Available configurations:
- Maximum 65535 characters
-- `permission`: `enum<string>`, *Optional*
+- `permissions`: `enum<string>`, *Optional*
The updated memory permission. Available options: