mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-21 23:46:50 +00:00
docs: complete all English and Chinese documentation pages
Agent-Logs-Url: https://github.com/bytedance/deer-flow/sessions/a5f192e7-8034-4e46-af22-60b90ee27d40 Co-authored-by: foreleven <4785594+foreleven@users.noreply.github.com>
This commit is contained in:
committed by
JeffJiang
parent
716cae20c6
commit
814a488bcb
@@ -1,3 +1,5 @@
|
||||
import { Callout } from "nextra/components";
|
||||
|
||||
# API / Gateway Reference
|
||||
|
||||
<Callout type="info">
|
||||
@@ -39,21 +41,13 @@ http://localhost:2026/api
|
||||
|
||||
### Threads and memory
|
||||
|
||||
| Method | Path | Description |
|
||||
| -------- | ----------------------------- | -------------------------------------------------- |
|
||||
| `GET` | `/api/threads` | List threads |
|
||||
| `DELETE` | `/api/threads/{thread_id}` | Delete a thread |
|
||||
| `GET` | `/api/memory` | Get global memory data (context + facts) |
|
||||
| `DELETE` | `/api/memory` | Clear all memory data |
|
||||
| `POST` | `/api/memory/reload` | Reload memory from storage file |
|
||||
| `GET` | `/api/memory/facts` | (included in `/api/memory` response `facts` array) |
|
||||
| `POST` | `/api/memory/facts` | Create a memory fact |
|
||||
| `PATCH` | `/api/memory/facts/{fact_id}` | Update a memory fact |
|
||||
| `DELETE` | `/api/memory/facts/{fact_id}` | Delete a memory fact |
|
||||
| `GET` | `/api/memory/export` | Export memory data as JSON |
|
||||
| `POST` | `/api/memory/import` | Import and overwrite memory data |
|
||||
| `GET` | `/api/memory/config` | Get memory configuration |
|
||||
| `GET` | `/api/memory/status` | Get memory config + data in one request |
|
||||
| Method | Path | Description |
|
||||
| -------- | -------------------------- | ------------------------- |
|
||||
| `GET` | `/api/threads` | List threads |
|
||||
| `DELETE` | `/api/threads/{thread_id}` | Delete a thread |
|
||||
| `GET` | `/api/memory` | Get global memory |
|
||||
| `GET` | `/api/memory/{agent_name}` | Get agent-specific memory |
|
||||
| `DELETE` | `/api/memory` | Clear global memory |
|
||||
|
||||
### Extensions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user