Is there a dedicated log table for AI Agent runs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2025 04:50 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2025 10:17 PM
You have to hihop to your instance to access these tables : " sys_generative_ai_log " content.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
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.