> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qontext.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieval logs

> Access retrieval logs for visibility and auditability

## Overview

Retrieval logs show which context was accessed by which client.

Use them to:

* Understand what context an agent retrieved
* Trace outputs back to specific files
* Verify that clients use the expected context
* Audit access to your context repository

Logs are available per client and per file.

***

## **Per API key**

To inspect retrieval activity for a specific client:

Open **Clients**, select an API key, and go to **Retrieval logs**.

<img src="https://mintcdn.com/qontext/ij80IpzZhIk9hRMP/images/Qontext_API-key-retrieval-logs.png?fit=max&auto=format&n=ij80IpzZhIk9hRMP&q=85&s=7f15e57ee0c0b737fc8087b5761a379d" alt="Qontext API Key Retrieval Logs" title="Qontext API Key Retrieval Logs" style={{ width:"81%" }} width="1287" height="560" data-path="images/Qontext_API-key-retrieval-logs.png" />

Typical use cases include:

* Debugging an agent
* Verifying client configuration
* Understanding retrieval patterns
* Investigating unexpected outputs

***

## **Per file**

To inspect retrieval activity for a specific file:

Open a file in the **Context** tab and check the retrieval logs in the right-side panel.

<img src="https://mintcdn.com/qontext/ij80IpzZhIk9hRMP/images/Qontext_file-retrieval-history-1.png?fit=max&auto=format&n=ij80IpzZhIk9hRMP&q=85&s=b4b56e59f6775299cde594ea2fc82bd0" alt="Qontext File Retrieval History 1" style={{ width:"94%" }} width="2458" height="926" data-path="images/Qontext_file-retrieval-history-1.png" />

Typical use cases include:

* Understanding how often a file is used
* Seeing which context agents accessed
* Investigating why a file influenced a response
