---
url: /api/kiln/interfaces/EntitySnapshot.md
---
[Kiln API](../../index.md) / [kiln](../index.md) / EntitySnapshot

# Interface: EntitySnapshot

One entity in a snapshot: its id and the values of the traits that were captured.

## Properties

| Property | Type | Description |
| ------ | ------ | ------ |
|  `id` | `number` | Entity index. Ids are recycled; `gen` tells reuses apart. |
|  `gen` | `number` | - |
|  `traits` | `Record`<`string`, `unknown`> | SoA traits as field objects, tags as `true`, relations as arrays of target ids. |
