---
title: "SolutionMember"
description: "The `SolutionMember` entity."
section: "Reference"
group: "Types"
order: 201
---

## Definition

```ts
interface SolutionMember {
  id: string;
  solutionId: string;
  entityId: string;
  addedBy: string;
  deletedAt: string | null;
  retentionTier: "short" | "medium" | "long" | "none" | null;
  addedAt: string;
}
```

## Fields

| Field           | Type                                              | Notes                                                                                                                                                                          |
| --------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `id`            | `string`                                          | `readonly` `required`                                                                                                                                                          |
| `solutionId`    | `string`                                          | `required` — Parent solution.                                                                                                                                                  |
| `entityId`      | `string`                                          | `required` — Polymorphic prefixed ID of the member entity (agt*\*, wfl*_, app\__, etc.). Entity type is derived via `detectEntityType`.                                        |
| `addedBy`       | `string`                                          | `required` — User who added the entity to the solution.                                                                                                                        |
| `deletedAt`     | `string \| null`                                  | `required` — ISO-8601 timestamp of soft-removal; null while active. Soft-removed when the member entity itself is soft-deleted so entity-restore can resurrect the membership. |
| `retentionTier` | `"short" \| "medium" \| "long" \| "none" \| null` | `required` — Retention tier snapshotted at soft-remove time.                                                                                                                   |
| `addedAt`       | `string`                                          | `required` — ISO-8601 timestamp the entity was added to the solution.                                                                                                          |
