# Expired Sessions

**How 'Expired Sessions' Works**

1. &#x20;Select the desired timeframe beyond which incomplete sessions will be set to expire, as shown below.&#x20;

{% hint style="info" %}
This can be configured at an [API Key](https://guides.pave.ai/branch-dashboard/user-feature-walkthrough/inspection-status/broken-reference) level for a new or existing API Key
{% endhint %}

<figure><img src="https://1101422075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkOe4CeRywX7c1q79rw84%2Fuploads%2FLOxF7gmtemAqZq0XJMMa%2FExpired%20Sessions%20(1).png?alt=media&#x26;token=f19d95ea-1b09-483a-945b-c39666b89e98" alt="" width="563"><figcaption><p>Select a pre-defined timeframe after which sessions will expire</p></figcaption></figure>

2. Once a session expires, it will be visualized on the dashboard as shown below.

<figure><img src="https://1101422075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkOe4CeRywX7c1q79rw84%2Fuploads%2F3jzHpnpBpl7CenYNHSGp%2FExpired%20Session%20Dashboard%20(1).png?alt=media&#x26;token=ca416952-7f9d-464f-8444-24fbce4f8fc8" alt=""><figcaption><p>Expired Session icon on the Client Dashboard</p></figcaption></figure>

{% hint style="info" %}
A session will expire if it is **not** in COMPLETE stage (i.e. is still in IDLE, STARTED, or PROCESS stage) when the chosen time frame is reached&#x20;
{% endhint %}

3. For an expired session, the inspection link when opened returns an error message, \
   \&#xNAN;**'The requested Session Key has already expired'** and no further inspection is possible.

<figure><img src="https://1101422075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkOe4CeRywX7c1q79rw84%2Fuploads%2FfsYc87itGXa8Es7OrQCO%2FIMG-9262%20(1).jpg?alt=media&#x26;token=38d3dca8-32c8-457e-ba8c-18193a4a601f" alt="" width="375"><figcaption><p>Expired Session</p></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://guides.pave.ai/branch-dashboard/user-feature-walkthrough/inspection-status/expired-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.
