# Variable ServiceApi`Const`

ServiceApi: {
_defaultBasePath: undefined;
kubesubmitV4AiservicesGet: (
serviceName: string,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndExtendedService>;
kubesubmitV4AiservicesGetAll: (
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndServiceList>;
}

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

#### Type Declaration

- ##### _defaultBasePath: undefined

- ##### kubesubmitV4AiservicesGet: (
  serviceName: string,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndExtendedService>

  Get an service of a given main tenant.

- ##### kubesubmitV4AiservicesGetAll: (
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndServiceList>

  Retrieve a list of services for a given main tenant.

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

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