# Variable ConfigurationApi`Const`

ConfigurationApi: {
_defaultBasePath: undefined;
configurationCount: (
queryParameters: {
$search?: string;
executableIds?: string[];
scenarioId?: string;
searchCaseInsensitive?: boolean;
},
headerParameters: { "AI-Resource-Group": string },
) => OpenApiRequestBuilder<number>;
configurationCreate: (
body: AiConfigurationBaseData,
headerParameters: { "AI-Resource-Group": string },
) => OpenApiRequestBuilder<AiConfigurationCreationResponse>;
configurationGet: (
configurationId: string,
queryParameters: { $expand?: "scenario" },
headerParameters: { "AI-Resource-Group": string },
) => OpenApiRequestBuilder<AiConfiguration>;
configurationQuery: (
queryParameters: {
$expand?: "scenario";
$search?: string;
$skip?: number;
$top?: number;
executableIds?: string[];
scenarioId?: string;
searchCaseInsensitive?: boolean;
},
headerParameters: { "AI-Resource-Group": string },
) => OpenApiRequestBuilder<AiConfigurationList>;
}

Representation of the 'ConfigurationApi'. This API is part of the 'AI_CORE_API' service.

#### Type Declaration

- ##### _defaultBasePath: undefined

- ##### configurationCount: (
  queryParameters: {
  $search?: string;
  executableIds?: string[];
  scenarioId?: string;
  searchCaseInsensitive?: boolean;
  },
  headerParameters: { "AI-Resource-Group": string },
  ) => OpenApiRequestBuilder<number>

  Retrieve the number of available configurations that match the specified filter criteria. Filter criteria include a scenarioId or executableIdsList. Search by substring of configuration name is also possible.

- ##### configurationCreate: (
  body: AiConfigurationBaseData,
  headerParameters: { "AI-Resource-Group": string },
  ) => OpenApiRequestBuilder<AiConfigurationCreationResponse>

  Create a new configuration linked to a specific scenario and executable for use in an execution or deployment.

- ##### configurationGet: (
  configurationId: string,
  queryParameters: { $expand?: "scenario" },
  headerParameters: { "AI-Resource-Group": string },
  ) => OpenApiRequestBuilder<AiConfiguration>

  Retrieve details for configuration with configurationId.

- ##### configurationQuery: (
  queryParameters: {
  $expand?: "scenario";
  $search?: string;
  $skip?: number;
  $top?: number;
  executableIds?: string[];
  scenarioId?: string;
  searchCaseInsensitive?: boolean;
  },
  headerParameters: { "AI-Resource-Group": string },
  ) => OpenApiRequestBuilder<AiConfigurationList>

  Retrieve a list of configurations. Filter results by scenario ID or a list of executable IDs. Search for configurations containing the search string as substring in the configuration name.

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

- Defined in packages/ai-api/dist/client/AI_CORE_API/configuration-api.d.ts:7