SAP AI SDK for JavaScript - v2.12.0
    Preparing search index...

    Type Alias DocumentMetadata

    DocumentMetadata: {
        key: string;
        matchMode?: "ANY" | "ALL" | any;
        value: string[] | null;
    } & Record<string, any>

    Representation of the 'DocumentMetadata' schema.

    Type Declaration

    • key: string

      Metadata key name.

      "contentObjectId"
      
    • OptionalmatchMode?: "ANY" | "ALL" | any

      Match mode for the metadata key (ANY or ALL).

      "ANY"
      
    • value: string[] | null

      An array of string values associated with the metadata key. If the key already exists, its values will be overwritten. Setting the value to null will delete the metadata key-value pair.

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