# Type Alias DataRepository

DataRepository: {
id: string;
message?: string | null;
metadata?: RetrievalKeyValueListPair[];
remoteGroundingName?: string | null;
title: string;
type: DataRepositoryType;
} & Record<string, any>

DataRepository schema expected by Retrieval.

#### Type Declaration

- ##### id: string

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

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

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

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

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

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

- ##### title: string

- ##### type: DataRepositoryType

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