> ## Documentation Index
> Fetch the complete documentation index at: https://developer.plugchoice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# session-ended

> The link session is completed, abandoned or expired.

| Status | Title |
| - | - |
| `410` | This link session has ended |

## Where you see it

* **Inside the hosted flow**, on a call made after its link session ended.
* **Your app's result**, rarely: when the hosted flow reloads after its link session ended.

## What it means

A link session ends when it is completed or abandoned, or 6 hours after it opened. Calls after that are refused.

## What to do

Open Link again: your app opens a new link session.

To see how the ended one went, read `GET /link-sessions/{link_session_id}` on your server.

## Example

```json theme={null}
{
  "type": "https://developer.plugchoice.com/sdk/errors/session-ended",
  "title": "This link session has ended",
  "status": 410,
  "code": "session-ended",
  "detail": "Start a new session from the app."
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.