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
| Name | Type | About |
|---|---|---|
site_idrequired | string | The id of the site. list_sites gives the ids of your sites. |
limit | integer | How many entries to return. |
before | string | Returns entries older than this time, to page back. |
before_id | string | With before: the last entry's id, so entries at the same time aren't skipped. |
cursor | string | next_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
- What visitor actions areNamed, limited changes people make from a page.
- Tick, edit, add and deleteThe kinds of action, and when to use each.