Document agentic usage attribution in Audit Trail#37955
Draft
anthony-dgx wants to merge 3 commits into
Draft
Conversation
Add a new-field reference for @evt.actor.mode / @delegator.actor / is_mcp_call on the events page, a delegated-activity query example on the Audit Trail overview page, and a new guide on tracking agentic usage across the org, following the GA feature announcement for agent actor + delegation attribution.
Contributor
Preview links (active after the
|
Tirlipinpin
reviewed
Jul 3, 2026
|
|
||
| ## View a user's full activity, including agent-delegated actions | ||
|
|
||
| When a Datadog AI agent acts on a user's behalf, the agent becomes `@evt.actor` for that event, and the user moves to `@delegator.actor`. Searching only `@usr.name:<USER_EMAIL>` returns the actions the user performed directly, and does not include actions a Datadog AI agent performed on their behalf. |
Contributor
There was a problem hiding this comment.
We might want to be a little more specific and mention that the agent now fills in the values of @usr.*, while the original user fills in @delegator.*? This should be easier to filter on than only the @delegator.actor field.
| To retrieve a user's complete activity, including delegated agent actions: | ||
|
|
||
| 1. Navigate to [Audit Trail][1]. | ||
| 2. In the search bar, enter the query: `(@usr.name:<USER_EMAIL> OR @delegator.name:<USER_EMAIL>)`. Replace `<USER_EMAIL>` with the user's email address. |
Contributor
There was a problem hiding this comment.
@delegator.name is the actual full name. If users want to filter on the email address, I would advise @delegator.id.
| 1. Navigate to [Audit Trail][1]. | ||
| 2. In the search bar, enter the query: `@evt.actor.mode:*`. | ||
|
|
||
| This query returns every event where a Datadog AI agent is the actor, whether the agent acted `interactive` (a user was present and approved the action) or `autonomous` (the agent acted on a system trigger, with no user present). |
Contributor
There was a problem hiding this comment.
Suggested change
| This query returns every event where a Datadog AI agent is the actor, whether the agent acted `interactive` (a user was present and approved the action) or `autonomous` (the agent acted on a system trigger, with no user present). | |
| This query returns every event where a Datadog AI agent is the actor, whether the agent acted `interactive` (a user was present and approved the action) or `autonomous` (the agent acted on a system trigger, with no user involved). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@evt.actor.mode,@delegator.actor, andis_mcp_callfields on the Audit Trail events reference page, following the "Surface Agentic Usage In Audit Trail" GA announcement.Notes
data/audit_events.jsoninwebsites-sources, not this repo — any brand-new discrete event types (vs. the cross-cutting actor/delegation fields added here) would need a separate change there.Test plan