> For the complete documentation index, see [llms.txt](https://docs.useveiled.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.useveiled.com/the-veiled-app/spending-insights.md).

# Spending Insights

The **Analytics** page turns your transaction history into charts. It shows how money moves through your own account and through each agent that spends for you, and it uses only your data.

***

## Choosing a window

Pick a time window with the buttons along the top of the page (**7d**, **30d** and **90d** are available). The default is 7d. Every number and chart on the page uses that window, and each headline figure is compared with the window of the same length immediately before it. For example, the 30-day view compares the last 30 days with the 30 days before those.

***

## Headline figures

| Figure                  | How it's calculated                                        | Change shown as                     |
| ----------------------- | ---------------------------------------------------------- | ----------------------------------- |
| **Total transfers**     | Number of payments in the window, across all your accounts | % change from the previous window   |
| **Total volume**        | Sum of those payments' amounts                             | % change                            |
| **Avg transfer amount** | Average size of a transfer (volume over count)             | % change                            |
| **Settled rate**        | Percentage of those payments with status `settled`         | Change in percentage points (`pts`) |

If the previous window had no activity, the change is left blank. A percentage measured against zero wouldn't tell you anything useful, so the page doesn't show one.

***

## Charts

### Daily transfer chart

This is a bar chart with one bar per day in the window. Hover over a bar to see that day's transfer count and dollar volume. On the 7d view the axis shows weekday names. On longer views it shows dates, labelling every fifth day on the 30d view and every tenth day on the 90d view so the labels don't overlap.

### Which accounts move the most

This chart splits the window's volume across your accounts, personal and agent alike, and leaves out accounts that had no activity. Use it to see whether one agent is responsible for most of your spending.

### Split across privacy layers

This chart shows how much of your volume settled at each layer, in this order: **Confidential** (where most payments land by default, backed by Token-2022 confidential balances), then **Shielded**, then **Public**. What each layer hides is explained in [Encrypted Balances and Private Payments](https://docs.useveiled.com/confidentiality/encrypted-balances.md).

### When you're most active

This is a grid with seven rows for the days of the week (Monday first) and 24 columns for the hours, where darker cells mean more transfers. Hover over a cell to see its exact count. The heatmap is useful for checking agents: an agent that should only run during certain hours shows up in only those cells, and a scheduled job that is running on time shows a regular pattern.

***

## Privacy

Every figure is calculated in your browser from transactions on accounts you own. Nobody else's data appears here, and opening the page has no effect on what the chain reveals. It only presents data you already have.

***

## Related pages

* [Activity Log](https://docs.useveiled.com/the-veiled-app/activity-log.md)
* [Agent Wallets](https://docs.useveiled.com/autonomous-agents/agent-wallets.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.useveiled.com/the-veiled-app/spending-insights.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
