gitlab.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Branches
create
branches.create
Create a new branch
Risk: write
commit full type
commit full type
delete
branches.delete
Delete a branch [DESTRUCTIVE]
Risk: destructive
get
branches.get
Get a specific branch
Risk: read
commit full type
commit full type
list
branches.list
List branches in a repository
Risk: read
object[]
Output full type
Output full type
Commits
get
commits.get
Get a specific commit
Risk: read
stats full type
stats full type
getDiff
commits.getDiff
Get the diff of a commit
Risk: read
object[]
Output full type
Output full type
list
commits.list
List commits in a repository
Risk: read
object[]
Output full type
Output full type
Groups
create
groups.create
Create a new group
Risk: write
delete
groups.delete
Delete a group [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
get
groups.get
Get a specific group
Risk: read
list
groups.list
List groups
Risk: read
object[]
Output full type
Output full type
listProjects
groups.listProjects
List projects in a group
Risk: read
object[]
Output full type
Output full type
update
groups.update
Update a group
Risk: write
Issues
create
issues.create
Create a new issue
Risk: write
closed_by full type
closed_by full type
assignee full type
assignee full type
assignees full type
assignees full type
milestone full type
milestone full type
references full type
references full type
createNote
issues.createNote
Add a comment to an issue
Risk: write
delete
issues.delete
Delete an issue [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
get
issues.get
Get a specific issue
Risk: read
closed_by full type
closed_by full type
assignee full type
assignee full type
assignees full type
assignees full type
milestone full type
milestone full type
references full type
references full type
list
issues.list
List issues in a project
Risk: read
object[]
Output full type
Output full type
listNotes
issues.listNotes
List comments on an issue
Risk: read
object[]
Output full type
Output full type
update
issues.update
Update an existing issue
Risk: write
closed_by full type
closed_by full type
assignee full type
assignee full type
assignees full type
assignees full type
milestone full type
milestone full type
references full type
references full type
Labels
create
labels.create
Create a new label
Risk: write
delete
labels.delete
Delete a label [DESTRUCTIVE]
Risk: destructive
list
labels.list
List labels in a project
Risk: read
object[]
Output full type
Output full type
update
labels.update
Update a label
Risk: write
Merge Requests
approve
mergeRequests.approve
Approve a merge request
Risk: write
create
mergeRequests.create
Create a new merge request
Risk: write
merged_by full type
merged_by full type
assignee full type
assignee full type
assignees full type
assignees full type
reviewers full type
reviewers full type
milestone full type
milestone full type
references full type
references full type
createNote
mergeRequests.createNote
Add a comment to a merge request
Risk: write
delete
mergeRequests.delete
Delete a merge request [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
get
mergeRequests.get
Get a specific merge request
Risk: read
merged_by full type
merged_by full type
assignee full type
assignee full type
assignees full type
assignees full type
reviewers full type
reviewers full type
milestone full type
milestone full type
references full type
references full type
list
mergeRequests.list
List merge requests in a project
Risk: read
object[]
Output full type
Output full type
listNotes
mergeRequests.listNotes
List comments on a merge request
Risk: read
object[]
Output full type
Output full type
merge
mergeRequests.merge
Merge a merge request
Risk: write
merged_by full type
merged_by full type
assignee full type
assignee full type
assignees full type
assignees full type
reviewers full type
reviewers full type
milestone full type
milestone full type
references full type
references full type
update
mergeRequests.update
Update a merge request
Risk: write
merged_by full type
merged_by full type
assignee full type
assignee full type
assignees full type
assignees full type
reviewers full type
reviewers full type
milestone full type
milestone full type
references full type
references full type
Milestones
create
milestones.create
Create a new milestone
Risk: write
delete
milestones.delete
Delete a milestone [DESTRUCTIVE]
Risk: destructive
get
milestones.get
Get a specific milestone
Risk: read
list
milestones.list
List milestones in a project
Risk: read
object[]
Output full type
Output full type
update
milestones.update
Update a milestone
Risk: write
Pipelines
cancel
pipelines.cancel
Cancel a running pipeline
Risk: write
user full type
user full type
create
pipelines.create
Create a new pipeline
Risk: write
variables full type
variables full type
user full type
user full type
delete
pipelines.delete
Delete a pipeline [DESTRUCTIVE]
Risk: destructive
get
pipelines.get
Get a specific pipeline
Risk: read
user full type
user full type
list
pipelines.list
List pipelines for a project
Risk: read
object[]
Output full type
Output full type
listJobs
pipelines.listJobs
List jobs in a pipeline
Risk: read
object[]
Output full type
Output full type
retry
pipelines.retry
Retry a failed pipeline
Risk: write
user full type
user full type
Projects
create
projects.create
Create a new project
Risk: write
namespace full type
namespace full type
owner full type
owner full type
delete
projects.delete
Delete a project [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
fork
projects.fork
Fork a project
Risk: write
namespace full type
namespace full type
owner full type
owner full type
get
projects.get
Get a specific project
Risk: read
namespace full type
namespace full type
owner full type
owner full type
list
projects.list
List projects
Risk: read
object[]
Output full type
Output full type
update
projects.update
Update an existing project
Risk: write
namespace full type
namespace full type
owner full type
owner full type
Releases
create
releases.create
Create a new release
Risk: write
commit full type
commit full type
milestones full type
milestones full type
delete
releases.delete
Delete a release [DESTRUCTIVE]
Risk: destructive
get
releases.get
Get a specific release
Risk: read
commit full type
commit full type
milestones full type
milestones full type
list
releases.list
List releases in a project
Risk: read
object[]
Output full type
Output full type
update
releases.update
Update a release
Risk: write
commit full type
commit full type
milestones full type
milestones full type
Repository
compare
repository.compare
Compare branches, tags, or commits
Risk: read
commit full type
commit full type
commits full type
commits full type
diffs full type
diffs full type
getFile
repository.getFile
Get a file from the repository
Risk: read
getTree
repository.getTree
List repository tree (files and directories)
Risk: read
object[]
Output full type
Output full type
Users
getCurrentUser
users.getCurrentUser
Get the authenticated user
Risk: read
getUser
users.getUser
Get a specific user by ID
Risk: read
list
users.list
List users
Risk: read
object[]
Output full type
Output full type