---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/vector/plan/interfaces/UpsertPlan.md
---

# Interface: UpsertPlan

Defined in: [batteries/vector/plan.ts:40](https://github.com/NHTIO/ADK/blob/v1.20260607.0/src/batteries/vector/plan.ts#L40)

## Properties

| Property                                         | Type                                                                 | Description                                                                                        | Defined in                                                                                                      |
| ------------------------------------------------ | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
|  `collection`    | `string`                                                             | -                                                                                                  | [batteries/vector/plan.ts:41](https://github.com/NHTIO/ADK/blob/v1.20260607.0/src/batteries/vector/plan.ts#L41) |
|  `consistency?` | [`VectorConsistency`](../../types/type-aliases/VectorConsistency.md) | Per-operation read-after-write override from `.consistency()`; absent = use store/adapter default. | [batteries/vector/plan.ts:44](https://github.com/NHTIO/ADK/blob/v1.20260607.0/src/batteries/vector/plan.ts#L44) |
|  `records`          | [`VectorRecord`](../../types/interfaces/VectorRecord.md)\[]           | -                                                                                                  | [batteries/vector/plan.ts:42](https://github.com/NHTIO/ADK/blob/v1.20260607.0/src/batteries/vector/plan.ts#L42) |
