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

# List my session messages

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

The messages the caller sent their durable session, newest first (at most 100), with their states. NOT_FOUND also unless the workspace's enforced session profile allows remote_steering. 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`)

- `durable_session_id: string`

- `items: array of object`

  - `claim_expires_at: string`

  - `content_sha256: string`

  - `content_size_bytes: integer`

  - `created_at: string`

  - `finished_at: string`

  - `leg_session_id: string`

  - `message_id: string`

  - `reason: string`

  - `state: string`

    One of: `"pending"`, `"running"`, `"completed"`, `"refused"`, `"failed"`

## Errors

- `default` Rejected request.

## Example

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

### Response (200)

```json
{
  "durable_session_id": "string",
  "items": [
    {
      "claim_expires_at": "2026-01-01T00:00:00Z",
      "content_sha256": "string",
      "content_size_bytes": 0,
      "created_at": "2026-01-01T00:00:00Z",
      "finished_at": "2026-01-01T00:00:00Z",
      "leg_session_id": "string",
      "message_id": "string",
      "reason": "string",
      "state": "pending"
    }
  ]
}
```

### Response (default)

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