# Variable RepositoryApi`Const`

RepositoryApi: {
_defaultBasePath: undefined;
kubesubmitV4RepositoriesCreate: (
body: BckndArgoCDRepositoryData,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndArgoCDRepositoryCreationResponse>;
kubesubmitV4RepositoriesDelete: (
repositoryName: string,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndArgoCDRepositoryDeletionResponse>;
kubesubmitV4RepositoriesGet: (
repositoryName: string,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndArgoCDRepositoryDetails>;
kubesubmitV4RepositoriesGetAll: (
queryParameters?: { $count?: boolean; $skip?: number; $top?: number },
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndArgoCDRepositoryDataResponse>;
kubesubmitV4RepositoriesUpdate: (
repositoryName: string,
body: BckndArgoCDRepositoryCredentials,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndArgoCDRepositoryModificationResponse>;
}

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

#### Type Declaration

- ##### _defaultBasePath: undefined

- ##### kubesubmitV4RepositoriesCreate: (
  body: BckndArgoCDRepositoryData,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndArgoCDRepositoryCreationResponse>

  On-board a new GitOps repository as specified in the content payload

- ##### kubesubmitV4RepositoriesDelete: (
  repositoryName: string,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndArgoCDRepositoryDeletionResponse>

  Remove a repository from GitOps.

- ##### kubesubmitV4RepositoriesGet: (
  repositoryName: string,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndArgoCDRepositoryDetails>

  Retrieve the access details for a repository if it exists.

- ##### kubesubmitV4RepositoriesGetAll: (
  queryParameters?: { $count?: boolean; $skip?: number; $top?: number },
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndArgoCDRepositoryDataResponse>

  Retrieve a list of all GitOps repositories for a tenant.

- ##### kubesubmitV4RepositoriesUpdate: (
  repositoryName: string,
  body: BckndArgoCDRepositoryCredentials,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndArgoCDRepositoryModificationResponse>

  Update the referenced repository credentials to synchronize a repository.

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

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