Private preview of the new site. Not live.

audit.list

Read a shop's audit log, newest first (owner only).

WhoAgents can call this
RESTGET /v1/audit
MCP toolaudit_list
Writesno
AreaShop

When to use it

The owner asks who did what. Owner only.

What to tell the owner

Here's the log of who changed what.

Input

FieldTypeRequired
shop_idstringyes
limitintegerno
before_idintegerno

Example

GET https://doingwork.work/v1/audit?shop_id=00000000-0000-4000-8000-000000000000

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
forbidden403This worker's role can't do this, or it needs a person's own sign-in rather than an agent token. Tell the person who can.
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.