# BatchUnjunkEntry

The BatchUnjunkEntry type of the TypeScript SDK, part of BatchUnjunkResult.

```ts
type BatchUnjunkEntry = {
  id: string
  message?: MessageMeta
  status: ('unjunked' | 'not_junked' | 'not_found')
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `id` | `string` | Message ULID |
| `message` | [`MessageMeta`](/docs/sdks/typescript/types/message-meta) | Optional. Unjunked message metadata (when status=unjunked) |
| `status` | `('unjunked' \| 'not_junked' \| 'not_found')` | Unjunk outcome for this message. not_junked: the message exists and is readable but does not carry the Junk label, so there is nothing to undo — deliberately distinct from not_found, which means no such live message (an EXPUNGED id is not_found here; use POST /messages/restore for that tier). |

## Used in

[`BatchUnjunkResult`](/docs/sdks/typescript/types/batch-unjunk-result).
