Embedded audit log
Your customers should be able to see what your agent did, and roll back what they don't want, without leaving your product.
Get the address
Each time the page is shown, ask for a new address:
POST /api/platform/v1/customers/acme-123/journal-pages
{ "user": "anna@acme.se" }
Answers { "url", "expires_at" }. The address works for an hour. user is your name for the person looking; the audit log shows it when they roll back something.
Show it
<iframe src="https://app.backa.ai/embed/…?tz=Europe/Stockholm" style="width:100%;height:640px;border:0"></iframe>
Use the url you got back. The page only loads inside your own return addresses, set in Platform → Settings. Add tz to show times in the person's time zone.
What your customer sees
Their audit log, the same as in the Backa app: each change with before and after, Rollback, Roll back all for a run, and conflicts. Open Platform → Customer view to see it yourself with example data.
When it expires
After an hour the page says it has expired. Reloading your page asks for a new address.