Gitlab SDK

Gitlab SDK

GitLab API client, generated from the OpenAPI spec.

Learn more about GitLab API at gitlab.com.

This is an unofficial SDK for the GitLab public API, generated by Voxgig with @voxgig/sdkgen. It is not affiliated with, endorsed by, or sponsored by the upstream API provider.

Learn more about Voxgig SDKs at voxgig.com/sdk.

TypeScript, Python, Golang, Ruby SDKs, and an interactive REPL — all generated from one OpenAPI spec by @voxgig/sdkgen.

Entities, not endpoints

This SDK exposes the API as a small set of semantic entities — AccessRequest, AlertManagement, ApiEntitiesAccessRequester, ApiEntitiesAppearance, ApiEntitiesApplication, ApiEntitiesApplicationStatistic, ApiEntitiesApplicationWithSecret, ApiEntitiesAvatar, ApiEntitiesAwardEmoji, ApiEntitiesBadge, ApiEntitiesBasicBadgeDetail, ApiEntitiesBasicGroupDetail, ApiEntitiesBasicProjectDetail, ApiEntitiesBasicRef, ApiEntitiesBasicSuccess, ApiEntitiesBatchedBackgroundMigration, ApiEntitiesBranch, ApiEntitiesBulkImport, ApiEntitiesBulkImportsEntityFailure, ApiEntitiesBulkImportsExportStatus, ApiEntitiesChangelog, ApiEntitiesCiBridge, ApiEntitiesCiCatalogResourcesVersion, ApiEntitiesCiJob, ApiEntitiesCiJobBasic, ApiEntitiesCiJobBasicWithProject, ApiEntitiesCiLintResult, ApiEntitiesCiPipeline, ApiEntitiesCiPipelineBasic, ApiEntitiesCiPipelineSchedule, ApiEntitiesCiPipelineScheduleDetail, ApiEntitiesCiResetTokenResult, ApiEntitiesCiResourceGroup, ApiEntitiesCiRunner, ApiEntitiesCiRunnerDetail, ApiEntitiesCiRunnerManager, ApiEntitiesCiRunnerRegistrationDetail, ApiEntitiesCiSecureFile, ApiEntitiesCiVariable, ApiEntitiesCluster, ApiEntitiesClusterGroup, ApiEntitiesClusterProject, ApiEntitiesClustersAgent, ApiEntitiesClustersAgentToken, ApiEntitiesClustersAgentTokenBasic, ApiEntitiesClustersAgentTokenWithToken, ApiEntitiesCommit, ApiEntitiesCommitDetail, ApiEntitiesCommitNote, ApiEntitiesCommitSequence, ApiEntitiesCommitSignature, ApiEntitiesCommitStatus, ApiEntitiesCompare, ApiEntitiesContainerRegistryRepository, ApiEntitiesContainerRegistryTag, ApiEntitiesContainerRegistryTagDetail, ApiEntitiesContributor, ApiEntitiesDeployKey, ApiEntitiesDeployKeysProject, ApiEntitiesDeployToken, ApiEntitiesDeployTokenWithToken, ApiEntitiesDeployment, ApiEntitiesDeploymentExtended, ApiEntitiesDeploymentsApproval, ApiEntitiesDictionaryTable, ApiEntitiesDiff, ApiEntitiesDiscoveredCluster, ApiEntitiesDraftNote, ApiEntitiesEnvironment, ApiEntitiesErrorTrackingClientKey, ApiEntitiesErrorTrackingProjectSetting, ApiEntitiesEvent, ApiEntitiesFeature, ApiEntitiesFeatureDefinition, ApiEntitiesFeatureFlag, ApiEntitiesFeatureFlagUserList, ApiEntitiesFreezePeriod, ApiEntitiesGitlabSubscription, ApiEntitiesGoModuleVersion, ApiEntitiesGroup, ApiEntitiesGroupDetail, ApiEntitiesHook, ApiEntitiesIntegration, ApiEntitiesIntegrationBasic, ApiEntitiesInvitation, ApiEntitiesIssuableTimeStat, ApiEntitiesIssue, ApiEntitiesIssueLink, ApiEntitiesLicense, ApiEntitiesMarkdown, ApiEntitiesMarkdownUploadAdmin, ApiEntitiesMember, ApiEntitiesMerge, ApiEntitiesMergeRequestApproval, ApiEntitiesMergeRequestBasic, ApiEntitiesMergeRequestChange, ApiEntitiesMergeRequestDiff, ApiEntitiesMergeRequestDiffFull, ApiEntitiesMergeRequestReviewer, ApiEntitiesMetricImage, ApiEntitiesMrNote, ApiEntitiesNamespace, ApiEntitiesNamespaceExistence, ApiEntitiesNamespacesStorageLimitExclusion, ApiEntitiesNpmPackage, ApiEntitiesNpmPackageTag, ApiEntitiesNugetPackagesVersion, ApiEntitiesNugetSearchResult, ApiEntitiesNugetServiceIndex, ApiEntitiesOrganizationsOrganization, ApiEntitiesPackage, ApiEntitiesPackageFile, ApiEntitiesPackagePipeline, ApiEntitiesPackagesConanFilesList, ApiEntitiesPackagesConanPackageManifest, ApiEntitiesPackagesConanPackageRevision, ApiEntitiesPackagesConanPackageSnapshot, ApiEntitiesPackagesConanRecipeManifest, ApiEntitiesPackagesConanRecipeRevision, ApiEntitiesPackagesConanRecipeSnapshot, ApiEntitiesPackagesConanRevision, ApiEntitiesPackagesConanUploadUrl, ApiEntitiesPackagesDebianDistribution, ApiEntitiesPagesDomain, ApiEntitiesPagesDomainBasic, ApiEntitiesPersonalAccessToken, ApiEntitiesPersonalAccessTokenWithLastUsedIp, ApiEntitiesPersonalAccessTokenWithToken, ApiEntitiesPersonalSnippet, ApiEntitiesPlanLimit, ApiEntitiesProject, ApiEntitiesProjectDailyStatistic, ApiEntitiesProjectExportStatus, ApiEntitiesProjectGroupLink, ApiEntitiesProjectHook, ApiEntitiesProjectImportStatus, ApiEntitiesProjectJobTokenScope, ApiEntitiesProjectRepositoryStorage, ApiEntitiesProjectSnippet, ApiEntitiesProjectUpload, ApiEntitiesProjectWithAccess, ApiEntitiesProjectsContainerRegistryProtectionRule, ApiEntitiesProjectsPackagesProtectionRule, ApiEntitiesProjectsTopic, ApiEntitiesProtectedBranch, ApiEntitiesProtectedTag, ApiEntitiesPublicGroupDetail, ApiEntitiesRelatedIssue, ApiEntitiesRelationImportTracker, ApiEntitiesRelease, ApiEntitiesReleasesLink, ApiEntitiesRemoteMirror, ApiEntitiesRepositoryHealth, ApiEntitiesResourceAccessTokenWithToken, ApiEntitiesResourceMilestoneEvent, ApiEntitiesSnippet, ApiEntitiesSshKeyWithUser, ApiEntitiesSuggestion, ApiEntitiesSystemBroadcastMessage, ApiEntitiesTag, ApiEntitiesTagSignature, ApiEntitiesTemplatesList, ApiEntitiesTerraformModuleVersion, ApiEntitiesTreeObject, ApiEntitiesTrigger, ApiEntitiesUserAgentDetail, ApiEntitiesUserCount, ApiEntitiesUserPublic, ApiEntitiesUserWithAdmin, ApiEntitiesWikiAttachment, ApiEntitiesWikiPage, ApiEntitiesWikiPageBasic, Application, AwardEmoji, Badge, Branch, CargoPackage, CiVariable, Cluster, ClusterAgent, Composer, ComposerPackage, Conan, ConanPackage, ContainerRegistry, ContainerRegistryEvent, CustomAttribute, Debian, DebianDistribution, DebianPackage, DependencyProxy, DeployKey, DeployToken, Deployment, EeApiEntitiesApprovalState, EeApiEntitiesAuditEvent, EeApiEntitiesBillableMembership, EeApiEntitiesGeoNodeStatus, EeApiEntitiesGeoPipelineRef, EeApiEntitiesIssuableMetricImage, EeApiEntitiesMergeRequestApprovalState, EeApiEntitiesSshCertificate, Environment, ErrorTrackingClientKey, Feature, FeatureFlag, FeatureFlagsUserList, FreezePeriod, GenericPackage, Geo, GoProxy, Group, GroupAvatar, GroupExport, GroupImport, HelmPackage, Hook, Import, Integration, Invitation, IssueLink, IssuesStatistic, Job, MavenPackage, Member, MergeRequest, Metadata, Migration, MlModelRegistry, Namespace, Npm, NpmPackage, Nuget, NugetPackage, PackageFile, Page, Participant, PersonalAccessToken, Project, ProjectAvatar, ProjectEntity, ProjectExport, ProjectHook, ProjectImport, ProjectImportEntity, ProjectPackage, ProjectSnippet, ProjectsJobTokenScope, ProtectedTag, Pypi, PypiPackage, Release, ReleaseLink, RemoteMirror, Rpm, RpmPackage, Rubygem, RubygemPackage, Runner, Search, SecureFile, Slack, Snippet, Starrer, SystemHook, Tag, TerraformRegistry, TerraformState, TestReport, TestReportSummary, Topic, UnleashApi, UsageData, User, WebCommit and Wiki — that you call directly, instead of assembling URL paths and query strings. Entities are Capitalised to mark them as the primary surface, each with the operations they support (list, load, create, update, remove, patch):

const client = new GitlabSDK()

Thinking in entities keeps the mental model small — for people and AI agents alike — rather than reasoning about raw HTTP routes and query parameters.

Offline unit testing

Every SDK ships a built-in test mode that swaps the HTTP transport for an in-memory mock, so your unit tests run fully offline — no server, no network, and no credentials:

TypeScript

const client = GitlabSDK.test()
const apientitiesaccessrequesters = await client.ApiEntitiesAccessRequester().list()
// apientitiesaccessrequesters is an array of bare ApiEntitiesAccessRequester records populated with mock data
console.log(apientitiesaccessrequesters)

Python

client = GitlabSDK.test()
apientitiesaccessrequesters = client.ApiEntitiesAccessRequester().list()
print(apientitiesaccessrequesters)

Golang

client := sdk.Test()
result, err := client.ApiEntitiesAccessRequester(nil).List(
    nil, nil,
)

Ruby

# Seed fixture data so offline calls resolve without a live server.
client = GitlabSDK.test({
  "entity" => { "apientitiesaccessrequester" => { "test01" => {} } },
})
apientitiesaccessrequesters = client.ApiEntitiesAccessRequester.list()

Packages

LanguagePackageInstall
TypeScript@voxgig-sdk/gitlabpublish pending — install from git tag
Pythonvoxgig-sdk-gitlabpublish pending — install from git tag
Golanggithub.com/voxgig-sdk/gitlab-sdk/gogo get github.com/voxgig-sdk/gitlab-sdk/go@latest
Rubyvoxgig-sdk-gitlabpublish pending — install from git tag

Quickstart

TypeScript

import { GitlabSDK } from '@voxgig-sdk/gitlab'

const client = new GitlabSDK({
  apikey: process.env.GITLAB_APIKEY,
})


// Load a specific apientitiesbranch (returns a ApiEntitiesBranch)
const apientitiesbranch = await client.ApiEntitiesBranch().load({
  project_id: 'example_project_id',
  id: 'example_id',
})
console.log(apientitiesbranch)

See the TypeScript README for the full guide.

Surfaces

SurfacePath
SDK (TypeScript, Python, Golang, Ruby)ts/ py/ go/ rb/

Entities

The API exposes 276 entities:

EntityDescriptionAPI path
AccessRequestThe AccessRequest entity (remove)./api/v4/groups/{id}/access_requests/{user_id}
AlertManagementThe AlertManagement entity (create, remove)./api/v4/projects/{id}/alert_management_alerts/{alert_iid}/metric_images/authorize
ApiEntitiesAccessRequesterThe ApiEntitiesAccessRequester entity (create, list, update)./api/v4/groups/{id}/access_requests
ApiEntitiesAppearanceThe ApiEntitiesAppearance entity (load, update)./api/v4/application/appearance
ApiEntitiesApplicationThe ApiEntitiesApplication entity (list)./api/v4/applications
ApiEntitiesApplicationStatisticThe ApiEntitiesApplicationStatistic entity (load)./api/v4/application/statistics
ApiEntitiesApplicationWithSecretThe ApiEntitiesApplicationWithSecret entity (create)./api/v4/applications/{id}/renew-secret
ApiEntitiesAvatarThe ApiEntitiesAvatar entity (load)./api/v4/avatar
ApiEntitiesAwardEmojiThe ApiEntitiesAwardEmoji entity (create, list, load)./api/v4/groups/{id}/epics/{epic_iid}/notes/{note_id}/award_emoji
ApiEntitiesBadgeThe ApiEntitiesBadge entity (create, list, load, update)./api/v4/groups/{id}/badges
ApiEntitiesBasicBadgeDetailThe ApiEntitiesBasicBadgeDetail entity (load)./api/v4/groups/{id}/badges/render
ApiEntitiesBasicGroupDetailThe ApiEntitiesBasicGroupDetail entity (create)./api/v4/projects/{id}/job_token_scope/groups_allowlist
ApiEntitiesBasicProjectDetailThe ApiEntitiesBasicProjectDetail entity (create, list)./api/v4/projects/{id}/job_token_scope/allowlist
ApiEntitiesBasicRefThe ApiEntitiesBasicRef entity (list)./api/v4/projects/{id}/repository/commits/{sha}/refs
ApiEntitiesBasicSuccessThe ApiEntitiesBasicSuccess entity (create)./api/v4/integrations/jira_connect/subscriptions
ApiEntitiesBatchedBackgroundMigrationThe ApiEntitiesBatchedBackgroundMigration entity (list, load, update)./api/v4/admin/batched_background_migrations
ApiEntitiesBranchThe ApiEntitiesBranch entity (create, list, load, update)./api/v4/projects/{id}/repository/branches
ApiEntitiesBulkImportThe ApiEntitiesBulkImport entity (create, list, load)./api/v4/bulk_imports
ApiEntitiesBulkImportsEntityFailureThe ApiEntitiesBulkImportsEntityFailure entity (load)./api/v4/bulk_imports/{import_id}/entities/{entity_id}/failures
ApiEntitiesBulkImportsExportStatusThe ApiEntitiesBulkImportsExportStatus entity (list)./api/v4/groups/{id}/export_relations/status
ApiEntitiesChangelogThe ApiEntitiesChangelog entity (load)./api/v4/projects/{id}/repository/changelog
ApiEntitiesCiBridgeThe ApiEntitiesCiBridge entity (list)./api/v4/projects/{id}/pipelines/{pipeline_id}/bridges
ApiEntitiesCiCatalogResourcesVersionThe ApiEntitiesCiCatalogResourcesVersion entity (create)./api/v4/projects/{id}/catalog/publish
ApiEntitiesCiJobThe ApiEntitiesCiJob entity (create, list, load)./api/v4/projects/{id}/jobs/{job_id}/cancel
ApiEntitiesCiJobBasicThe ApiEntitiesCiJobBasic entity (create, list)./api/v4/projects/{id}/jobs/{job_id}/play
ApiEntitiesCiJobBasicWithProjectThe ApiEntitiesCiJobBasicWithProject entity (load)./api/v4/runners/{id}/jobs
ApiEntitiesCiLintResultThe ApiEntitiesCiLintResult entity (create, list)./api/v4/projects/{id}/ci/lint
ApiEntitiesCiPipelineThe ApiEntitiesCiPipeline entity (create)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/pipelines
ApiEntitiesCiPipelineBasicThe ApiEntitiesCiPipelineBasic entity (list, load)./api/v4/projects/{id}/pipelines
ApiEntitiesCiPipelineScheduleThe ApiEntitiesCiPipelineSchedule entity (list)./api/v4/projects/{id}/pipeline_schedules
ApiEntitiesCiPipelineScheduleDetailThe ApiEntitiesCiPipelineScheduleDetail entity (create, load, update)./api/v4/projects/{id}/pipeline_schedules/{pipeline_schedule_id}/take_ownership
ApiEntitiesCiResetTokenResultThe ApiEntitiesCiResetTokenResult entity (create)./api/v4/groups/{id}/runners/reset_registration_token
ApiEntitiesCiResourceGroupThe ApiEntitiesCiResourceGroup entity (list, load, update)./api/v4/projects/{id}/resource_groups
ApiEntitiesCiRunnerThe ApiEntitiesCiRunner entity (create, load)./api/v4/projects/{id}/runners
ApiEntitiesCiRunnerDetailThe ApiEntitiesCiRunnerDetail entity (load, update)./api/v4/runners/{id}
ApiEntitiesCiRunnerManagerThe ApiEntitiesCiRunnerManager entity (load)./api/v4/runners/{id}/managers
ApiEntitiesCiRunnerRegistrationDetailThe ApiEntitiesCiRunnerRegistrationDetail entity (create)./api/v4/runners
ApiEntitiesCiSecureFileThe ApiEntitiesCiSecureFile entity (create, load)./api/v4/projects/{id}/secure_files
ApiEntitiesCiVariableThe ApiEntitiesCiVariable entity (create, list, load, update)./api/v4/projects/{id}/pipeline_schedules/{pipeline_schedule_id}/variables
ApiEntitiesClusterThe ApiEntitiesCluster entity (create, list, load, update)./api/v4/admin/clusters/add
ApiEntitiesClusterGroupThe ApiEntitiesClusterGroup entity (create, load, update)./api/v4/groups/{id}/clusters/user
ApiEntitiesClusterProjectThe ApiEntitiesClusterProject entity (create, load, update)./api/v4/projects/{id}/clusters/user
ApiEntitiesClustersAgentThe ApiEntitiesClustersAgent entity (create, load)./api/v4/projects/{id}/cluster_agents
ApiEntitiesClustersAgentTokenThe ApiEntitiesClustersAgentToken entity (load)./api/v4/projects/{id}/cluster_agents/{agent_id}/tokens/{token_id}
ApiEntitiesClustersAgentTokenBasicThe ApiEntitiesClustersAgentTokenBasic entity (load)./api/v4/projects/{id}/cluster_agents/{agent_id}/tokens
ApiEntitiesClustersAgentTokenWithTokenThe ApiEntitiesClustersAgentTokenWithToken entity (create)./api/v4/projects/{id}/cluster_agents/{agent_id}/tokens
ApiEntitiesCommitThe ApiEntitiesCommit entity (create, list)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/context_commits
ApiEntitiesCommitDetailThe ApiEntitiesCommitDetail entity (create, load, update)./api/v4/projects/{id}/repository/commits
ApiEntitiesCommitNoteThe ApiEntitiesCommitNote entity (create, list)./api/v4/projects/{id}/repository/commits/{sha}/comments
ApiEntitiesCommitSequenceThe ApiEntitiesCommitSequence entity (load)./api/v4/projects/{id}/repository/commits/{sha}/sequence
ApiEntitiesCommitSignatureThe ApiEntitiesCommitSignature entity (load)./api/v4/projects/{id}/repository/commits/{sha}/signature
ApiEntitiesCommitStatusThe ApiEntitiesCommitStatus entity (create, list)./api/v4/projects/{id}/statuses/{sha}
ApiEntitiesCompareThe ApiEntitiesCompare entity (list)./api/v4/projects/{id}/repository/compare
ApiEntitiesContainerRegistryRepositoryThe ApiEntitiesContainerRegistryRepository entity (list, load)./api/v4/projects/{id}/registry/repositories
ApiEntitiesContainerRegistryTagThe ApiEntitiesContainerRegistryTag entity (list)./api/v4/projects/{id}/registry/repositories/{repository_id}/tags
ApiEntitiesContainerRegistryTagDetailThe ApiEntitiesContainerRegistryTagDetail entity (load)./api/v4/projects/{id}/registry/repositories/{repository_id}/tags/{tag_name}
ApiEntitiesContributorThe ApiEntitiesContributor entity (load)./api/v4/projects/{id}/repository/contributors
ApiEntitiesDeployKeyThe ApiEntitiesDeployKey entity (create, list, update)./api/v4/projects/{id}/deploy_keys/{key_id}/enable
ApiEntitiesDeployKeysProjectThe ApiEntitiesDeployKeysProject entity (create, list, load)./api/v4/projects/{id}/deploy_keys
ApiEntitiesDeployTokenThe ApiEntitiesDeployToken entity (list, load)./api/v4/groups/{id}/deploy_tokens
ApiEntitiesDeployTokenWithTokenThe ApiEntitiesDeployTokenWithToken entity (create)./api/v4/groups/{id}/deploy_tokens
ApiEntitiesDeploymentThe ApiEntitiesDeployment entity (list)./api/v4/projects/{id}/deployments
ApiEntitiesDeploymentExtendedThe ApiEntitiesDeploymentExtended entity (create, load, update)./api/v4/projects/{id}/deployments
ApiEntitiesDeploymentsApprovalThe ApiEntitiesDeploymentsApproval entity (create)./api/v4/projects/{id}/deployments/{deployment_id}/approval
ApiEntitiesDictionaryTableThe ApiEntitiesDictionaryTable entity (load)./api/v4/admin/databases/{database_name}/dictionary/tables/{table_name}
ApiEntitiesDiffThe ApiEntitiesDiff entity (list, load)./api/v4/projects/{id}/repository/commits/{sha}/diff
ApiEntitiesDiscoveredClusterThe ApiEntitiesDiscoveredCluster entity (load)./api/v4/discover-cert-based-clusters
ApiEntitiesDraftNoteThe ApiEntitiesDraftNote entity (create, list, load, update)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/draft_notes
ApiEntitiesEnvironmentThe ApiEntitiesEnvironment entity (create, list, load, update)./api/v4/projects/{id}/environments/{environment_id}/stop
ApiEntitiesErrorTrackingClientKeyThe ApiEntitiesErrorTrackingClientKey entity (create, list)./api/v4/projects/{id}/error_tracking/client_keys
ApiEntitiesErrorTrackingProjectSettingThe ApiEntitiesErrorTrackingProjectSetting entity (load, patch, update)./api/v4/projects/{id}/error_tracking/settings
ApiEntitiesEventThe ApiEntitiesEvent entity (list, load)./api/v4/events
ApiEntitiesFeatureThe ApiEntitiesFeature entity (create, list)./api/v4/features/{name}
ApiEntitiesFeatureDefinitionThe ApiEntitiesFeatureDefinition entity (list)./api/v4/features/definitions
ApiEntitiesFeatureFlagThe ApiEntitiesFeatureFlag entity (create, list, load, update)./api/v4/projects/{id}/feature_flags
ApiEntitiesFeatureFlagUserListThe ApiEntitiesFeatureFlagUserList entity (create, list, load, update)./api/v4/projects/{id}/feature_flags_user_lists
ApiEntitiesFreezePeriodThe ApiEntitiesFreezePeriod entity (create, list, load, update)./api/v4/projects/{id}/freeze_periods
ApiEntitiesGitlabSubscriptionThe ApiEntitiesGitlabSubscription entity (load)./api/v4/namespaces/{id}/gitlab_subscription
ApiEntitiesGoModuleVersionThe ApiEntitiesGoModuleVersion entity (load)./api/v4/projects/{id}/packages/go/*module_name/@v/{module_version}.info
ApiEntitiesGroupThe ApiEntitiesGroup entity (create, list, load, update)./api/v4/groups/{id}/archive
ApiEntitiesGroupDetailThe ApiEntitiesGroupDetail entity (create, load)./api/v4/groups/{id}/share
ApiEntitiesHookThe ApiEntitiesHook entity (create, list, load, update)./api/v4/hooks
ApiEntitiesIntegrationThe ApiEntitiesIntegration entity (load)./api/v4/groups/{id}/integrations/{slug}
ApiEntitiesIntegrationBasicThe ApiEntitiesIntegrationBasic entity (list, update)./api/v4/groups/{id}/integrations
ApiEntitiesInvitationThe ApiEntitiesInvitation entity (create, list, update)./api/v4/groups/{id}/invitations
ApiEntitiesIssuableTimeStatThe ApiEntitiesIssuableTimeStat entity (create, load)./api/v4/projects/{id}/issues/{issue_iid}/add_spent_time
ApiEntitiesIssueThe ApiEntitiesIssue entity (create, list, load, update)./api/v4/projects/{id}/issues/{issue_iid}/clone
ApiEntitiesIssueLinkThe ApiEntitiesIssueLink entity (create, load)./api/v4/projects/{id}/issues/{issue_iid}/links
ApiEntitiesLicenseThe ApiEntitiesLicense entity (list)./api/v4/projects/{id}/templates/{type}/{name}
ApiEntitiesMarkdownThe ApiEntitiesMarkdown entity (create)./api/v4/markdown
ApiEntitiesMarkdownUploadAdminThe ApiEntitiesMarkdownUploadAdmin entity (list)./api/v4/groups/{id}/uploads
ApiEntitiesMemberThe ApiEntitiesMember entity (create, list, load, remove, update)./api/v4/groups/{id}/members/{user_id}/override
ApiEntitiesMergeThe ApiEntitiesMerge entity (create, load, update)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/cancel_merge_when_pipeline_succeeds
ApiEntitiesMergeRequestApprovalThe ApiEntitiesMergeRequestApproval entity (create, load)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/approve
ApiEntitiesMergeRequestBasicThe ApiEntitiesMergeRequestBasic entity (list, load)./api/v4/projects/{id}/deployments/{deployment_id}/merge_requests
ApiEntitiesMergeRequestChangeThe ApiEntitiesMergeRequestChange entity (load)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/changes
ApiEntitiesMergeRequestDiffThe ApiEntitiesMergeRequestDiff entity (list)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/versions
ApiEntitiesMergeRequestDiffFullThe ApiEntitiesMergeRequestDiffFull entity (load)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/versions/{version_id}
ApiEntitiesMergeRequestReviewerThe ApiEntitiesMergeRequestReviewer entity (load)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/reviewers
ApiEntitiesMetricImageThe ApiEntitiesMetricImage entity (create, list, update)./api/v4/projects/{id}/alert_management_alerts/{alert_iid}/metric_images
ApiEntitiesMrNoteThe ApiEntitiesMrNote entity (load)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/closes_issues
ApiEntitiesNamespaceThe ApiEntitiesNamespace entity (list, load, update)./api/v4/namespaces
ApiEntitiesNamespaceExistenceThe ApiEntitiesNamespaceExistence entity (list)./api/v4/namespaces/{id}/exists
ApiEntitiesNamespacesStorageLimitExclusionThe ApiEntitiesNamespacesStorageLimitExclusion entity (create, load)./api/v4/namespaces/{id}/storage/limit_exclusion
ApiEntitiesNpmPackageThe ApiEntitiesNpmPackage entity (load)./api/v4/groups/{id}/-/packages/npm/*package_name
ApiEntitiesNpmPackageTagThe ApiEntitiesNpmPackageTag entity (load)./api/v4/groups/{id}/-/packages/npm/-/package/*package_name/dist-tags
ApiEntitiesNugetPackagesVersionThe ApiEntitiesNugetPackagesVersion entity (list)./api/v4/projects/{id}/packages/nuget/download/*package_name/index
ApiEntitiesNugetSearchResultThe ApiEntitiesNugetSearchResult entity (list)./api/v4/groups/{id}/-/packages/nuget/query
ApiEntitiesNugetServiceIndexThe ApiEntitiesNugetServiceIndex entity (list)./api/v4/groups/{id}/-/packages/nuget/index
ApiEntitiesOrganizationsOrganizationThe ApiEntitiesOrganizationsOrganization entity (create)./api/v4/organizations
ApiEntitiesPackageThe ApiEntitiesPackage entity (list, load)./api/v4/groups/{id}/packages
ApiEntitiesPackageFileThe ApiEntitiesPackageFile entity (list)./api/v4/projects/{id}/packages/{package_id}/package_files
ApiEntitiesPackagePipelineThe ApiEntitiesPackagePipeline entity (load)./api/v4/projects/{id}/packages/{package_id}/pipelines
ApiEntitiesPackagesConanFilesListThe ApiEntitiesPackagesConanFilesList entity (load)./api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/revisions/{package_revision}/files
ApiEntitiesPackagesConanPackageManifestThe ApiEntitiesPackagesConanPackageManifest entity (load)./api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/digest
ApiEntitiesPackagesConanPackageRevisionThe ApiEntitiesPackagesConanPackageRevision entity (list)./api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/revisions
ApiEntitiesPackagesConanPackageSnapshotThe ApiEntitiesPackagesConanPackageSnapshot entity (load)./api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}
ApiEntitiesPackagesConanRecipeManifestThe ApiEntitiesPackagesConanRecipeManifest entity (load)./api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/digest
ApiEntitiesPackagesConanRecipeRevisionThe ApiEntitiesPackagesConanRecipeRevision entity (list)./api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions
ApiEntitiesPackagesConanRecipeSnapshotThe ApiEntitiesPackagesConanRecipeSnapshot entity (load)./api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}
ApiEntitiesPackagesConanRevisionThe ApiEntitiesPackagesConanRevision entity (load)./api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/latest
ApiEntitiesPackagesConanUploadUrlThe ApiEntitiesPackagesConanUploadUrl entity (create)./api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/upload_urls
ApiEntitiesPackagesDebianDistributionThe ApiEntitiesPackagesDebianDistribution entity (create, list, load, update)./api/v4/groups/{id}/-/debian_distributions
ApiEntitiesPagesDomainThe ApiEntitiesPagesDomain entity (create, list, load, update)./api/v4/projects/{id}/pages/domains
ApiEntitiesPagesDomainBasicThe ApiEntitiesPagesDomainBasic entity (load)./api/v4/pages/domains
ApiEntitiesPersonalAccessTokenThe ApiEntitiesPersonalAccessToken entity (list)./api/v4/personal_access_tokens/self/associations
ApiEntitiesPersonalAccessTokenWithLastUsedIpThe ApiEntitiesPersonalAccessTokenWithLastUsedIp entity (list, load)./api/v4/personal_access_tokens
ApiEntitiesPersonalAccessTokenWithTokenThe ApiEntitiesPersonalAccessTokenWithToken entity (create)./api/v4/personal_access_tokens/{id}/rotate
ApiEntitiesPersonalSnippetThe ApiEntitiesPersonalSnippet entity (create, list, load, update)./api/v4/snippets
ApiEntitiesPlanLimitThe ApiEntitiesPlanLimit entity (load, update)./api/v4/application/plan_limits
ApiEntitiesProjectThe ApiEntitiesProject entity (create, list, update)./api/v4/projects/{id}/fork/{forked_from_id}
ApiEntitiesProjectDailyStatisticThe ApiEntitiesProjectDailyStatistic entity (load)./api/v4/projects/{id}/statistics
ApiEntitiesProjectExportStatusThe ApiEntitiesProjectExportStatus entity (load)./api/v4/projects/{id}/export
ApiEntitiesProjectGroupLinkThe ApiEntitiesProjectGroupLink entity (create)./api/v4/projects/{id}/share
ApiEntitiesProjectHookThe ApiEntitiesProjectHook entity (create, list, load, update)./api/v4/projects/{id}/hooks
ApiEntitiesProjectImportStatusThe ApiEntitiesProjectImportStatus entity (create, list)./api/v4/projects/import
ApiEntitiesProjectJobTokenScopeThe ApiEntitiesProjectJobTokenScope entity (load)./api/v4/projects/{id}/job_token_scope
ApiEntitiesProjectRepositoryStorageThe ApiEntitiesProjectRepositoryStorage entity (load)./api/v4/projects/{id}/storage
ApiEntitiesProjectSnippetThe ApiEntitiesProjectSnippet entity (create, list, load, update)./api/v4/projects/{id}/snippets
ApiEntitiesProjectUploadThe ApiEntitiesProjectUpload entity (create)./api/v4/projects/{id}/uploads
ApiEntitiesProjectWithAccessThe ApiEntitiesProjectWithAccess entity (load)./api/v4/projects/{id}
ApiEntitiesProjectsContainerRegistryProtectionRuleThe ApiEntitiesProjectsContainerRegistryProtectionRule entity (create, list, update)./api/v4/projects/{id}/registry/protection/repository/rules
ApiEntitiesProjectsPackagesProtectionRuleThe ApiEntitiesProjectsPackagesProtectionRule entity (create, list, update)./api/v4/projects/{id}/packages/protection/rules
ApiEntitiesProjectsTopicThe ApiEntitiesProjectsTopic entity (create, load, update)./api/v4/topics
ApiEntitiesProtectedBranchThe ApiEntitiesProtectedBranch entity (create, list, load, update)./api/v4/projects/{id}/protected_branches
ApiEntitiesProtectedTagThe ApiEntitiesProtectedTag entity (create, list, load)./api/v4/projects/{id}/protected_tags
ApiEntitiesPublicGroupDetailThe ApiEntitiesPublicGroupDetail entity (list)./api/v4/projects/{id}/groups
ApiEntitiesRelatedIssueThe ApiEntitiesRelatedIssue entity (list)./api/v4/projects/{id}/issues/{issue_iid}/links
ApiEntitiesRelationImportTrackerThe ApiEntitiesRelationImportTracker entity (create)./api/v4/projects/import-relation
ApiEntitiesReleaseThe ApiEntitiesRelease entity (create, list, load, update)./api/v4/projects/{id}/releases
ApiEntitiesReleasesLinkThe ApiEntitiesReleasesLink entity (create, list, load, update)./api/v4/projects/{id}/releases/{tag_name}/assets/links
ApiEntitiesRemoteMirrorThe ApiEntitiesRemoteMirror entity (create, list, load, update)./api/v4/projects/{id}/remote_mirrors
ApiEntitiesRepositoryHealthThe ApiEntitiesRepositoryHealth entity (load)./api/v4/projects/{id}/repository/health
ApiEntitiesResourceAccessTokenWithTokenThe ApiEntitiesResourceAccessTokenWithToken entity (create)./api/v4/groups/{id}/access_tokens/self/rotate
ApiEntitiesResourceMilestoneEventThe ApiEntitiesResourceMilestoneEvent entity (list, load)./api/v4/projects/{id}/issues/{eventable_id}/resource_milestone_events
ApiEntitiesSnippetThe ApiEntitiesSnippet entity (list)./api/v4/snippets/all
ApiEntitiesSshKeyWithUserThe ApiEntitiesSshKeyWithUser entity (load)./api/v4/keys/{id}
ApiEntitiesSuggestionThe ApiEntitiesSuggestion entity (update)./api/v4/suggestions/{id}/apply
ApiEntitiesSystemBroadcastMessageThe ApiEntitiesSystemBroadcastMessage entity (create, load, remove, update)./api/v4/broadcast_messages
ApiEntitiesTagThe ApiEntitiesTag entity (create, list, load)./api/v4/projects/{id}/repository/tags
ApiEntitiesTagSignatureThe ApiEntitiesTagSignature entity (load)./api/v4/projects/{id}/repository/tags/{tag_name}/signature
ApiEntitiesTemplatesListThe ApiEntitiesTemplatesList entity (load)./api/v4/projects/{id}/templates/{type}
ApiEntitiesTerraformModuleVersionThe ApiEntitiesTerraformModuleVersion entity (list, load)./api/v4/packages/terraform/modules/v1/{module_namespace}/{module_name}/{module_system}/versions
ApiEntitiesTreeObjectThe ApiEntitiesTreeObject entity (load)./api/v4/projects/{id}/repository/tree
ApiEntitiesTriggerThe ApiEntitiesTrigger entity (create, list, load, update)./api/v4/projects/{id}/triggers
ApiEntitiesUserAgentDetailThe ApiEntitiesUserAgentDetail entity (load)./api/v4/projects/{id}/issues/{issue_iid}/user_agent_detail
ApiEntitiesUserCountThe ApiEntitiesUserCount entity (load)./api/v4/user_counts
ApiEntitiesUserPublicThe ApiEntitiesUserPublic entity (list)./api/v4/groups/{id}/provisioned_users
ApiEntitiesUserWithAdminThe ApiEntitiesUserWithAdmin entity (list)./api/v4/keys
ApiEntitiesWikiAttachmentThe ApiEntitiesWikiAttachment entity (create)./api/v4/groups/{id}/wikis/attachments
ApiEntitiesWikiPageThe ApiEntitiesWikiPage entity (create, load, update)./api/v4/groups/{id}/wikis
ApiEntitiesWikiPageBasicThe ApiEntitiesWikiPageBasic entity (list)./api/v4/groups/{id}/wikis
ApplicationThe Application entity (remove)./api/v4/applications/{id}
AwardEmojiThe AwardEmoji entity (remove)./api/v4/groups/{id}/epics/{epic_iid}/notes/{note_id}/award_emoji/{award_id}
BadgeThe Badge entity (remove)./api/v4/groups/{id}/badges/{badge_id}
BranchThe Branch entity (remove)./api/v4/projects/{id}/repository/branches/{branch}
CargoPackageThe CargoPackage entity (load)./api/v4/projects/{id}/packages/cargo/config.json
CiVariableThe CiVariable entity (remove)./api/v4/projects/{id}/variables/{key}
ClusterThe Cluster entity (remove)./api/v4/groups/{id}/clusters/{cluster_id}
ClusterAgentThe ClusterAgent entity (remove)./api/v4/projects/{id}/cluster_agents/{agent_id}/tokens/{token_id}
ComposerThe Composer entity (create)./api/v4/projects/{id}/packages/composer
ComposerPackageThe ComposerPackage entity (load)./api/v4/projects/{id}/packages/composer/archives/*package_name
ConanThe Conan entity (remove)./api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}
ConanPackageThe ConanPackage entity (load, remove, update)./api/v4/projects/{id}/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/package/{conan_package_reference}/{package_revision}/{file_name}
ContainerRegistryThe ContainerRegistry entity (remove)./api/v4/projects/{id}/registry/repositories/{repository_id}/tags
ContainerRegistryEventThe ContainerRegistryEvent entity (create)./api/v4/container_registry_event/events
CustomAttributeThe CustomAttribute entity (load)./api/v4/groups/{id}/custom_attributes/{key}
DebianThe Debian entity (update)./api/v4/projects/{id}/packages/debian/{file_name}
DebianDistributionThe DebianDistribution entity (remove)./api/v4/groups/{id}/-/debian_distributions/{codename}
DebianPackageThe DebianPackage entity (load, update)./api/v4/groups/{id}/-/packages/debian/pool/{distribution}/{project_id}/{letter}/{package_name}/{package_version}/{file_name}
DependencyProxyThe DependencyProxy entity (remove)./api/v4/groups/{id}/dependency_proxy/cache
DeployKeyThe DeployKey entity (remove)./api/v4/projects/{id}/deploy_keys/{key_id}
DeployTokenThe DeployToken entity (remove)./api/v4/groups/{id}/deploy_tokens/{token_id}
DeploymentThe Deployment entity (remove)./api/v4/projects/{id}/deployments/{deployment_id}
EeApiEntitiesApprovalStateThe EeApiEntitiesApprovalState entity (create)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/approvals
EeApiEntitiesAuditEventThe EeApiEntitiesAuditEvent entity (list, load)./api/v4/groups/{id}/audit_events
EeApiEntitiesBillableMembershipThe EeApiEntitiesBillableMembership entity (load)./api/v4/groups/{id}/billable_members/{user_id}/indirect
EeApiEntitiesGeoNodeStatusThe EeApiEntitiesGeoNodeStatus entity (create)./api/v4/geo/status
EeApiEntitiesGeoPipelineRefThe EeApiEntitiesGeoPipelineRef entity (list)./api/v4/geo/repositories/{gl_repository}/pipeline_refs
EeApiEntitiesIssuableMetricImageThe EeApiEntitiesIssuableMetricImage entity (create, remove, update)./api/v4/projects/{id}/issues/{issue_iid}/metric_images
EeApiEntitiesMergeRequestApprovalStateThe EeApiEntitiesMergeRequestApprovalState entity (list)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/approval_state
EeApiEntitiesSshCertificateThe EeApiEntitiesSshCertificate entity (create, list)./api/v4/groups/{id}/ssh_certificates
EnvironmentThe Environment entity (create, remove)./api/v4/projects/{id}/environments/stop_stale
ErrorTrackingClientKeyThe ErrorTrackingClientKey entity (remove)./api/v4/projects/{id}/error_tracking/client_keys/{key_id}
FeatureThe Feature entity (remove)./api/v4/features/{name}
FeatureFlagThe FeatureFlag entity (create, load, remove)./api/v4/feature_flags/unleash/{project_id}/client/metrics
FeatureFlagsUserListThe FeatureFlagsUserList entity (remove)./api/v4/projects/{id}/feature_flags_user_lists/{iid}
FreezePeriodThe FreezePeriod entity (remove)./api/v4/projects/{id}/freeze_periods/{freeze_period_id}
GenericPackageThe GenericPackage entity (load, update)./api/v4/projects/{id}/packages/generic/{package_name}/*package_version/(*path/){file_name}
GeoThe Geo entity (create, load)./api/v4/geo/node_proxy/{id}/graphql
GoProxyThe GoProxy entity (load)./api/v4/projects/{id}/packages/go/*module_name/@v/{module_version}.mod
GroupThe Group entity (create, load, remove, update)./api/v4/groups/{id}/placeholder_reassignments
GroupAvatarThe GroupAvatar entity (load)./api/v4/groups/{id}/avatar
GroupExportThe GroupExport entity (create, load)./api/v4/groups/{id}/export_relations
GroupImportThe GroupImport entity (create)./api/v4/groups/import
HelmPackageThe HelmPackage entity (create, load)./api/v4/projects/{id}/packages/helm/api/{channel}/charts
HookThe Hook entity (create, remove, update)./api/v4/hooks/{hook_id}
ImportThe Import entity (create)./api/v4/import/github/gists
IntegrationThe Integration entity (create, remove)./api/v4/projects/{id}/integrations/mattermost_slash_commands/trigger
InvitationThe Invitation entity (remove)./api/v4/groups/{id}/invitations/{email}
IssueLinkThe IssueLink entity (remove)./api/v4/projects/{id}/issues/{issue_iid}/links/{issue_link_id}
IssuesStatisticThe IssuesStatistic entity (load)./api/v4/issues_statistics
JobThe Job entity (create, load, patch, update)./api/v4/jobs/{id}/artifacts
MavenPackageThe MavenPackage entity (load, update)./api/v4/groups/{id}/-/packages/maven/*path/{file_name}
MemberThe Member entity (remove)./api/v4/groups/{id}/members/{user_id}
MergeRequestThe MergeRequest entity (load, remove, update)./api/v4/projects/{id}/merge_requests/{merge_request_iid}/related_issues
MetadataThe Metadata entity (load)./api/v4/metadata
MigrationThe Migration entity (create)./api/v4/admin/migrations/{timestamp}/mark
MlModelRegistryThe MlModelRegistry entity (load, update)./api/v4/projects/{id}/packages/ml_models/{model_version_id}/files/(*path/){file_name}
NamespaceThe Namespace entity (remove)./api/v4/namespaces/{id}/storage/limit_exclusion
NpmThe Npm entity (update)./api/v4/projects/{id}/packages/npm/{package_name}
NpmPackageThe NpmPackage entity (create, load, remove, update)./api/v4/groups/{id}/-/packages/npm/-/npm/v1/security/advisories/bulk
NugetThe Nuget entity (update)./api/v4/projects/{id}/packages/nuget
NugetPackageThe NugetPackage entity (list, load, remove, update)./api/v4/groups/{id}/-/packages/nuget/metadata/*package_name/index
PackageFileThe PackageFile entity (load, remove)./api/v4/projects/{id}/packages/{package_id}/package_files/{package_file_id}/download
PageThe Page entity (load, remove, update)./api/v4/projects/{id}/pages
ParticipantThe Participant entity (list)./api/v4/projects/{id}/issues/{issue_iid}/participants
PersonalAccessTokenThe PersonalAccessToken entity (remove)./api/v4/personal_access_tokens/{id}
ProjectThe Project entity (create, load, remove, update)./api/v4/projects/{id}/hooks/{hook_id}/events/{hook_log_id}/resend
ProjectAvatarThe ProjectAvatar entity (load)./api/v4/projects/{id}/avatar
ProjectEntityThe ProjectEntity entity (create)./api/v4/import/bitbucket_server
ProjectExportThe ProjectExport entity (create, load)./api/v4/projects/{id}/export
ProjectHookThe ProjectHook entity (remove)./api/v4/projects/{id}/hooks/{hook_id}
ProjectImportThe ProjectImport entity (create)./api/v4/projects/import-relation/authorize
ProjectImportEntityThe ProjectImportEntity entity (create)./api/v4/import/bitbucket
ProjectPackageThe ProjectPackage entity (remove)./api/v4/projects/{id}/packages/{package_id}
ProjectSnippetThe ProjectSnippet entity (remove)./api/v4/projects/{id}/snippets/{snippet_id}
ProjectsJobTokenScopeThe ProjectsJobTokenScope entity (remove, update)./api/v4/projects/{id}/job_token_scope/groups_allowlist/{target_group_id}
ProtectedTagThe ProtectedTag entity (remove)./api/v4/projects/{id}/protected_tags/{name}
PypiThe Pypi entity (create)./api/v4/projects/{id}/packages/pypi
PypiPackageThe PypiPackage entity (create, load)./api/v4/projects/{id}/packages/pypi/authorize
ReleaseThe Release entity (load, remove)./api/v4/projects/{id}/releases/{tag_name}/downloads/*direct_asset_path
ReleaseLinkThe ReleaseLink entity (remove)./api/v4/projects/{id}/releases/{tag_name}/assets/links/{link_id}
RemoteMirrorThe RemoteMirror entity (create, load, remove)./api/v4/projects/{id}/remote_mirrors/{mirror_id}/sync
RpmThe Rpm entity (create)./api/v4/projects/{id}/packages/rpm
RpmPackageThe RpmPackage entity (create, load)./api/v4/projects/{id}/packages/rpm/authorize
RubygemThe Rubygem entity (load)./api/v4/projects/{id}/packages/rubygems/{file_name}
RubygemPackageThe RubygemPackage entity (create, load)./api/v4/projects/{id}/packages/rubygems/api/v1/gems
RunnerThe Runner entity (create, remove)./api/v4/runners/verify
SearchThe Search entity (load)./api/v4/search
SecureFileThe SecureFile entity (load, remove)./api/v4/projects/{id}/secure_files/{secure_file_id}/download
SlackThe Slack entity (create)./api/v4/slack/trigger
SnippetThe Snippet entity (load, remove)./api/v4/snippets/{id}/files/{ref}/{file_path}/raw
StarrerThe Starrer entity (list)./api/v4/projects/{id}/starrers
SystemHookThe SystemHook entity (remove)./api/v4/hooks/{hook_id}
TagThe Tag entity (remove)./api/v4/projects/{id}/repository/tags/{tag_name}
TerraformRegistryThe TerraformRegistry entity (load, update)./api/v4/projects/{id}/packages/terraform/modules/{module_name}/{module_system}/*module_version
TerraformStateThe TerraformState entity (create, load, remove)./api/v4/projects/{id}/terraform/state/{name}/lock
TestReportThe TestReport entity (list)./api/v4/projects/{id}/pipelines/{pipeline_id}/test_report
TestReportSummaryThe TestReportSummary entity (load)./api/v4/projects/{id}/pipelines/{pipeline_id}/test_report_summary
TopicThe Topic entity (remove)./api/v4/topics/{id}
UnleashApiThe UnleashApi entity (load)./api/v4/feature_flags/unleash/{project_id}/features
UsageDataThe UsageData entity (create, load)./api/v4/usage_data/increment_counter
UserThe User entity (list)./api/v4/projects/{id}/users
WebCommitThe WebCommit entity (load)./api/v4/web_commits/public_key
WikiThe Wiki entity (remove)./api/v4/groups/{id}/wikis/{slug}

The operations available across these entities are load, list, create, update, remove — see each entity’s own list above for exactly which it supports.

Quickstart in other languages

Python

import os
from gitlab_sdk import GitlabSDK

client = GitlabSDK({
    "apikey": os.environ.get("GITLAB_APIKEY"),
})

Golang

import sdk "github.com/voxgig-sdk/gitlab-sdk/go"

client := sdk.NewGitlabSDK(map[string]any{
    "apikey": os.Getenv("GITLAB_APIKEY"),
})


// Load a specific apientitiesbranch
apiEntitiesBranch, err := client.ApiEntitiesBranch(nil).Load(
    map[string]any{"project_id": "example_project_id", "id": "example_id"}, nil,
)
if err != nil {
    panic(err)
}
fmt.Println(apiEntitiesBranch)

Ruby

require_relative "Gitlab_sdk"

client = GitlabSDK.new({
  "apikey" => ENV["GITLAB_APIKEY"],
})

Direct and prepare

For endpoints the entity model doesn’t cover, use the low-level methods:

  • direct(fetchargs) — build and send an HTTP request in one step.
  • prepare(fetchargs) — build the request without sending it.

Both accept a map with path, method, params, query, headers, and body. See the How-to guides below.

How-to guides

Make a direct API call

When the entity interface does not cover an endpoint, use direct:

TypeScript:

const result = await client.direct({
  path: '/api/resource/{id}',
  method: 'GET',
  params: { id: 'example' },
})
if (result instanceof Error) {
  throw result
}
console.log(result.data)

Python:

result = client.direct({
    "path": "/api/resource/{id}",
    "method": "GET",
    "params": {"id": "example"},
})

Go:

result, err := client.Direct(map[string]any{
    "path":   "/api/resource/{id}",
    "method": "GET",
    "params": map[string]any{"id": "example"},
})
if err != nil {
    panic(err)
}
fmt.Println(result)

Ruby:

result = client.direct({
  "path" => "/api/resource/{id}",
  "method" => "GET",
  "params" => { "id" => "example" },
})

Advanced

Everyday use only needs the sections above. This explains the internals behind every call — relevant when writing custom features.

Every SDK call runs the same five-stage pipeline:

  1. Point — resolve the API endpoint from the operation definition.
  2. Spec — build the HTTP specification (URL, method, headers, body).
  3. Request — send the HTTP request.
  4. Response — receive and parse the response.
  5. Result — extract the result data for the caller.

A feature hook fires at each stage (e.g. PrePoint, PreSpec, PreRequest), so features can inspect or modify the pipeline without forking the SDK.

Features

FeaturePurpose
TestFeatureIn-memory mock transport for testing without a live server

Pass custom features via the extend option at construction time.

Per-language documentation

Upstream API

This SDK is generated from the upstream OpenAPI specification. It is an unofficial client and is not affiliated with the API provider.

Security

Please report security issues to security@voxgig.com. See SECURITY.md. Do not open public issues for suspected vulnerabilities.


Generated from the GitLab API OpenAPI spec by @voxgig/sdkgen.

Get the Voxgig dispatch

Short notes on building SDKs, CLIs, REPLs, and MCPs for API-first teams, plus the occasional Fireside episode pick.

By signing up you agree to our Terms and Conditions.