Skip to content

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

Update document about how to retrieve document settting and metatdata (#17356)

Wang Qi1f97823ee3bf
diff --git a/docs/references/http_api_reference.md b/docs/references/http_api_reference.md
index f18f860488..8966dae29f 100644
--- a/docs/references/http_api_reference.md
+++ b/docs/references/http_api_reference.md
@@ -1741,6 +1741,8 @@ Failure:
Lists documents in a specified dataset.
+To retrieve a specific document's settings and metadata, pass its document ID in the `id` query parameter: `/api/v1/datasets/{dataset_id}/documents?id={document_id}`.
+
#### Request
- Method: GET
@@ -4419,7 +4421,7 @@ Failure:
### Create session with agent
:::danger DEPRECATED
-This method is deprecated and not recommended. You can still call it but be mindful that calling `Converse with agent` will automatically generate a session ID for the associated agent.
+This method is deprecated and no longer recommended. Use `Converse with agent` (`POST /api/v1/agents/chat/completions`) instead; it automatically creates a session ID for the associated agent when `session_id` is not specified.
:::
**POST** `/api/v1/agents/{agent_id}/sessions`