AgenTrux

Publish and read events on AgenTrux topics

Read Events

AI-generated

Summary

Read a page of events from a selected AgenTrux topic, with optional cursor pagination, sorting, type filtering, and exclusion of events published by the same credential.

Inputs

  • Topic Name or ID (required) — Topic to read from; select it from the available topics or provide its ID.
  • Limit — Maximum events to return per read, from 1 to 100; defaults to 50.
  • Order — Sort events oldest first (asc, the default) or newest first (desc).
  • After Cursor — Event ID cursor from a previous read; requests events after that event.
  • Event Type Filter — When provided, returns only events of this type.
  • Exclude Own Events — When enabled, asks the server to filter out events published by this credential.

Output shape

A list of event items, one per returned event.

Each event is returned as an item's JSON data. If the read returns no events, the node emits one item with { "_empty": true, "next": ..., "ttl_expired": ... }; ttl_expired indicates the cursor has expired. The response does not include the page's next cursor when events are returned.

Links

Discussion