> For the complete documentation index, see [llms.txt](https://docs.aiceberg.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aiceberg.ai/monitoring/what-is-the-monitoring-page/what-are-sessions.md). Agents can also search and read this documentation through its [MCP server](https://docs.aiceberg.ai/~gitbook/mcp).

# What are Sessions?

**Sessions** are continuous interaction sequences between a user and an AI model or agent. Sessions encompass:

* Multiple related prompts and responses in a conversation thread
* Events and participant interactions across an agentic workflow

Learn more about [Events](https://docs.aiceberg.ai/monitoring/what-is-the-monitoring-page/what-are-events-and-how-are-they-monitored.md) here.

## How Sessions are Created

Sessions are automatically grouped using two methods:

* The same user sends another prompt within 45 seconds of their previous prompt
* Prompts sent via the API that include the same Session ID

The first or header input in a Session must originate from either a User or Agent Participant. If the first prompt comes from another Participant type, the Session will have no header. Learn more about Participants [here](https://docs.aiceberg.ai/monitoring/what-is-the-monitoring-page/what-are-events-and-how-are-they-monitored.md).

## How to View Sessions

{% stepper %}
{% step %}

### Open Monitoring and enable Sessions column

1. Navigate to the Monitoring page and tap the filters icon.

![](https://content.gitbook.com/content/huh6w2lTUExBtn7eC56o/blobs/MdDe6QloF6aOBTFZABWs/Screenshot%202025%2007%2025%20at%2010.03.59%20AM.png)

2. Tap the Settings menu (top right) and ensure the Session column is enabled.

![](https://content.gitbook.com/content/huh6w2lTUExBtn7eC56o/blobs/wflhiFKOT38WIv1C6x0h/Screenshot%202025%2007%2025%20at%2010.06.25%20AM.png)
{% endstep %}

{% step %}

### Filter to show only session headers

* To filter out "child" prompts and show only the first prompt in a Session, open the filters and enable "Show only sessions."

![](https://content.gitbook.com/content/huh6w2lTUExBtn7eC56o/blobs/qnpj63h4LOJRBY2W9ENt/Screenshot%202025%2007%2025%20at%209.25.51%20AM.png)

Note: Single prompts are considered a Session of one and will still show even when "Show only sessions" is enabled.
{% endstep %}

{% step %}

### View the full Session thread

* In the Monitoring page, a Sessions column is now available. Tap the Sessions icon to view the whole conversation.

![](https://content.gitbook.com/content/huh6w2lTUExBtn7eC56o/blobs/yvKra7rs3slOuMKaCEzP/Screenshot%202025%2007%2025%20at%2010.15.37%20AM.png)

* Prompts are filtered to only those that are in a single Session. The threading on the left shows the hierarchy of inputs by time, and the top input will always be the Session header. (Increased threading depth beyond one child is a future feature.)
  {% endstep %}

{% step %}

### Return to the regular Monitoring view

* To navigate back to the regular Monitoring view, tap the back arrow next to the Bookmarks tab at the top.

![](https://content.gitbook.com/content/huh6w2lTUExBtn7eC56o/blobs/yx6zmDaXSzqntqw75maZ/Screenshot%202025%2007%2025%20at%2010.18.55%20AM.png)
{% endstep %}
{% endstepper %}

{% hint style="info" %}
Sessions will "close" if 24 hours elapse between inputs. Any additional content sent with the same Session ID via the API will result in an error.
{% endhint %}


---

# 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.aiceberg.ai/monitoring/what-is-the-monitoring-page/what-are-sessions.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.
