Emergency

In urgent situations or outages, you can send a text message to our emergency line

Emergency line (text message only)

+45 29 70 15 95

Send a text message with the following information:

  • Your name and webshop
  • A description of the problem

Note: This service is only for critical situations where your webshop is down or has serious problems. For regular support, please use our normal support channels.

AI audit log: see what AI has done in your store

The audit log shows every action an AI assistant has performed in your online store. See what is logged, how to filter, how to undo changes, and how to use the log when something goes wrong.

Reading time: about 23 minutes
Store owner

When you let an AI assistant run your online store, one question comes up right away: what has it actually done? The AI audit log answers that. It records every single action an AI assistant performs, or tries to perform, in your store: when it happened, which function was used, what data was sent along, whether it succeeded, what it may have triggered, and how long it took.

The log is kept automatically. There is nothing to turn on, and you cannot turn it off. As soon as you have connected Claude or another AI assistant to your store, the entries start coming in. If you have not gotten started yet, begin with Control the shop with AI.

The value is simple: the log turns the AI into something you can keep an eye on instead of something you have to trust blindly. If a price changes and you cannot remember why, it takes less than a minute to check whether it was the AI. And if the AI has changed a theme setting, a shipping price, a store setting, or your stylesheet, you can undo the change directly from the log.

How to find the audit log

  1. Go to Integrations in the menu, and click Control the shop with AI.
  2. At the bottom of the page, you can see how many calls have been logged. Click the View audit log link next to it.
  3. The page is called MCP Audit Log. The Back to overview link at the top takes you back again.

Only users with the Full access or Developer role can see the log.

MCP stands for Model Context Protocol, the open standard the AI assistant uses when it talks to your store. An "MCP client" is simply the app you chat in, for example Claude.

The four numbers at the top of the page

  • In total. How many actions have been logged in the store, regardless of status.
  • Succeeded. How many were carried out without problems.
  • Failed. How many went wrong along the way. If the store's rules have also rejected some calls, it says Failed / rejected with two numbers: first the failed calls, then the rejected ones.
  • Last Activity. How long ago the AI last touched the store, shown as "3 days ago". Hover over the text to see the exact time.

The number of failed calls is the one to watch. Rejected calls are usually harmless, because they were stopped before anything was changed, for example because the AI tried something in an area you have turned off. If the number of errors suddenly grows, the log is the place to look.

What the log shows for each call

The list has six columns, with the newest actions at the top:

  • Time. Shown as "6 days ago". Hover over it to see the date and time.
  • User. The user who connected the AI assistant to the store. If there is a dash, the call came from an API key that does not belong to a specific user.
  • Tool. The name of the function the AI used, for example product_update or order_create. The names are in English and built as area plus action, so voucher_create means "create discount code".
  • Arguments. The data the AI sent along. You see a short preview and can click to expand the whole thing.
  • Status. OK, Error, Rejected, or Awaiting approval. See the explanation below.
  • Duration. How many milliseconds the store spent on the action. The number is mostly interesting when something suddenly takes much longer than usual.

If you click the text under Arguments, the full content expands, and you can read exactly what the AI asked the store to do. If it wrote a blog post, the whole text is there. If it changed a price, the amount is there. If the call failed or was rejected, the reason appears in a red box right below when you expand it. The list shows 50 log entries at a time, so the filters are the fastest way forward if you have many entries.

The four statuses

  • OK. The call was carried out.
  • Error. The call was attempted but went wrong in the store, for example because a required field was missing. The error message is in the red box when you expand the row.
  • Rejected. The store's rules stopped the call before anything was changed. This happens, for example, if the area is turned off or set to Read Only, if the connection's access level does not match the tool, or if the AI has made too many changes in a short time. Hover over the badge for a short explanation.
  • Awaiting approval. You have turned on Extra Security, and the change is waiting for you to approve it. Click the badge to open the change and approve or reject it. This requires the Full access role. If you approve, the actual execution is written to the log as a new line with its own status.

Side effects: what the call also triggered

Some actions do more than what you asked for. If the AI sets an order to Sent, the customer may get an email, the payment may be captured, and the order may be passed on to your accounting software. If it corrects a stock quantity, a stock entry is created. When you expand a row, this kind of thing is listed under Side effects with a count, for example "1 customer email queued" or "3 stock entries".

The side effects you may see include queued emails, payment captures, canceled payments, transfers to accounting software, bookings with shipping carriers, webhook events to your integrations, and stock entries. "Queued" means the store sends it right after, so there is no time to stop it from the log.

Side effects cannot be undone. An email that has been sent stays sent. If you want the AI to wait for your approval before doing that kind of thing, turn on Extra Security.

Undo a change made by the AI

If the AI has changed one of the following, there is an Undo button at the far right of the row:

  • Theme settings, for example colors and fonts.
  • Shipping prices for a shipping method in a country.
  • The store's settings, for example the store name, search, and order emails.
  • Your stylesheet, meaning the custom CSS that sits on top of the theme.

When you click Undo, the values are set back to what they were before the change. If the AI changed several things in the same call, for example an entire color palette, they are undone together. Once that is done, "The change has been undone." appears at the top of the page, and the button disappears from the row.

Undo only works if nobody has changed the values since. If you, a colleague, or the AI itself has edited one of them afterward, nothing is changed, and you get a message saying that something has been changed again since. This ensures that a newer change is never overwritten. In that case, you need to correct it manually in the admin.

Other changes, for example to products, orders, customers, shipping methods, weight ranges, and theme texts, cannot be undone from the log. You can undo a change for as long as the log entry exists, which means up to 90 days. Only users with the Full access role can undo. With the Developer role, you can view the log but not undo.

What is logged, and what is not

An entry is written every time:

  • An AI assistant fetches data, for example an order list or sales statistics.
  • An AI assistant changes something, for example creates a product, changes a price, or updates an order.
  • An attempt is rejected. Blocked calls are also logged, along with the reason, so you can see that the AI tried and why it was not allowed.
  • A change is put up for approval because Extra Security is turned on. When you approve it, the execution is logged as another entry.

The following, on the other hand, is not included:

  • Your own clicks in the admin. The log is only about the AI assistant. Sensitive actions in the admin, for example refunds, exports, deletions, and role changes, can instead be seen by the company administrator in the Activity Log, which you open with the Activity Log button at the top of the Users page under Company. The AI's own actions, however, appear only here and not in the Activity Log.
  • Regular API integrations such as shipping or accounting systems. They have their own log per key under Integrations → API access. See REST API.
  • The conversation itself. The log stores the actions, not what you and the AI wrote to each other.
  • The AI help in the text editor. It writes text suggestions for you and does not change anything in the store on its own.

How to filter the log

  • Tool. A dropdown with All Tools at the top. It only shows the functions that have actually been used in your store, so you do not have to search through hundreds of names you have never touched.
  • Status. Choose between All, Succeeded, Failed, Rejected, and Awaiting approval.
  • Filter applies your selection. Reset only appears when you have an active filter, and it clears both fields again.

The filters work together. If you only want to see product updates that went wrong, choose product_update under Tool and Failed under Status. If nothing matches, the page says so and offers a link to reset the filters.

Use the log when something has gone wrong

  1. Open the log and look at Last Activity. If the time does not match when the problem started, the AI most likely has nothing to do with it.
  2. Set Status to Failed, and click Filter. If the AI says it was not allowed to do something, choose Rejected instead.
  3. If you know the area, also choose a tool, for example product_update for a wrong price or order_update for an order.
  4. Expand Arguments. Now you can read exactly what was sent. The reason is in the red box, and any side effects are listed below it.
  5. If it is a theme setting, a shipping price, a store setting, or your stylesheet, you can click Undo. Everything else you correct in the regular admin.

The rejections you will see most often

When the store's rules stop a call, the row shows Rejected, and the red box contains a short reason. At the same time, the AI assistant gets a longer explanation in English, so it can tell you what happened. These are the most common ones:

  • The area is turned off ("... which the shop owner has disabled for this Shoporama webshop"). You have set the area to Off under Customize tools. See Customize which tools Claude can use in your store.
  • The area is set to Read Only ("... which the shop owner has set to read-only"). The AI tried to change something in an area where it is only allowed to read. Choose Read and edit for the area if it should be able to make changes.
  • Missing permissions ("requires 'write' access, but the connected token only has 'read' access"). The access level of the connection does not match the tool, typically because the connection only has read access while the AI tried to change something. It can also happen the other way around on older connections with the Write level, because write access does not automatically include read access. Connect again, and choose Full access.
  • Too many changes in a short time ("Too many changes"). A connection can make at most 120 changes per minute and 3,000 per hour. The limit stops an AI that is going in circles before it reaches your entire catalog. Wait a little, or ask the AI to combine the changes into fewer calls.
  • Too many items in one call ("accepts at most ... items"). Some tools have a limit, for example 25 orders per status change and 250 customers per import. The AI needs to split up the task.
  • Theme files ("requires theme-file access on the API token"). Access to the theme's files is not enabled on the connection. This is an extra safeguard, because theme files control how the store looks.
  • Restricted user ("belongs to a Shoporama user with restricted access"). The connection belongs to a user who does not have the Full access role on the store, or who only has access to certain categories. This typically happens when the user has been given a different role after the connection was created. The AI connection only works when it belongs to a user with Full access, so connect with such a user instead, or ask the company administrator to change the role. Read more in Roles and permissions.

Rejected calls show 0 ms under Duration. This is not a display error. The call was stopped before the store had a chance to do anything. Calls with the status Error, on the other hand, come from the store itself, for example if a required field was missing.

The log is just as useful for the opposite question: "What was it the AI wrote again?" Filter on blog_create or page_create, expand the arguments, and the whole text is there, even if you have edited it since.

Sensitive data is not stored in plain text

Before a log entry is saved, Shoporama goes through the arguments and hides anything that looks like a secret. Fields whose names contain words such as password, token, secret, API key, card number, credit card, CVV, or personal ID number (CPR number) have their value replaced with [REDACTED]. This also applies to fields deep inside a larger structure. The access key behind the connection itself is never stored, only a fingerprint that cannot be reversed.

At the same time, be aware of the obvious: if you ask the AI to create a phone order, the customer's name and address appear in the arguments, just as they do on the order. The log can only be viewed in the store's admin by users with the Full access or Developer role. This means a user with the Developer role can see customer data in the arguments, even though the role otherwise does not give access to customers and orders. Entries are deleted automatically after 90 days.

The log is kept for 90 days

Log entries older than 90 days are deleted automatically, and so is the option to undo them. The cleanup runs by itself every night, and this is also stated in the text at the top of the page. If you need a specific event as documentation for longer than that, take a screenshot or copy the expanded log entry into a document while it is still there. There is no export button on the page.

For technical users

  • The log only covers calls to MCP tools. The arguments are stored as the JSON the client sent, with sensitive keys masked first, and very long arguments are truncated.
  • Each tool is classified as reading or writing. An area set to Read Only only allows the reading tools, and on the Customize tools page, the writing tools are marked with "changes".
  • An AI connection has the access level Read or Full access, and Read is selected by default when you approve. Older connections may have the Write level, which does not give read access, so if the AI needs to both fetch and change data, the connection must have Full access. See OAuth: give apps access to your store.
  • The duration only measures the store's own execution time, not the AI's thinking time or network time. Rejected calls and calls put up for approval are logged with 0 ms.
  • The reason in a rejected row is a short English code after Policy:, for example domain_off (the area is turned off), domain_read_only (Read Only), scope (the connection's access level), rate_limit_minute or rate_limit_hour (the limit on changes), max_items (too many objects in one call), and theme_files (missing theme file access).
  • The limit of 120 changes per minute and 3,000 per hour only counts writing calls per connection. Rejected calls do not count, and a change you have approved is not counted again.
  • The log is only available in the admin. There is no API endpoint for retrieving it programmatically.

Frequently asked questions

How do I know whether it was the AI or a colleague who changed something?

Look at the time. If there is a log entry with the status OK at the time the change happened, and the tool matches what was changed, it was the AI. If there are no entries around that time, the change was made manually, because the log only covers the AI connection.

Several of us use AI. Can I see which of us was behind a call?

Yes. The User column shows which user connected the AI assistant. If each employee connects with their own user, you can see who was behind each call. If you share one connection, the same user appears on all calls.

Will I be notified if something fails or is rejected?

No, no email is sent when a call fails or is rejected. The AI assistant gets the message itself, so it can tell you in the conversation, and everything is in the log. If a change is waiting for your approval, however, you get a notification under the bell at the top of the admin, and the number next to Control the shop with AI in the menu shows how many are waiting.

Can I filter by a specific date or browse further back?

There is no date filter, only Tool and Status. The list shows the newest entries first, and if you have more than 50 entries, you browse on with the page numbers at the bottom. Your filters are kept when you browse, so you can, for example, go through all rejected calls page by page.

Is it written to the log when someone clicks Undo?

No, the undo does not become a new line, and the log does not store who clicked. You can see that a change has been undone because the Undo button is gone from the row, while the original line still shows OK as before. If it needs to be documented, take a screenshot of the message "The change has been undone." when it appears.

Can I see in the log what amount was captured on an order?

Not directly. Under Side effects, the count is shown, for example "1 payment capture queued", but not the amount. The arguments show which orders and which status the AI sent, and you find the amount on the order itself. If you have Extra Security turned on, the preview on the approval page shows for each order what the status change triggers, including the amount to be captured, before you approve.

Can I use the audit log as documentation for my accountant?

It can be used as support, but it is not an accounting record. It shows what the AI did, and when. The orders, the invoices, and what has been transferred to your accounting software stay where they are as always. Only the log entries about the AI's calls are deleted after 90 days.

Do the log entries disappear if I remove an employee from the store?

No. The log belongs to the store, so the entries stay for the 90 days, regardless of who used the AI. When the company administrator removes the employee under Company → Users, all the connections that person created via Sign in with Shoporama are revoked, including Claude. Changes from those connections that are still waiting for approval can then no longer be carried out.

What happens to Claude if an employee is given a different role?

If the employee no longer has the Full access role, the employee's connection remains, but Claude cannot use it, and pending changes from it cannot be carried out. If Claude tries anyway, the attempt appears in the log as Rejected. If the employee gets Full access again, the connection works again.

I have five stores. Is the log shared between them?

No. Each store has its own log, and you only see entries from the store you are in. To look in another store, switch stores in the admin and open the log there.

What do I do if I see actions I did not ask for?

Cut the connection. Disconnect the Shoporama integration in the AI client you use, and remove the access under Integrations → API access. Then write to support@shoporama.dk with the time, and we will look into it together with you. If you want to approve changes involving emails, payments, and deletions before they are carried out in the future, turn on Extra Security.

If you have questions about the audit log or about the AI integration in general, you are welcome to write to support@shoporama.dk.

Related articles

Control your store with AI: get started with Claude and MCP

Connect your Shoporama store to Claude from Claude's connector directory or via MCP, and ask it to create orders, discount codes, and front pages....

REST API: authentication, endpoints, and the API log

A complete guide to Shoporama's REST API: authentication, API keys and user roles, all endpoints, examples, the Swagger documentation, and the API...

Customize which tools Claude can use in your store

Choose Read and edit, Read only, or Off for each area of your store, so Claude only works with what you want and has more room in the conversation.

OAuth: give third-party apps secure access to your store

Learn how OAuth works in Shoporama. Give third-party apps secure API access to your store without sharing your password, and control the access level.

Menus and navigation: drop-down, mega menu, and footer menus

Learn how to create and edit menus in your online store. The guide covers menu item types, hierarchy, locations, drag-and-drop sorting, and how...

Duplicate a product with Claude or the REST API

How to duplicate a product in Shoporama with Claude or the REST API. The copy is always created as a draft, and you can override the name, EAN,...

Build newsletters with AI

Connect Claude to your store and describe your newsletter in plain language. The AI builds a draft with text, products, images, and buttons, but...

Product categories in your store: create, organize, and optimize

Learn how to create and manage categories in your Shoporama store. A guide to the category hierarchy, SEO settings, CSV import, product sorting,...

Find or create an API key (API token)

How to find or create an API token in Shoporama for integrations such as Shipmondo, and how the daily API limits, 429 errors, and included calls work.

Extra Security: approve changes from Claude

With Extra Security, Claude does not carry out changes that send emails, move money, or cannot be undone until you have approved them. Here is how...

User roles and permissions: give each user the right access

See what the eight user roles and five add-ons give access to in the Shoporama admin, which role suits whom, and what only the company...

Activity log: see who did what in the admin

The activity log shows who refunded, exported, deleted, imported, or changed access in the admin, and when. See what the log captures, what it does...