Skip to main content
GitLab logo

Overview

Add GitLab to any ModuleX agent or workflow. Repository and project management platform for the GitLab REST API (gitlab.com/api/v4).
Categories: Developer Tools & Infrastructure · Version Control · Project Management · Auth: OAuth2 · Actions: 12

Authentication

OAuth2 Authentication

Connect using GitLab OAuth (recommended)

Required Credentials

OAuth Configuration

  • Authorization URL: https://gitlab.com/oauth/authorize
  • Token URL: https://gitlab.com/oauth/token
  • Scopes: api

Available Actions

Parameters

integer
required
The project ID, as displayed in the main project page
string
required
The branch name or commit SHA to create the new branch from
string
required
The name of the branch to create

Response

Parameters

string
required
The ID of the group
string
required
The title of the epic
string
The description of the epic
array
List of label names for the epic
string
The internal ID of the parent epic (requires GitLab Premium or Ultimate)
string
The color of the epic (introduced in GitLab 14.8)
boolean
Whether the epic should be confidential
string
When the epic was created, ISO 8601 format (requires admin or owner privileges)
boolean
Whether start date should be sourced from start_date_fixed or from milestones
boolean
Whether due date should be sourced from due_date_fixed or from milestones
string
The fixed start date of the epic, ISO 8601 format (relevant when start_date_is_fixed is true)
string
The fixed due date of the epic, ISO 8601 format (relevant when due_date_is_fixed is true)

Response

Parameters

integer
required
The project ID, as displayed in the main project page
string
required
The title of the issue
string
The description of the issue
array
List of label names for the issue
array
List of user IDs to assign the issue to

Response

Parameters

integer
required
The project ID, as displayed in the main project page
string
required
The internal ID of the project issue

Response

Parameters

integer
required
The project ID, as displayed in the main project page
string
required
The name of the branch

Response

Parameters

integer
required
The project ID, as displayed in the main project page
string
The name of a repository branch, tag, or revision range; defaults to the default branch if not given
integer
Maximum number of commits to return (per_page) (Default: 100)

Response

Parameters

integer
Limit to groups where the user has at least this access level: 10 (Guest), 20 (Reporter), 30 (Developer), 40 (Maintainer), 50 (Owner)
boolean
Limit to top-level groups, excluding all subgroups
Return groups matching this search string
string
Order groups by: name, path, id, or similarity (must be similarity when search is provided)
string
Sort order: asc or desc (Default: asc)
boolean
Limit to groups that are not archived and not marked for deletion
boolean
Limit to groups that are archived

Response

Parameters

integer
required
The project ID, as displayed in the main project page
string
Filter results by name, email, or username (partial values accepted)
array
List of user IDs to filter results to
array
List of user IDs to exclude from results
boolean
Return seat information for each member if available

Response

Parameters

integer
required
The project ID, as displayed in the main project page
string
Return branches containing this search string (use ^term and term$ for prefix/suffix matching)

Response

Parameters

integer
required
The project ID, as displayed in the main project page
string
Search issues against their title and description
array
List of label names; issues must have all labels to be returned
string
Return issues by state: all, opened, or closed (Default: all)
string
Return issues assigned to the given user ID
integer
Maximum number of issues to return (per_page) (Default: 100)

Response

Parameters

string
required
The ID of the group
string
required
The internal ID of the epic
string
The title of the epic
string
The description of the epic
array
List of label names for the epic (set empty to unassign all)
array
Labels to add to the epic
array
Labels to remove from the epic
string
The ID of a parent epic (available in GitLab 14.6+)
string
State event for the epic: close or reopen
boolean
Whether the epic should be confidential
string
The color of the epic
string
When the epic was updated, ISO 8601 format (requires admin or owner privileges)
boolean
Whether start date should be sourced from start_date_fixed or from milestones
boolean
Whether due date should be sourced from due_date_fixed or from milestones
string
The fixed start date of the epic, ISO 8601 format (relevant when start_date_is_fixed is true)
string
The fixed due date of the epic, ISO 8601 format (relevant when due_date_is_fixed is true)

Response

Parameters

integer
required
The project ID, as displayed in the main project page
string
required
The internal ID of the issue
string
The title of the issue
string
The description of the issue
array
List of label names for the issue (set empty to unassign all)
array
List of user IDs to assign the issue to (set to 0 or empty to unassign all)
string
State event for the issue: close or reopen
boolean
Whether the issue discussion is locked (only project members can add or edit comments when locked)

Response

Limits & Quotas

  • Authenticated requests: 2,000 requests per minute per user (GitLab.com).
  • Unauthenticated: 500 requests per minute.
  • Epics API: restricted to GitLab Premium and Ultimate tiers.
  • Error model: non-2xx responses raise httpx.HTTPStatusError (Pattern A). The agent or runtime catches the exception at a higher layer.

GitHub

Greptile

Algolia