Class KpiApi
Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
-
Field Summary
Fields inherited from class com.sap.cloud.sdk.services.openapi.apache.apiclient.BaseApi
apiClient, defaultHeaders -
Constructor Summary
ConstructorsConstructorDescriptionKpiApi()Instantiates this API class to invoke operations on the AI CoreKpiApi(AiCoreService aiCoreService) Instantiates this API class to invoke operations on the AI Core -
Method Summary
Modifier and TypeMethodDescriptionget()Get KPIsget(Set<KpiColumnName> $select) Get KPIswithDefaultHeaders(Map<String, String> defaultHeaders) Creates a new API instance with additional default headers.
-
Constructor Details
-
KpiApi
public KpiApi()Instantiates this API class to invoke operations on the AI Core -
KpiApi
Instantiates this API class to invoke operations on the AI Core- Parameters:
aiCoreService- The configured connectivity instance to AI Core
-
-
Method Details
-
withDefaultHeaders
Creates a new API instance with additional default headers.- Parameters:
defaultHeaders- Additional headers to include in all requests- Returns:
- A new API instance with the combined headers
-
get
@Nonnull public KpiResultSet get(@Nullable Set<KpiColumnName> $select) throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException Get KPIsRetrieve the number of executions, artifacts, and deployments for each resource group, scenario, and executable. The columns to be returned can be specified in a query parameter.
200 - KPIs
400 - Invalid request
404 - The specified resource was not found
429 - Too many requests
- Parameters:
$select- (optional) Columns to select- Returns:
- KpiResultSet
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-
get
@Nonnull public KpiResultSet get() throws com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestExceptionGet KPIsRetrieve the number of executions, artifacts, and deployments for each resource group, scenario, and executable. The columns to be returned can be specified in a query parameter.
200 - KPIs
400 - Invalid request
404 - The specified resource was not found
429 - Too many requests
- Returns:
- KpiResultSet
- Throws:
com.sap.cloud.sdk.services.openapi.apache.core.OpenApiRequestException- if an error occurs while attempting to invoke the API
-