---
title: "Get my session"
url: https://hexelstudio.com/docs/api/titan-user/person/get-my-session
---

# Get my session

**GET** `/titan/user/sessions/{id}`

One durable session acting for the caller; any other is NOT_FOUND. Authorized by the user access token of the person the durable sessions act for; NOT_FOUND unless person sessions is on.

## Path parameters

- `id: string`

## 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`)

- `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`

## Errors

- `default` Rejected request.

## Example

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

### Response (200)

```json
{
  "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"
}
```

### Response (default)

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