# LLM Action Analytics

Every LLM Action is logged and you can download those Logs directly from the action.

<figure><img src="/files/POQ4yofDCzcaE8za3pYD" alt=""><figcaption><p>Aggregate and Detail LLM Action log data</p></figcaption></figure>

**Aggregate Log Data** will provide the following top level coutns

* Action Name
* Successful Runs
* Failed Runs
* Number of times run
* Average duration
* Average tokens
* Average input tokens
* Average output tokes
* Average moderation duration
* Total duration
* Total moderation duration
* Total tokens
* Total input tokens
* Total output tokens

**Detailed log data** will instead provide for every LLM action run the following information

* Action name
* Action run time
* Duration
* Total tokens
* Input tokens
* Output tokens
* User prompt
* System prompt
* llm\_response value (default output value)
* Moderation duration
* % of moderation as part of the total duration
* All other output attribute values


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opendialog.ai/opendialog-platform/interpreters-and-natural-language-understanding/llm-actions/llm-action-analytics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
