# Variable MetadataConfigurationsApi`Const`

MetadataConfigurationsApi: {
_defaultBasePath: string;
batchUpdateDocumentsMetadata: (
metadataConfigId: string,
body: DocumentMetadataBatchRequest,
) => OpenApiRequestBuilder<BatchUpdateDocumentsResponse>;
createMetadataConfiguration: (
body: MetadataConfigurationRequest,
) => OpenApiRequestBuilder<any>;
deleteMetadataConfigurationById: (
metadataConfigId: string,
) => OpenApiRequestBuilder<any>;
getMetadataConfigurationById: (
metadataConfigId: string,
) => OpenApiRequestBuilder<MetadataConfigurationResponse>;
getMetadataDocumentDetails: (
metadataConfigId: string,
documentId: string,
) => OpenApiRequestBuilder<ConfigurationDocument>;
listMetadataConfigurationDocuments: (
metadataConfigId: string,
queryParameters?: {
$count?: boolean;
$skip?: number;
$top?: number;
absolutePath?: string;
},
) => OpenApiRequestBuilder<ListConfigurationDocuments>;
listMetadataConfigurations: (
queryParameters?: { $count?: boolean; $skip?: number; $top?: number },
) => OpenApiRequestBuilder<ListMetadataConfigurations>;
}

Representation of the 'MetadataConfigurationsApi'. This API is part of the 'api' service.

#### Type Declaration

- ##### _defaultBasePath: string

- ##### batchUpdateDocumentsMetadata: (
  metadataConfigId: string,
  body: DocumentMetadataBatchRequest,
  ) => OpenApiRequestBuilder<BatchUpdateDocumentsResponse>

  Patch the documents of a configuration in batch

- ##### createMetadataConfiguration: (body: MetadataConfigurationRequest) => OpenApiRequestBuilder<any>

  Creates a new metadata configuration.

- ##### deleteMetadataConfigurationById: (metadataConfigId: string) => OpenApiRequestBuilder<any>

  Delete a metadata configuration by ID

- ##### getMetadataConfigurationById: (
  metadataConfigId: string,
  ) => OpenApiRequestBuilder<MetadataConfigurationResponse>

  Get the details of a configuration by ID

- ##### getMetadataDocumentDetails: (
  metadataConfigId: string,
  documentId: string,
  ) => OpenApiRequestBuilder<ConfigurationDocument>

  Get the details of a document by document id

- ##### listMetadataConfigurationDocuments: (
  metadataConfigId: string,
  queryParameters?: {
  $count?: boolean;
  $skip?: number;
  $top?: number;
  absolutePath?: string;
  },
  ) => OpenApiRequestBuilder<ListConfigurationDocuments>

  List the documents for a configuration

- ##### listMetadataConfigurations: (
  queryParameters?: { $count?: boolean; $skip?: number; $top?: number },
  ) => OpenApiRequestBuilder<ListMetadataConfigurations>

  List all metadata configurations

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

- Defined in packages/document-grounding/dist/client/api/metadata-configurations-api.d.ts:7