activity.history
Gives the latest activity: paid messages, memberships, raids and follows.
JSON-RPC 2.0project.read
Each event has id (Lightair's number, in arrival order), ts_ms, platform, channel, kind (type: message, paid, membership, raid, follow, deletion or notice), and as they apply user, text, fragments, native_id (the platform's id), reply_to, paid, headline and deleted.
Parameters
- limitnumberHow many. Default 100.
Result
- itemsobject[]Activity items, oldest first.
From an AI agent
The MCP server's activity (action: history) reaches this method.
Example
{ "jsonrpc": "2.0", "id": 1, "method": "activity.history", "params": {}}lightair call activity.historyconst result = lightair.call("activity.history", {});