Skip to content

Realtime

realtime_archive_get

Read a channel's durably archived history from Postgres (survives the Redis hot window).

Tool

realtime_archive_get

Read a channel's durably archived history from Postgres (survives the Redis hot window).

Read a channel's durably archived history from Postgres (survives the Redis hot window). Offset-paginated: pass the returned next_offset as after_offset for the next page.

Behavior

HTTP
GET /realtime/archive

Arguments

NameTypeRequiredDescription
limitintegerNo description in the catalog.
channelstringChannel whose archived history to read
after_offsetstringReturn entries strictly after this offset (from a previous page)

Response

FieldTypeAlwaysDescription
channelstring
entriesarray
next_offsetstringPass as after_offset to fetch the next page; null = no more entries

Try it

Read a channel's durably archived history from Postgres (survives the Redis hot window).

When to use

Read a channel's durably archived history from Postgres (survives the Redis hot window). Offset-paginated: pass the returned next_offset as after_offset for the next page.

Example

Ask your agent something like this:

Read a channel's durably archived history from Postgres (survives the Redis hot window).

The agent will invoke realtime_archive_get with these arguments:

{
  "channel": "<channel>"
}

Esc

Start typing to search the docs.

navigateselect