Need more detail? Connect your coding agent to the full docs.

Skip to Content
AMIRILDocs

Audit agent access

The access log lists every grant and revoke, every tool call the gateway refused and each change to tool servers, gateway tokens and agents.

Open the access log when you need to know who gave an agent a tool and when, or why the gateway turned a call away.

Open the log

Open Access log in the sidebar, under Control. The log shows the current environment, newest first, over the last 30 days by default. Reading it takes the access:read permission, which both built-in roles have.

Here is part of a log for the payments agent:

WhenWhoActionTargetAgentDetail
2 minutes agoPaymentsDeniedpayments.refund_paymentPaymentsNot granted
1 hour agoAna SilvaGrantedpayments.issue_paymentPayments
1 hour agoAna SilvaToken createdProduction deploymentPaymentsToken amiril_live_Ab3dE9xQ…
YesterdayAna SilvaServer addedPayments2 tools

The Who column names the person who made the change. It reads Amiril for Amiril's own work, such as a scheduled sync, and names the agent for a refused call.

Find an entry

Narrow the log with the controls above it:

  • Agent shows one registered agent's entries.
  • Action shows one kind of entry.
  • The search box matches who, the action, the target and the agent.
  • The time range sets how far back to look.

The kinds in Action are:

KindWhat it shows
GrantedTools granted
RevokedTools revoked, by a person, by a suggestion or because a server was removed
Server changesServers added, edited, synced or removed. Tools that appeared, changed or left. A tool's Read, Write or Destructive level changed by hand. Logins the vendor refused
TokensGateway tokens created and revoked
Agent changesAgents registered, edited or archived, and owners added or removed
Denied callsTool calls the gateway refused

Read an entry

The Detail column adds what the action alone does not say. A revoke from a suggestion reads Revoked from a suggestion. The agent hadn't used it in 30 days. A refused call gives one of three reasons:

  • Not granted. The tool exists but this agent was not granted it. Grant it on the agent's Access tab if the agent should have it.
  • Unknown tool. No tool in the environment has the name the agent called. Check the name in the agent's code, or select Sync now on the server if the tool is new.
  • Server unavailable. The tool's server was removed or cannot sign in. If the server still shows under Tools, open it and check whether its status reads Reconnect needed.

Allowed calls are not in the log. They are on the agent's Calls tab. See the agent's gateway calls.

Next steps

Last updated on