# Type Alias DataRepositoryWithDocuments

DataRepositoryWithDocuments: {
documents: Document[];
id: string;
message?: string | null;
metadata?: RetrievalKeyValueListPair[];
remoteGroundingName?: string | null;
title: string;
} & Record<string, any>

DataRepository schema returned by the Vector search endpoint

#### Type Declaration

- ##### documents: Document[]

- ##### id: string

  Unique identifier of this DataRepository. Format: "uuid".

- ##### `Optional` message?: string | null

  Optional message.

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

  Metadata attached to DataRepository. Useful to later limit search to a subset of DataRepositories. Default: [].

- ##### `Optional` remoteGroundingName?: string | null

  Friendly destination Name (grounding.name) of remote instance.

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

- ##### title: string

- Defined in packages/document-grounding/dist/client/api/schema/data-repository-with-documents.d.ts:6