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

# LLM generation logs

> View detailed logs for every LLM generation. Debug failed requests, analyze latency and costs, and reproduce issues with full request/response context.

Logs give you a detailed record of every LLM generation made through [**Deployments**](/docs/deployments/overview) and [**Playgrounds**](/docs/playground/overview). Use them to monitor successful and failed requests, understand the parameters used, and reproduce issues.

## Finding Logs

Logs are available in [**Deployments**](/docs/deployments/overview) and [**Playgrounds**](/docs/playground/overview). You can find them within the **Logs** tab of each respective section.

## Inside the Logs

### Overview

The logs overview lets you see a list ordered by recency of all the logs you can dive into. In this overview you can see the precise timestamp for each log and some details for the log itself, including status, provider, model, latency and cost.

<Frame caption="This overview screen lets you scan for the logs you want to dive into, choosing a log to see details for is just a matter of clicking on a log line.">
  <img src="https://mintcdn.com/orqai/8ublVIDMeb653NWy/images/docs/500cefe-Screenshot_2024-07-19_at_16.33.07.png?fit=max&auto=format&n=8ublVIDMeb653NWy&q=85&s=ccd3f7b4bda4e5f14acda0f705afa578" alt="This overview screen lets you scan for the logs you want to dive into, choosing a log to see details for is just a matter of clicking on a log line." width="2964" height="554" data-path="images/docs/500cefe-Screenshot_2024-07-19_at_16.33.07.png" />
</Frame>

### Request

To learn more about the technical request being made, select the **Request** panel on the right of your log detail.

Here you'll be able to see all model configuration as well as the execution latency and cost of the generation.

<Frame caption="The request tab lets you dive into the technical details of your model during this generation.">
  <img src="https://mintcdn.com/orqai/EqUGDI2og-dnTmDI/images/docs/64751fc-iScreen_Shoter_-_Google_Chrome_-_240723150210.jpg?fit=max&auto=format&n=EqUGDI2og-dnTmDI&q=85&s=066ecbed949e16e1a8ac45d89bb5a299" alt="The request tab lets you dive into the technical details of your model during this generation." width="2635" height="1321" data-path="images/docs/64751fc-iScreen_Shoter_-_Google_Chrome_-_240723150210.jpg" />
</Frame>

By opening the **Data** panel, you can see the **Variables** and Context Attributes used for this call.

<Frame caption="The Data tab lets you confirm which inputs and metadata were used during this generation.">
  <img src="https://mintcdn.com/orqai/EqUGDI2og-dnTmDI/images/docs/80e98b9-iScreen_Shoter_-_Google_Chrome_-_240723164848.jpg?fit=max&auto=format&n=EqUGDI2og-dnTmDI&q=85&s=622e973e34701cb2a2e3e8ad3a650f8b" alt="The Data tab lets you confirm which inputs and metadata were used during this generation." width="2578" height="1012" data-path="images/docs/80e98b9-iScreen_Shoter_-_Google_Chrome_-_240723164848.jpg" />
</Frame>

### Feedback

You can provide feedback on the quality and accuracy of the generations made within the log.

<img src="https://mintcdn.com/orqai/XbJWQ7lqn4sIVHea/images/docs/e56b07e-iScreen_Shoter_-_Google_Chrome_-_240723150402.jpg?fit=max&auto=format&n=XbJWQ7lqn4sIVHea&q=85&s=f88f1b2ebbece0e0e7966bb44ab86b33" alt="The Feedback panel for providing feedback on the quality and accuracy of a generation." width="2636" height="1242" data-path="images/docs/e56b07e-iScreen_Shoter_-_Google_Chrome_-_240723150402.jpg" />

<Info>
  To learn more, see [Feedback](/docs/feedback/overview).
</Info>

### Hyperlinking

When you want to copy the exact same LLM configuration (prompt, model, etc.) to another module within Orq, you can "**hyperlink**" it. The buttons highlighted in red enable you to:

* Share
* Run in [Playgrounds](/docs/playground/overview).
* Create a [Deployment](/docs/deployments/overview).
* Add Variant to Deployment.
* Add to [Dataset](/docs/datasets/overview).
* Create [Prompt](/docs/prompts/overview).

<Frame caption="Hyperlinking buttons">
  <img src="https://mintcdn.com/orqai/XbJWQ7lqn4sIVHea/images/docs/ec64d0f9adff19b01a6640ff3157dc5aff9e6850a3738a6d752f72fcbd502fc5-Screenshot_2025-05-02_at_13.59.57.png?fit=max&auto=format&n=XbJWQ7lqn4sIVHea&q=85&s=6c97a18edda732aff3773f166aa2b975" alt="Hyperlinking buttons" width="573" height="95" data-path="images/docs/ec64d0f9adff19b01a6640ff3157dc5aff9e6850a3738a6d752f72fcbd502fc5-Screenshot_2025-05-02_at_13.59.57.png" />
</Frame>

### Debug

You can view the log details as a JSON object and copy its payload within the **Debug** tab.

### Limitations

Logs can contain a maximum of **16MB** of data. This includes all text inputs, generations, retrievals and embedded images. Oversized logs are discarded from the **Logs** view.
