# Type Alias DocumentInput

DocumentInput: {
chunks: TextOnlyBaseChunkCreate[];
id: string;
metadata?: VectorDocumentKeyValueListPair[];
} & Record<string, any>

A single document stored in a collection by ID.

#### Type Declaration

- ##### chunks: TextOnlyBaseChunkCreate[]

- ##### id: string

  Unique identifier of a document. Format: "uuid".

- ##### `Optional` metadata?: VectorDocumentKeyValueListPair[]

  Default: [].

  Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/document-grounding/dist/client/api/schema/document-input.d.ts:6