Jul 27, 2026: New agent_ type column in QUERY_ HISTORY views¶
The QUERY_HISTORY views and table functions now include a new agent_type column that identifies
the type of agent that directly invoked a query. This column helps you audit and monitor
agent-initiated queries across your account.
Possible values for the agent_type column:
CORTEX_AGENT: A persistent, named Cortex Agent.CORTEX_LITE_AGENT: A stateless, on-demand lite agent invoked through the REST API or via a Snowflake CoCo client.EXTERNAL_AGENT: A third-party agent using a SERVICE_AGENT user type or a custom OAuth integration configured withIS_AGENTIC = TRUE.
The column is NULL if the query wasn’t invoked by an agent.
This column is being gradually rolled out to all accounts over approximately one week starting July 27, 2026.
For the full column description, see agent_type.
This column is available in the following views and functions: