# History

At the top, you’ll see two views:

* **Executions**
* **Deposits & Withdrawals**

<figure><img src="/files/tcUcNZAH5qRPtJUNT7vA" alt=""><figcaption></figcaption></figure>

***

#### Executions

This view logs your agent’s work: reallocations, small portfolio adjustments, and reward compounding.

You’ll typically see entries like:

* **Agent Optimized**\
  Your agent rebalanced funds across your allowed yield sources to keep your portfolio on strategy.
* **Agent Claimed**\
  Sail claimed rewards from a protocol (these can be non-USD tokens).
* **Agent Swapped**\
  If rewards are non-USD, Sail can swap them into your supported stablecoins and reinvest. You’ll see the claimed token and the stablecoin it was swapped into.
* **Failed Transaction**\
  Sometimes an individual onchain transaction fails (RPC issues, temporary liquidity, gas conditions, etc.). When this happens, Sail shows the failure and keeps going. Your funds stay safe in your Sail account, and the agent will attempt again on the next execution.

<figure><img src="/files/AfxWP2Nj0KRD5Njx5Ikh" alt=""><figcaption></figcaption></figure>

***

#### Deposits & Withdrawals

This view tracks money moving in and out of Sail, including:

* **Deposit** (funds arriving into your Sail account)
* **Withdraw** (funds sent to an external wallet)
* **Redeem** (converting a position back into a stablecoin before completing a withdrawal, when needed)

You’ll see the **amount**, the **asset**, and where it moved (for example, **USDC – Account** vs **USDC – External Wallet**), plus the network.

<figure><img src="/files/M05QEoQeNxSKoiFHqp6H" alt=""><figcaption></figcaption></figure>

***

### Transaction list and costs

Each history entry includes a **Transaction List** (receipt icon). Open it to see:

* The underlying onchain transactions (each with a **Tx hash** linked to the relevant block explorer)
* A **total cost** summary for that entry (combined execution cost)

<figure><img src="/files/W4Hdt9eLuu0DAjAXE7ix" alt=""><figcaption></figcaption></figure>


---

# 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.sail.money/usesail/explore-the-app/history.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.
