

# Who can see learnings from your traces

Every learning carries a list of readers, and only those readers can see it. You choose the readers with `accessControlConfig` on the `PutTrace` request. Name users, groups, or `*` for every reader of the Agent Context. For more information about access control entries, see [ACLs on content you write](source-acls-curator-and-trace.md).

The requests of one session share one list of readers, and a learning carries the readers of its session (see [Sessions](feedback-how-it-works.md#feedback-sessions)).

When you name readers, AWS Context doesn’t add the end user that the request is made for (see [End-user identity propagation](identity-propagation.md)). Name that user too if they should see the learnings.

A request without a user identity sees just the content that every reader can see (see [Source ACLs](source-acls.md)). So an agent that calls without a user identity retrieves a learning only when the learning’s readers include `*`.

## How the request’s identity sets the readers
<a name="feedback-visibility-readers"></a>

The readers of a `PutTrace` request’s learnings depend on the identity of the request and on whether it sends `accessControlConfig`. A request is made either for an end user, through trusted identity propagation, or without a user identity. An agent that calls with only its own IAM role is an example of the second.


| Request |  `accessControlConfig`  | Who can see the learnings | 
| --- | --- | --- | 
| For an end user | Omitted | Only that end user | 
| For an end user | Provided | The readers that you name | 
| Without a user identity | Omitted | No one. AWS Context rejects the request. | 
| Without a user identity | Provided | The readers that you name | 

## Readers of AWS Context agent traces
<a name="feedback-visibility-agent-traces"></a>

By default, only the end user of an `AgenticRetrieve` request can see the learnings from its agent trace. If a `PutTrace` request names more readers for the same session, they can see them too.

 AWS Context records an agent trace only for a request that is made for an end user. When `AgenticRetrieve` is called without a user identity, AWS Context doesn’t record a trace, even when **Include AWS Context agent traces** is selected. Without an end user, AWS Context can’t tell who should see the learnings. Because the capture is automatic, there is also no request in which you could name the readers. To learn from sessions that run without a user identity, submit the agent’s own traces with `PutTrace` and name the readers.