We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Is there a dedicated log table for AI Agent runs?

sih7933
Tera Contributor

In ServiceNow, I noticed that:

sn_aia_execution_plan seems to track the overall agentic workflow run 

sn_aia_execution_task appears to track the individual tool-level tasks within that plan.

However, is there a dedicated table or log that contains a complete list of all AI Agent runs, especially something that directly maps back to each AI Agent created in Agent Studio?

Basically looking for a central table or log that gives visibility into all the invocations/runs of AI Agents across the instance.

3 REPLIES 3

Karteek KVLN
ServiceNow Employee

@Sin

You have to hihop to your instance to access these tables :  " sys_generative_ai_log " content.

Jessi Orlando
Tera Contributor

Hi sih7933, 

 

You may have found your answer by now, but within AI Agent Studio, there is a workflow and AI Agent activity dashboard, with a sumary and trends feature. Hope this helps. 

ajmalmuhamm
Tera Contributor

Hi @sih7933 ,

In addition to the tables already mentioned, you can also look at sys_generative_ai_log, which captures Generative AI interactions and can be useful for troubleshooting and auditing AI activity.

That said, based on my understanding, there isn't a single out-of-the-box table that serves as a central registry of every AI Agent invocation mapped directly to the AI Agents created in Agent Studio. Instead, the execution details are typically spread across tables such as sn_aia_execution_plan and sn_aia_execution_task, while AI Agent Studio also provides execution visibility through its Activity Dashboard.

If your requirement is to report on all AI Agent executions by agent across the instance, you may need to correlate the execution records with the agent definitions or build a custom report that combines the relevant tables.