Follow the latest task logs while reading the tail

This commit is contained in:
WebUp Cloud committed 2026-11-07 18:48:36 +08:00
1 parent db82325ed7
commit 6c5224fb6f
3 files changed
+53 -8

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@
| --- | --- | --- |
| GET / POST | `/api/tasks` | 本人最近 100 条 / 创建并预留预算 |
| GET | `/api/tasks/{id}` | 本人任务、预算与消费,不返回租约令牌 |
| GET | `/api/tasks/{id}/events` | 本人任务事件(最多 1000 条) |
| GET | `/api/tasks/{id}/events` | 本人最近 1000 条任务事件,按时间从早到晚返回 |
| GET | `/api/tasks/{id}/messages` | 本人持久化消息与工具上下文 |
| POST | `/api/tasks/{id}/pause` | 暂停新的调用,保留剩余预算 |
| POST | `/api/tasks/{id}/resume` | PAUSED 任务重新入队 |