# Type Alias CollectionRequest

CollectionRequest: {
embeddingConfig: EmbeddingConfig;
id?: string | null;
metadata?: VectorKeyValueListPair[];
title?: string | null;
} & Record<string, any>

A request for creating a new, single collection.

#### Type Declaration

- ##### embeddingConfig: EmbeddingConfig

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

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

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

  Metadata attached to collection. Useful to restrict search to a subset of collections. Default: [].

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

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

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