# 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](/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](/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.

![](/files/e11f99d1d2be4e8c60d54ca2db2e2bef0be11e9c)

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

![](/files/b26466d41eab818aaafad6b168f4ba6176369a23)
{% 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."

![](/files/02039008688554aa7b9bd52799f9ea2823ce246f)

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.

![](/files/97d8c48d0d73fc6e6b17059d9991cddfbb4893a3)

* 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.

![](/files/7098da22f5f5534d5db5b7d86df7793a900142c1)
{% 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: 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.aiceberg.ai/monitoring/what-is-the-monitoring-page/what-are-sessions.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.
