GitLab

Published on May 25th, 2026

Introduction

The Context Store has several GitLab templated Data Sources to allow users to quickly pull relevant data into their Data Store. These templates are a starting point and often you'll want to apply filters or chained Data Sources to modify these templates to suit your needs.

Authentication

The built-in gitlab integration is token-based, using a Personal Access Token (PAT).

Pre-built Data Sources

This table lists the GitLab API permissions needed for the GitLab data source seeds currently defined in this repo.

Permissions below are expressed as GitLab Personal Access Token scopes.

Data source seedGitLab endpoint(s) usedRecommended PAT scope(s)
GitLab projectsGET /api/v4/projectsread_api
GitLab groupsGET /api/v4/groups?all_available=trueread_api
GitLab merge requestsGET /api/v4/projects then GET /api/v4/projects/{id}/merge_requests?state=openedread_api
GitLab issuesGET /api/v4/projects then GET /api/v4/projects/{id}/issues?state=openedread_api
GitLab group membersGET /api/v4/groups then GET /api/v4/groups/{id}/membersread_api
GitLab project membersGET /api/v4/projects then GET /api/v4/projects/{id}/members/allread_api
GitLab tagsGET /api/v4/projects then GET /api/v4/projects/{id}/repository/tagsread_api
GitLab releasesGET /api/v4/projects then GET /api/v4/projects/{id}/releasesread_api
GitLab pipelinesGET /api/v4/projects then GET /api/v4/projects/{id}/pipelinesread_api
GitLab environmentsGET /api/v4/projects then GET /api/v4/projects/{id}/environmentsread_api
GitLab deploymentsGET /api/v4/projects then GET /api/v4/projects/{id}/deploymentsread_api

For all current GitLab seeds, read_api is typically sufficient.

If you ingest additional repository content endpoints later, you may also need:

  • read_repository