# Type Alias DocumentGroundingFilter

Representation of the 'DocumentGroundingFilter' schema.

type DocumentGroundingFilter = {
chunk_metadata?: KeyValueListPair[];
data_repositories?: string[];
data_repository_metadata?: KeyValueListPair[];
data_repository_type: DataRepositoryType;
document_metadata?: SearchDocumentKeyValueListPair[];
id?: GroundingFilterId;
search_config?: GroundingFilterSearchConfiguration;
}

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/document-grounding-filter.d.ts:9

##### Index

### Properties

chunk_metadata?
data_repositories?
data_repository_metadata?
data_repository_type
document_metadata?
id?
search_config?

## Properties

### `Optional` chunk_metadata

chunk_metadata?: KeyValueListPair[]

Restrict chunks considered during search to those with the given metadata.

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/document-grounding-filter.d.ts:31

### `Optional` data_repositories

data_repositories?: string[]

Specify [''] to search across all DataRepositories or give a specific list of DataRepository ids. Default: [ "" ].

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/document-grounding-filter.d.ts:18

### `Optional` data_repository_metadata

data_repository_metadata?: KeyValueListPair[]

Restrict DataRepositories considered during search to those annotated with the given metadata. Useful when combined with dataRepositories=['*']

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/document-grounding-filter.d.ts:23

### data_repository_type

data_repository_type: DataRepositoryType

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/document-grounding-filter.d.ts:19

### `Optional` document_metadata

document_metadata?: SearchDocumentKeyValueListPair[]

Restrict documents considered during search to those annotated with the given metadata.

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

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/document-grounding-filter.d.ts:27

### `Optional` id

id?: GroundingFilterId

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/document-grounding-filter.d.ts:10

### `Optional` search_config

search_config?: GroundingFilterSearchConfiguration

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/document-grounding-filter.d.ts:11