Page history by message id (closes #125) #136

Merged
clawbot merged 1 commits from issue-125-history-paging into next 2026-10-20 11:58:40 +02:00
1 Commits
Author SHA1 Message Date
clawbot e59406fb43 Page history by message id (closes #125)
check / check (push) Waiting to run
GET /api/v1/history took a database id for before, but history
responses carry only each message's id, so a client had nothing to
pass for the next page. before now takes that id: the server finds
the message among those sent to the target and returns the page
older than it. An id with no such message gets 400 "unknown before
id" instead of a silent full page. A handler test pages back through
a channel using only ids from earlier responses, and README.md's
history section describes the new parameter.

Model: opus-5-5
2026-10-20 09:39:27 +00:00