# ThreadCompanion

A thread this one has been used together with, and in how many sessions. Night weaving links threads the agent used in the same conversation; once two have been used together more than once, recalling one brings the other.

**Kind:** an object, used in responses.

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `threadId` | `uuid` | The companion thread. |
| `times` | `integer` | Sessions the two were used together in. |
| `lastAt` | `datetime` | When the two were last used together (UTC). |

## Example

```json
{
  "threadId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
  "times": 0,
  "lastAt": "2026-10-26T12:00:00.0000000Z"
}
```

## Where it's used

- Inside [`LoomThread`](https://docs.maitento.com/reference/types/loom-thread.md)
