# How to Manage a Session?

## Status Session

After you submit a session, it goes through different status:

* **Initializing:** You have created the session successfully, and the system is preparing resources and environment.
* **Running:** Your session is ready. **YOU CAN NOW EXECUTE TASKS AND INTERACT WITH IT**
* **Failed:** Your session encountered an error and cannot continue. You can hover over the status icon to see the reason.
* **Stopped:** Your session has been stopped. This can happen when you stop it manually or when a scheduled stop time (session stop) is reached.

## Stop Session

1. Open the **Session list**
2. Find the Session you want to cancel and click the 3-dot icon in the **Actions** column
3. Click **Stop** action
4. A confirmation dialog appears. Confirm by clicking the **Confirm** button after 3 seconds.

{% hint style="info" %} <mark style="color:$warning;">**Note:**</mark>

* A stopped session cannot be restarted. If you need to continue working, you must create a new session
* Any results generated before stopping remain available to you.
  {% endhint %}

## Delete Session

{% hint style="info" %} <mark style="color:$warning;">**Note:**</mark> Deleting a session permanently deletes all data in temporary storage and persistent storage. Be sure you’ve saved any data you want to access again.
{% endhint %}

1. Open the **Session list**
2. Find the Session you want to delete and click 3-dot icon in the **Actions** column
3. Click **Delete** action
4. A confirmation dialog appears. Confirm by entering the “delete” in the text field and click **Confirm**


---

# 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://ai-docs.fptcloud.com/fpt-ai-studio/services/model-testing-interactive-sessions/tutorials/how-to-manage-a-session.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.
