Skip to main content
When a token is issued for an agentic interaction, Auth0 includes the agent_id (or external_agent_id, when set) in the resulting tenant log entry.

Supported grant types

Auth0 records agent identity in logs for the following grant types:
  • client_credentials grants from agent-linked clients
  • refresh_token grants for agent-linked clients
  • OBO token exchange grants
  • Standard login grants where the client is agent-linked

Query logs

You can query the agent_id via the Management API log endpoints, enabling per-agent audit and anomaly detection:
To learn more about querying and streaming tenant logs, read Log Search Query Syntax and Log Streams.