# Type Alias RetrievalVectorSearchFilter

RetrievalVectorSearchFilter: {
chunkMetadata?: RetrievalKeyValueListPair[];
dataRepositories?: string[];
dataRepositoryMetadata?: RetrievalKeyValueListPair[];
dataRepositoryType?: DataRepositoryType;
documentMetadata?: RetrievalSearchDocumentKeyValueListPair[];
filter?:
| RetrievalBinaryBooleanFilter
| RetrievalScopedKeyValueListPair
| null;
id: string;
remoteName?: string
| null;
scoringConfiguration?: VectorScoringConfiguration;
searchConfiguration?: RetrievalSearchConfiguration;
} & Record<string, any>

Representation of the 'RetrievalVectorSearchFilter' schema.

#### Type Declaration

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

  Restrict chunks considered during search to those with the given metadata. Default: [].

- ##### `Optional` dataRepositories?: string[]

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

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

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

- ##### `Optional` dataRepositoryType?: DataRepositoryType

- ##### `Optional` documentMetadata?: RetrievalSearchDocumentKeyValueListPair[]

  Restrict documents considered during search to those annotated with the given metadata. Default: [].

- ##### `Optional` filter?: RetrievalBinaryBooleanFilter | RetrievalScopedKeyValueListPair | null

  Filter to apply on the search results. This cannot be used together with 'documentMetadata'. The depth of the filter must not exceed 5 levels.

- ##### id: string

  Identifier of this RetrievalSearchFilter - unique per request.

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

  Destination Name of remote instance.

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

- ##### `Optional` scoringConfiguration?: VectorScoringConfiguration

- ##### `Optional` searchConfiguration?: RetrievalSearchConfiguration

- Defined in packages/document-grounding/dist/client/api/schema/retrieval-vector-search-filter.d.ts:11