---
title: "List my sessions"
url: https://hexelstudio.com/docs/api/titan-user/person/sessions
---

# List my sessions

**GET** `/titan/user/sessions`

The durable sessions acting for the caller, newest first, with their effective state and current summary; never events or content. Authorized by the user access token of the person the durable sessions act for; NOT_FOUND unless person sessions is on.

## Query parameters

- `state: optional string`

  One of: `"active"`, `"idle"`, `"suspended"`, `"closed"`, `"killed"`, `"expired"`

- `limit: optional integer`

  Default: `50`

- `offset: optional integer`

  Default: `0`

## Headers

- `Authorization: string`

  `Bearer <token>`. The person's user-route token: a user access token from the deployment's identity provider for an audience only the person routes accept, carrying their use claim. The Gateway verifies it; the edge does not. A session's token is refused here, and a user-route token is refused as a session's. Served only while the deployment turns the person routes on; NOT_FOUND otherwise.

## Returns

`200` Successful response; exact status varies by operation. (`object`)

- `items: array of object`

  - `agent_id: string`

  - `created_at: string`

  - `deployment_id: string`

  - `durable_session_id: string`

  - `environment_id: string`

  - `expires_at: string`

  - `last_activity_at: string`

  - `parent_durable_session_id: string`

  - `root_durable_session_id: string`

  - `state: string`

    The effective state at the read.

    One of: `"active"`, `"idle"`, `"suspended"`, `"closed"`, `"killed"`, `"expired"`

  - `summary: object`

    The current summary; null when none or while the session profile turns summaries off.

    - `at_seq: integer`

    - `created_at: string`

    - `done: string`

    - `goal: string`

    - `next_step: string`

    - `open_decisions: string`

  - `workspace_id: string`

- `limit: integer`

- `offset: integer`

## Errors

- `default` Rejected request.

## Example

```bash
curl --request GET \
  --url 'https://api.hexelstudio.com/v1/titan/user/sessions' \
  --header "Authorization: Bearer $ACCESS_TOKEN"
```

### Response (200)

```json
{
  "items": [
    {
      "agent_id": "string",
      "created_at": "2026-01-01T00:00:00Z",
      "deployment_id": "string",
      "durable_session_id": "string",
      "environment_id": "string",
      "expires_at": "2026-01-01T00:00:00Z",
      "last_activity_at": "2026-01-01T00:00:00Z",
      "parent_durable_session_id": "string",
      "root_durable_session_id": "string",
      "state": "active",
      "summary": {
        "at_seq": 0,
        "created_at": "2026-01-01T00:00:00Z",
        "done": "string",
        "goal": "string",
        "next_step": "string",
        "open_decisions": "string"
      },
      "workspace_id": "string"
    }
  ],
  "limit": 0,
  "offset": 0
}
```

### Response (default)

```json
{
  "error": {
    "code": "string",
    "message": "string"
  }
}
```
