pagehive

action_log

Read the visitor action log, newest first.

Visitor actionsRead-onlyAll plans

What it does

Read the visitor action log, newest first. Each entry has op (insert for an add, delete for a delete, update otherwise), the actor, member_id, agent ({ agent_id, name }, the current name) when one of your agents ran it as its member, the share link id when one was used, a hash of the IP, the row, and the old and new value of each column whose value changed. A delete keeps the row's old values. before and before_id page backward.

Plans

Works on every plan: Free, Basic, Pro and Ultra.

Parameters

NameTypeAbout
site_idrequiredstringThe id of the site. list_sites gives the ids of your sites.
limitintegerHow many entries to return.
beforestringReturns entries older than this time, to page back.
before_idstringWith before: the last entry's id, so entries at the same time aren't skipped.
cursorstringnext_cursor from the previous page of this tool, to read the next page. Send the other arguments as on the first call; leave out the paging arguments the cursor replaces.

Example

Call action_log with these arguments:

{
  "site_id": "01a1…",
  "limit": 50
}

Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.

Related guides