Action domain
project
Every action this domain exposes through gitlab_execute_action, from the gitlab://tools manifest. Each entry folds out to its full upstream description and required parameters.
146 · actions37 · destructive60 · read-only
Counted against gitlab.com, which is the only host this endpoint talks to, with a token it resolves to the Ultimate tier: to use it against a self-managed instance, run the server yourself — its documentation covers that. The catalog is scoped to the token that asks, so the count moves with both its tier and its permissions: a Free token sees fewer actions, a member of a group on a paid plan sees that plan's, and administration domains only appear to tokens allowed to use them. That is why the figures differ elsewhere: the upstream project counts 872 operations on Community Edition and up to 1,099 on GitLab.com's top tier, while this deployment publishes 980 because it is OAuth-only and acts with your token, so the administration domains a non-admin account cannot call never appear. All three describe the same catalog, counted from three vantage points.
Each entry also says what a GitLab fine-grained personal access token needs to run it, as GitLab 19.6.1 declares it: every permission of one line, at one of the boundaries named. Where there are alternatives, any one is enough. What follows "Some calls also need" is needed only by the calls that send that request, and the parts of the answer GitLab serves empty to such a token are listed apart.
Project Approval Config Changeproject.approval_config_changeChange a project's approval configuration. Returns: the updated approval settings. See also:
project.approval_config_get,project.approval_rule_create.Required parameters:
project_id (string|integer)Fine-grained token:
Approval Configuration: Updateat project
Project Approval Config Getread-onlyproject.approval_config_getGet a project's approval configuration. Returns: the approval settings such as reset_approvals_on_push and author approval flags. See also:
project.approval_config_change,project.approval_rule_list.Required parameters:
project_id (string|integer)Fine-grained token:
Approval Configuration: Readat project
Project Approval Rule Createproject.approval_rule_createCreate a project approval rule. Returns: the created rule with name, approvals_required, users, and groups. See also:
project.approval_rule_list,project.approval_rule_update.Required parameters:
approvals_required (integer),name (string),project_id (string|integer)Fine-grained token:
Approval Rule: Createat project
Project Approval Rule Deletedestructiveproject.approval_rule_deleteDelete a project approval rule. Returns: a success confirmation naming the rule and project. See also:
project.approval_rule_list,project.approval_config_get.Required parameters:
project_id (string|integer),rule_id (integer)Fine-grained token:
Approval Rule: Deleteat project
Project Approval Rule Getread-onlyproject.approval_rule_getGet a single project approval rule. Returns: the rule with name, approvals_required, users, and groups. See also:
project.approval_rule_list,project.approval_rule_update.Required parameters:
project_id (string|integer),rule_id (integer)Fine-grained token:
Approval Rule: Readat project
Project Approval Rule Listread-onlyproject.approval_rule_listList a project's approval rules. Returns: rules with name, approvals_required, eligible approvers, and groups, plus pagination metadata. See also:
project.approval_rule_get,project.approval_rule_create.Required parameters:
project_id (string|integer)Fine-grained token:
Approval Rule: Readat project
Project Approval Rule Updateproject.approval_rule_updateUpdate a project approval rule. Returns: the updated rule with name, approvals_required, users, and groups. See also:
project.approval_rule_get,project.approval_rule_delete.Required parameters:
project_id (string|integer),rule_id (integer)Fine-grained token:
Approval Rule: Updateat project
Project Archivedestructiveproject.archiveArchive a project, making it read-only in GitLab. Requires confirmation. Returns: the project with archived set to true. See also:
project.unarchive,project.get.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Archiveat project
Add Project Badgeproject.badge_addAdd a badge to a project. Returns: the created badge with id, name, link_url, image_url, rendered_link_url, rendered_image_url, and kind. See also:
project.badge_list,project.badge_get.Required parameters:
image_url (string),link_url (string),project_id (string|integer)Fine-grained token:
Badge: Createat project
Delete Project Badgedestructiveproject.badge_deleteDelete a project badge by badge_id. Returns: a success confirmation. See also:
project.badge_list,project.badge_get.Required parameters:
badge_id (integer),project_id (string|integer)Fine-grained token:
Badge: Deleteat project
Edit Project Badgeproject.badge_editEdit a project badge's name, link_url, or image_url. Returns: the updated badge with id, name, link_url, image_url, rendered_link_url, rendered_image_url, and kind. See also:
project.badge_list,project.badge_get.Required parameters:
badge_id (integer),project_id (string|integer)Fine-grained token:
Badge: Updateat project
Get Project Badgeread-onlyproject.badge_getGet a single project badge by badge_id. Returns: the badge with id, name, link_url, image_url, rendered_link_url, rendered_image_url, and kind. See also:
project.badge_list,project.badge_edit.Required parameters:
badge_id (integer),project_id (string|integer)Fine-grained token:
Badge: Readat project
List Project Badgesread-onlyproject.badge_listList badges for a project, including inherited group badges. Returns: badges (id, name, link_url, image_url, rendered_link_url, rendered_image_url, and kind) plus pagination metadata. See also:
project.badge_get,project.badge_add.Required parameters:
project_id (string|integer)Fine-grained token:
Badge: Readat project
Preview Project Badgeread-onlyproject.badge_previewPreview how a project badge's link_url and image_url resolve after placeholder interpolation, without persisting it. Returns: the rendered badge with id, name, link_url, image_url, rendered_link_url, rendered_image_url, and kind. See also:
project.badge_add,project.badge_list.Required parameters:
image_url (string),link_url (string),project_id (string|integer)Fine-grained token:
Badge: Readat project
Board Createproject.board_createCreate a new issue board in a project. Returns: the created board with its project, scope, and lists. See also:
project.board_get,project.board_update,project.board_list.Required parameters:
name (string),project_id (string|integer)Fine-grained token:
Work Item: Createat project
Board Deletedestructiveproject.board_deleteDelete an issue board permanently. Returns: a success confirmation naming the board and project. See also:
project.board_get,project.board_list.Required parameters:
board_id (integer),project_id (string|integer)Fine-grained token:
Work Item: Deleteat project
Board Getread-onlyproject.board_getGet a single issue board by board_id. Returns: the board with its project, milestone, assignee, scope labels, and ordered lists. See also:
project.board_list,project.board_update,project.board_delete.Required parameters:
board_id (integer),project_id (string|integer)Fine-grained token:
Work Item: Readat project
Board Listread-onlyproject.board_listList a project's issue boards with pagination. Returns: each board with its project, milestone, assignee, scope labels, and lists. See also:
project.board_get,project.board_create,project.board_list_list.Required parameters:
project_id (string|integer)Fine-grained token:
Work Item: Readat project
Board List Createproject.board_list_createCreate a board list (column) scoped to a label, or on Premium and Ultimate to an assignee, milestone, or iteration. Returns: the created list with its scope, position, and issue limits. See also:
project.board_list_get,project.board_list_update,project.board_list_list.Required parameters:
board_id (integer),project_id (string|integer)Fine-grained token:
Work Item: Createat project
Board List Deletedestructiveproject.board_list_deleteDelete a board list (column) permanently. Returns: a success confirmation naming the list. See also:
project.board_list_get,project.board_list_list.Required parameters:
board_id (integer),list_id (integer),project_id (string|integer)Fine-grained token:
Work Item: Deleteat project
Board List Getread-onlyproject.board_list_getGet a single board list by list_id. Returns: the list with its label, assignee, milestone, iteration, position, and issue limits. See also:
project.board_list_list,project.board_list_update,project.board_list_delete.Required parameters:
board_id (integer),list_id (integer),project_id (string|integer)Fine-grained token:
Work Item: Readat project
Board List Listsread-onlyproject.board_list_listList the lists (columns) in an issue board with pagination. Returns: each list with its label, assignee, milestone, iteration, position, and issue limits. See also:
project.board_list_get,project.board_list_create,project.board_get.Required parameters:
board_id (integer),project_id (string|integer)Fine-grained token:
Work Item: Readat project
Board List Updateproject.board_list_updateReorder a board list to a new position. Returns: the updated list with its scope, position, and issue limits. See also:
project.board_list_get,project.board_list_list,project.board_list_delete.Required parameters:
board_id (integer),list_id (integer),position (integer),project_id (string|integer)Fine-grained token:
Work Item: Updateat project
Board Updateproject.board_updateUpdate an issue board's name or list visibility, and on Premium and Ultimate its scope (assignee, milestone, labels, weight). Returns: the updated board with its project, scope, and lists. See also:
project.board_get,project.board_delete,project.board_list.Required parameters:
board_id (integer),project_id (string|integer)Fine-grained token:
Work Item: Updateat project
Project Createproject.createCreate a new GitLab project. Returns: the created project with id, path_with_namespace, default_branch, visibility, and web URL. See also:
project.get,project.update,project.create_for_user.Required parameters: No required parameters
At least one of:
name (string)orpath (string)Fine-grained token:
Project: Createat user
Project Create For Userproject.create_for_userCreate a project on behalf of a user (admin). Returns: the created project with id, owner namespace, visibility, and web URL. See also:
project.create,project.get.Required parameters:
name (string),user_id (integer)Fine-grained token:
Project: Createat user
Project Create Fork Relationproject.create_fork_relationCreate a fork relationship to an upstream project. Returns: the downstream project as GitLab answers with it, including forked_from_project. See also:
project.delete_fork_relation,project.fork.Required parameters:
forked_from_id (integer),project_id (string|integer)Fine-grained token:
Project: Forkat project
Project Deletedestructiveproject.deleteDelete a project. Returns: a deletion status. On instances with delayed deletion the project is marked for deletion. See also:
project.restore,project.archive.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Deleteat project. Some calls also need:Project: Readat project
Project Delete Fork Relationdestructiveproject.delete_fork_relationRemove a project's fork relationship. Returns: a success confirmation naming the project. See also:
project.create_fork_relation,project.fork.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Forkat project
Project Dependency Firewall Evaluateread-onlyproject.dependency_firewall_evaluateEvaluate one package coordinate against a project's Dependency Firewall policies (Premium, experimental). Returns: the outcome (allowed, warned or blocked) and the policy that produced a warned or blocked verdict. See also:
project.get,dependency.list.Required parameters:
ecosystem (string),name (string),project_id (string|integer),version (string)Fine-grained token:
Dependency Firewall Evaluation: Createat project
Project Download Avatarread-onlyproject.download_avatarDownload a project's avatar. Returns: the avatar image content. See also:
project.upload_avatar,project.get.Required parameters:
project_id (string|integer)Fine-grained token:
Avatar: Readat project
Download Project Exportread-onlyproject.export_downloadDownload a finished project export archive as base64. Returns: base64 archive content and size in bytes. See also:
project.export_status,project.import_from_file.Required parameters:
project_id (string|integer)Fine-grained token:
Export: Downloadat project
Schedule Project Exportproject.export_scheduleSchedule an asynchronous project export. Uploading it to a URL requires confirmation. Returns: a confirmation message. See also:
project.export_status,project.export_download.Required parameters:
project_id (string|integer)Fine-grained token:
Export: Createat project
Get Project Export Statusread-onlyproject.export_statusGet the export status of a project. Returns: export id, name, path, status, message, and download links. See also:
project.export_schedule,project.export_download.Required parameters:
project_id (string|integer)Fine-grained token:
Export: Readat project
Project Forkproject.forkFork a project. Returns: the new fork with id, path_with_namespace, forked_from_project, and web URL. See also:
project.list_forks,project.create_fork_relation.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Forkat project
Project Getread-onlyproject.getGet a single project by ID or namespace path. Returns: project metadata including id, path_with_namespace, default_branch, visibility, and web URL. See also:
project.update,project.archive,project.delete.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Readat project
Project Hook Adddestructiveproject.hook_addAdd a webhook to a project. Requires confirmation. Returns: the created webhook with id, URL, and enabled events. See also:
project.hook_list,project.hook_test.Required parameters:
project_id (string|integer),url (string)Fine-grained token:
Webhook: Createat project
Project Hook Deletedestructiveproject.hook_deleteDelete a project webhook. Returns: a success confirmation naming the webhook and project. See also:
project.hook_list,project.hook_add.Required parameters:
hook_id (integer),project_id (string|integer)Fine-grained token:
Webhook: Deleteat project
Project Hook Delete Custom Headerdestructiveproject.hook_delete_custom_headerDelete a custom header from a project webhook. Returns: a success confirmation naming the header and webhook. See also:
project.hook_set_custom_header,project.hook_get.Required parameters:
hook_id (integer),key (string),project_id (string|integer)Fine-grained token:
Webhook: Updateat project
Project Hook Delete URL Variabledestructiveproject.hook_delete_url_variableDelete a URL variable from a project webhook. Returns: a success confirmation naming the variable and webhook. See also:
project.hook_set_url_variable,project.hook_get.Required parameters:
hook_id (integer),key (string),project_id (string|integer)Fine-grained token:
Webhook: Updateat project
Project Hook Editproject.hook_editEdit a project webhook. Pointing it at another URL or replacing a secret requires confirmation. Returns: the updated webhook with URL and enabled events. See also:
project.hook_get,project.hook_test.Required parameters:
hook_id (integer),project_id (string|integer)Fine-grained token:
Webhook: Updateat project. Some calls also need:Webhook: Readat project
Project Hook Getread-onlyproject.hook_getGet a single project webhook. Returns: the webhook with URL, enabled events, and SSL settings. See also:
project.hook_list,project.hook_edit.Required parameters:
hook_id (integer),project_id (string|integer)Fine-grained token:
Webhook: Readat project
Project Hook Listread-onlyproject.hook_listList a project's webhooks. Returns: webhooks with URL, enabled events, and SSL settings, plus pagination metadata. See also:
project.hook_get,project.hook_add.Required parameters:
project_id (string|integer)Fine-grained token:
Webhook: Readat project
Project Hook Set Custom Headerproject.hook_set_custom_headerSet a custom header on a project webhook. Replacing a header the webhook already has requires confirmation. Returns: a success confirmation naming the header and webhook. See also:
project.hook_delete_custom_header,project.hook_get.Required parameters:
hook_id (integer),key (string),project_id (string|integer),value (string)Fine-grained token:
Webhook: Updateat project. Some calls also need:Webhook: Readat project
Project Hook Set URL Variableproject.hook_set_url_variableSet a URL variable on a project webhook. Replacing a variable the webhook already has requires confirmation. Returns: a success confirmation naming the variable and webhook. See also:
project.hook_delete_url_variable,project.hook_get.Required parameters:
hook_id (integer),key (string),project_id (string|integer),value (string)Fine-grained token:
Webhook: Updateat project. Some calls also need:Webhook: Readat project
Project Hook Testproject.hook_testTrigger a test event for a project webhook. Returns: a confirmation that the test event was fired. See also:
project.hook_get,project.hook_edit.Required parameters:
event (string),hook_id (integer),project_id (string|integer)Fine-grained token:
Webhook: Triggerat project
Import Project From Fileproject.import_from_fileImport a project from an export archive. Overwriting an existing project requires confirmation. Returns: the new project's import status, type, correlation id, any import error, and the relations that failed to import. See also:
project.import_status,project.export_download.Required parameters:
path (string)Fine-grained token:
Import: Createat group or user
Get Project Import Statusread-onlyproject.import_statusGet the import status of a project. Returns: import id, name, path, status, type, correlation id, import error, the relations that failed to import, and a GitHub import's fetched and imported counts. See also:
project.import_from_file.Required parameters:
project_id (string|integer)Fine-grained token:
Import: Readat project
Delete Integrationdestructiveproject.integration_deleteDelete (disable) a project integration by slug. Supports the same slugs as get, plus 'slack-application' for disabling the GitLab for Slack app.
Returns: confirmation message.
See also:
project.integration_list,project.integration_get.Required parameters:
project_id (string|integer),slug (string)Fine-grained token:
Integration: Deleteat project or group
Delete Group Integrationdestructiveproject.integration_delete_groupDelete (disable) a group integration by slug. Requires Owner role on the group.
Returns: confirmation message.
See also:
project.integration_list_group,project.integration_get_group,project.integration_set_group.Required parameters:
group_id (string|integer),slug (string)Fine-grained token:
Integration: Deleteat project or group
Delete Group Datadog Integrationdestructiveproject.integration_delete_group_datadogRemove the Datadog integration from a group. The stored api_key is cleared. Deletion is irreversible. Requires Owner role and GitLab Premium/Ultimate (self-managed EE or GitLab.com).
Returns: confirmation message.
See also:
project.integration_get_group_datadog,project.integration_set_group_datadog.Required parameters:
group_id (string|integer)Fine-grained token:
Integration: Deleteat project or group
Get Integrationread-onlyproject.integration_getGet details of a specific project integration by slug (e.g. jira, slack, discord, mattermost, microsoft-teams, telegram, datadog, jenkins, emails-on-push, pipelines-email, external-wiki, custom-issue-tracker, drone-ci, github, harbor, matrix, redmine, youtrack, slack-slash-commands, mattermost-slash-commands).
Returns: JSON with integration details.
See also:
project.integration_list,project.integration_delete.Required parameters:
project_id (string|integer),slug (string)Fine-grained token:
Integration: Readat project or group
Get Group Integrationread-onlyproject.integration_get_groupGet details of a specific group integration by slug. Requires Owner role on the group.
Returns: JSON with the group integration details.
See also:
project.integration_list_group,project.integration_set_group,project.integration_delete_group.Required parameters:
group_id (string|integer),slug (string)Fine-grained token:
Integration: Readat project or group
Get Group Datadog Integrationread-onlyproject.integration_get_group_datadogRead the Datadog integration configured on a group. Requires Owner role and GitLab Premium/Ultimate (self-managed EE or GitLab.com). The api_key is never returned.
Returns: JSON with the group's Datadog integration details. The configuration lives in the nested properties object (api_url, datadog_env, datadog_service, datadog_site, datadog_tags, datadog_ci_visibility, archive_trace_events), which is the only shape it is published in. An older GitLab that sends the configuration flat is read into that same object.
See also:
project.integration_set_group_datadog,project.integration_delete_group_datadog.Required parameters:
group_id (string|integer)Fine-grained token:
Integration: Readat project or group
List Integrationsread-onlyproject.integration_listList all integrations (services) configured for a project, including their active status.
Returns: JSON array of integration items with id, title, slug, and active flag.
See also:
project.integration_get,project.integration_set_jira,project.integration_delete.Required parameters:
project_id (string|integer)Fine-grained token:
Integration: Readat project or group
List Group Integrationsread-onlyproject.integration_list_groupList all active integrations configured on a group. Requires Owner role (some integrations require GitLab Premium/Ultimate).
Returns: JSON array of group integration items with id, title, slug, and active flag.
See also:
project.integration_get_group,project.integration_set_group,project.integration_delete_group.Required parameters:
group_id (string|integer)Fine-grained token:
Integration: Readat project or group
Set Integrationdestructiveproject.integration_setConfigure (create or update) any project integration by slug, passing the integration's documented parameters in a free-form `config` object. Use this generic action for integrations without a dedicated tool (e.g. slack, harbor, jenkins, google-play, apple-app-store, prometheus, microsoft-teams, mattermost, discord).
Common slugs: slack, jira, discord, mattermost, microsoft-teams, telegram, datadog, jenkins, harbor, drone-ci, github, emails-on-push, pipelines-email, external-wiki, custom-issue-tracker, matrix, redmine, youtrack, slack-slash-commands, mattermost-slash-commands, google-play, apple-app-store, prometheus, bamboo, buildkite, campfire, confluence, packagist, pivotaltracker, pumble, pushover, teamcity, unify-circuit, webex-teams, zentao, gitlab-slack-application.
The `config` object is sent verbatim as the request body. See doc/api/integrations.md for the exact fields each integration accepts (for example slack expects `webhook`. Harbor expects `url`, `project_name`, `username`, `password`). Requires confirmation.
Returns: JSON with the resulting integration details.
See also:
project.integration_get,project.integration_list,project.integration_delete,project.integration_set_jira.Required parameters:
project_id (string|integer),slug (string)Fine-grained token:
Integration: Updateat project or group
Set Group Integrationdestructiveproject.integration_set_groupConfigure (create or update) any group integration by slug, passing the integration's documented parameters in a free-form `config` object. Requires Owner role on the group (some integrations require GitLab Premium/Ultimate).
The `config` object is sent verbatim as the request body. See doc/api/group_integrations.md and doc/api/integrations.md for the per-integration fields. Requires confirmation.
Returns: JSON with the resulting group integration details.
See also:
project.integration_get_group,project.integration_list_group,project.integration_delete_group.Required parameters:
group_id (string|integer),slug (string)Fine-grained token:
Integration: Updateat project or group
Set Group Datadog Integrationdestructiveproject.integration_set_group_datadogCreate or update the Datadog integration on a group. Requires Owner role and GitLab Premium/Ultimate (self-managed EE or GitLab.com). api_key is required on every call, use_inherited_settings=true included. api_url, datadog_env, datadog_service, datadog_site, datadog_tags, datadog_ci_visibility and archive_trace_events are optional. Requires confirmation.
Returns: JSON with the updated Datadog integration details, whose configuration lives in the nested properties object.
See also:
project.integration_get_group_datadog,project.integration_delete_group_datadog.Required parameters:
api_key (string),group_id (string|integer)Fine-grained token:
Integration: Updateat project or group
Set Jira Integrationdestructiveproject.integration_set_jiraConfigure the Jira integration for a project. Sets up the connection to a Jira instance with URL, credentials, and event triggers. Requires confirmation.
Returns: JSON with the configured Jira integration details.
See also:
project.integration_list,project.integration_get.Required parameters:
password (string),project_id (string|integer),url (string)Fine-grained token:
Integration: Updateat project or group
Label Createproject.label_createCreate a project label with required name and hex color, plus optional description, priority, and archived state. Returns: the created label (id, name, color, text_color, description, priority, subscribed, is_project_label, archived). See also:
project.label_get,project.label_update,issue.list.Required parameters:
color (string),name (string),project_id (string|integer)Fine-grained token:
Label: Createat project
Label Deletedestructiveproject.label_deleteDelete a project label by ID or name. Destructive: the label is removed from the project and unassigned from issues and merge requests. Returns: a deletion confirmation. See also:
project.label_list,project.label_get,project.label_create.Required parameters:
project_id (string|integer)At least one of:
label_id (string|integer)orname (string)Fine-grained token:
Label: Deleteat project or group
Label Getread-onlyproject.label_getGet a single project label by ID or name. Returns: id, name, color, text_color, description, priority, subscribed, is_project_label, and archived. GitLab sends a label's usage counts only to
project.label_listwith with_counts. See also:project.label_list,project.label_update,project.label_delete.Required parameters:
label_id (string|integer),project_id (string|integer)Fine-grained token:
Label: Readat project
Label Listread-onlyproject.label_listList labels in a project with optional search, counts, ancestor-group inclusion, ordering, and offset pagination. Returns: id, name, color, text_color, description, priority, subscribed, is_project_label, archived, the open/closed issue and open MR counts when with_counts is true, and pagination metadata. See also:
project.label_get,project.label_create,issue.list.Required parameters:
project_id (string|integer)Fine-grained token:
Label: Readat project
Label Promotedestructiveproject.label_promotePromote a project label to a group label, sharing it across the group's projects. Requires confirmation. Returns: no content on success. Requires group-level Maintainer or higher access. See also:
project.label_get,project.label_list,group.group_label_list.Required parameters:
label_id (string|integer),project_id (string|integer)Fine-grained token:
Label: Promoteat project
Label Subscribeproject.label_subscribeSubscribe the authenticated user to a project label for notifications. Returns: the label with subscribed=true (already-subscribed yields 304 Not Modified). See also:
project.label_unsubscribe,project.label_get,project.label_list.Required parameters:
label_id (string|integer),project_id (string|integer)Fine-grained token:
Label: Subscribeat project
Label Unsubscribeproject.label_unsubscribeUnsubscribe the authenticated user from a project label. Returns: no content on success (not-subscribed yields 304 Not Modified). See also:
project.label_subscribe,project.label_get,project.label_list.Required parameters:
label_id (string|integer),project_id (string|integer)Fine-grained token:
Label: Subscribeat project
Label Updateproject.label_updateUpdate an existing project label (new_name, color, description, priority, archived). Returns: the updated label (id, name, color, text_color, description, priority, subscribed, is_project_label, archived). See also:
project.label_get,project.label_list,project.label_delete.Required parameters:
project_id (string|integer)At least one of:
label_id (string|integer)orname (string)Fine-grained token:
Label: Updateat project or group
Project Languagesread-onlyproject.languagesGet a project's detected languages. Returns: language names with their percentage of the codebase. See also:
project.get.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Readat project
Project Listread-onlyproject.listList projects accessible to the user with filtering and pagination. Returns: projects with namespace, visibility, last_activity_at, and pagination metadata. See also:
project.get,project.list_user_projects.Required parameters: No required parameters
Fine-grained token:
Project: Readat user
Project List Forksread-onlyproject.list_forksList a project's forks. Returns: forked projects with namespace, visibility, and pagination metadata. See also:
project.fork,project.get.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Readat project
Project List Groupsread-onlyproject.list_groupsList a project's associated groups. Returns: groups with id, full_path, and full_name, plus pagination metadata. See also:
project.list_invited_groups,group.get.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Readat project
Project List Invited Groupsread-onlyproject.list_invited_groupsList groups invited to a project. Returns: invited groups with id, full_path, and full_name, plus pagination metadata. See also:
project.share_with_group,project.list_groups.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Readat project
Project List Starrersread-onlyproject.list_starrersList a project's starrers. Returns: users with their starred_since date, plus pagination metadata. See also:
project.star,project.list_user_starred.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Readat project
Project List User Contributedread-onlyproject.list_user_contributedList projects a user contributed to, by offset pages only, since GitLab does not page this list by keyset. Returns: projects with namespace, visibility, and pagination metadata. See also:
project.list_user_projects,project.list_user_starred.Required parameters:
user_id (string|integer)Fine-grained token:
Project: Readat user
Project List User Projectsread-onlyproject.list_user_projectsList a user's owned projects. Returns: projects with namespace, visibility, and pagination metadata. See also:
project.list_user_contributed,project.list_user_starred.Required parameters:
user_id (string|integer)Fine-grained token:
Project: Readat user
Project List User Starredread-onlyproject.list_user_starredList projects a user starred. Returns: projects with namespace, visibility, and pagination metadata. See also:
project.list_user_projects,project.list_starrers.Required parameters:
user_id (string|integer)Fine-grained token:
Project: Readat user
Project List Usersread-onlyproject.list_usersList a project's users. Returns: users with id, username, name, and state, plus pagination metadata. See also:
project.get,project.members.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Readat project
Project Member Addproject.member_addAdd a user to a project team by user_id or username with an access level. Optional: expires_at and, on Ultimate, member_role_id. Returns: the created membership. See also:
project.member_edit,project.members,user.list.Required parameters:
access_level (integer),project_id (string|integer)At least one of:
user_id (integer)orusername (string)Fine-grained token:
Member: Createat project
Project Member Deletedestructiveproject.member_deleteRemove a member from a project (destructive, requires confirmation). Requires Maintainer. The last Owner of a project cannot be removed. Returns: a success confirmation naming the removed member. See also:
project.member_edit,project.members.Required parameters:
project_id (string|integer),user_id (integer)Fine-grained token:
Member: Deleteat project
Project Member Editproject.member_editEdit a project member's access level, expiry, or custom member role. Returns: the updated membership. Requires at least the same access level as the target member. See also:
project.member_add,project.member_delete,project.members.Required parameters:
access_level (integer),project_id (string|integer),user_id (integer)Fine-grained token:
Member: Updateat project
Project Member Getread-onlyproject.member_getGet a single direct project member by user ID. Returns: id, username, name, state, access level, member role, created_by, expiry, and web URL. Does not include inherited members. See also:
project.member_inherited,project.members,project.member_edit.Required parameters:
project_id (string|integer),user_id (integer)Fine-grained token:
Member: Readat project
Project Member Get Inheritedread-onlyproject.member_inheritedGet a project member including membership inherited from parent groups. Returns: id, username, name, state, effective access level, member role, and web URL. See also:
project.member_get,project.members.Required parameters:
project_id (string|integer),user_id (integer)Fine-grained token:
Member: Readat project
Project Members Listread-onlyproject.membersList a project's members (direct plus inherited from parent groups). Returns: each member's id, username, name, state, access level, member role, created_by, seat usage, and web URL. Supports query/user_ids/show_seat_info filtering, order_by/sort, and offset pagination. See also:
project.member_get,project.member_add,project.get.Required parameters:
project_id (string|integer)Fine-grained token:
Member: Readat project
Milestone Burndown Eventsread-onlyproject.milestone_burndownList the burndown chart events of a project milestone (Premium or higher). Returns: every dated event with the issue's weight and the action (created, closed, reopened). See also:
project.milestone_get,project.milestone_issues,project.milestone_merge_requests.Required parameters:
milestone_iid (integer),project_id (string|integer)Fine-grained token:
Work Item: Readat project
Milestone Createproject.milestone_createCreate a new milestone in a project with title and optional description, start date, and due date. Returns: the created milestone with IID, state, dates, and web URL. See also:
project.milestone_get,project.milestone_update,project.milestone_list.Required parameters:
project_id (string|integer),title (string)Fine-grained token:
Work Item: Createat project
Milestone Deletedestructiveproject.milestone_deleteDelete a milestone permanently from a project by milestone IID. Returns: a success confirmation naming the milestone and project. See also:
project.milestone_get,project.milestone_update,project.milestone_list.Required parameters:
milestone_iid (integer),project_id (string|integer)Fine-grained token:
Work Item: ReadandWork Item: Deleteat project
Milestone Getread-onlyproject.milestone_getGet a single milestone from a project by milestone IID. Returns: milestone title, description, state, start/due dates, expiry, group/project IDs, timestamps, and web URL. See also:
project.milestone_list,project.milestone_update,project.milestone_issues,project.milestone_merge_requests.Required parameters:
milestone_iid (integer),project_id (string|integer)Fine-grained token:
Work Item: Readat project
Milestone Issuesread-onlyproject.milestone_issuesList issues assigned to a single milestone with ordering and pagination. Returns: assigned issues with IID, project, title, state, labels, author, assignees, confidentiality, weight, due date, web URL, timestamps, and pagination metadata. See also:
project.milestone_get,project.milestone_merge_requests,issue.list.Required parameters:
milestone_iid (integer),project_id (string|integer)Fine-grained token:
Work Item: Readat project
Milestone Listread-onlyproject.milestone_listList milestones in one project with state/title/search filters, ancestor inclusion, ordering, and pagination. Returns: matching milestones with state, dates, expiry, web URL, and pagination metadata. See also:
project.milestone_get,project.milestone_create,project.milestone_issues.Required parameters:
project_id (string|integer)Fine-grained token:
Work Item: Readat project
Milestone Merge Requestsread-onlyproject.milestone_merge_requestsList merge requests assigned to a single milestone with ordering and pagination. Returns: assigned merge requests with IID, project, title, state, draft flag, merge status, source/target branches, labels, author, assignees, reviewers, web URL, timestamps, and pagination metadata. See also:
project.milestone_get,project.milestone_issues,merge_request.list.Required parameters:
milestone_iid (integer),project_id (string|integer)Fine-grained token:
Work Item: Readat project
Milestone Promotedestructiveproject.milestone_promotePromote a project milestone to a group milestone by milestone IID. GitLab deletes the project milestone and every milestone of the same title in the group's projects, moving their issues and merge requests to the new group milestone. Returns: a confirmation naming the promoted title, since GitLab sends back no milestone. See also:
project.milestone_get,project.milestone_list,group.group_milestone_list.Required parameters:
milestone_iid (integer),project_id (string|integer)Fine-grained token:
Work Item: ReadandWork Item: Updateat project
Milestone Updateproject.milestone_updateUpdate an existing milestone's title, description, start/due dates, or state (state_event close/activate) by milestone IID. Returns: the updated milestone with state, dates, and web URL. See also:
project.milestone_get,project.milestone_delete,project.milestone_list.Required parameters:
milestone_iid (integer),project_id (string|integer)Fine-grained token:
Work Item: ReadandWork Item: Updateat project
Add Project Mirrordestructiveproject.mirror_addCreate a push (remote) mirror on a project. Destructive: the host in url receives the whole repository from then on, so confirmation is required. Returns: the created mirror with id, enabled state, redacted URL, and update status. See also:
project.mirror_list,project.mirror_edit,project.mirror_get_public_key.Required parameters:
project_id (string|integer),url (string)Fine-grained token:
Remote Mirror: Createat project
Delete Project Mirrordestructiveproject.mirror_deleteDelete a push mirror from a project permanently. Returns: a success confirmation naming the mirror and project. See also:
project.mirror_get,project.mirror_edit.Required parameters:
mirror_id (integer),project_id (string|integer)Fine-grained token:
Remote Mirror: Deleteat project
Edit Project Mirrorproject.mirror_editUpdate a push mirror's attributes (enabled, branch filtering, divergent refs, auth method). Returns: the updated mirror. See also:
project.mirror_get,project.mirror_force_push.Required parameters:
mirror_id (integer),project_id (string|integer)Fine-grained token:
Remote Mirror: Updateat project
Force Push Mirror Updatedestructiveproject.mirror_force_pushTrigger an immediate update of a push mirror. Returns: a confirmation that the update was triggered. See also:
project.mirror_get,project.mirror_edit.Required parameters:
mirror_id (integer),project_id (string|integer)Fine-grained token:
Remote Mirror: Updateat project
Get Project Mirrorread-onlyproject.mirror_getGet a single push mirror of a project by mirror id. Returns: the mirror with enabled state, redacted URL, auth method, branch filtering, and last-update status/error. See also:
project.mirror_list,project.mirror_edit,project.mirror_force_push.Required parameters:
mirror_id (integer),project_id (string|integer)Fine-grained token:
Remote Mirror: Readat project
Get Project Mirror Public Keyread-onlyproject.mirror_get_public_keyGet the SSH public key for an SSH-authenticated push mirror. Returns: the public key to register on the remote. See also:
project.mirror_get,project.mirror_edit.Required parameters:
mirror_id (integer),project_id (string|integer)Fine-grained token:
Remote Mirror Public Key: Readat project
List Project Mirrorsread-onlyproject.mirror_listList a project's push (remote) mirrors. Returns: each mirror with id, enabled state, redacted URL, last-update status, and pagination metadata. See also:
project.mirror_get,project.mirror_add,project.pull_mirror_get.Required parameters:
project_id (string|integer)Fine-grained token:
Remote Mirror: Readat project
Pages Domain Createproject.pages_domain_createAdd a new custom Pages domain to a project. Returns: the created domain with verification code, auto-SSL flag, and certificate details. See also:
project.pages_domain_get,project.pages_domain_update,project.pages_domain_list.Required parameters:
domain (string),project_id (string|integer)Fine-grained token:
Pages Domain: Createat project
Pages Domain Deletedestructiveproject.pages_domain_deleteRemove a custom Pages domain from a project (destructive). Returns: a success confirmation naming the deleted domain. See also:
project.pages_domain_get,project.pages_domain_list.Required parameters:
domain (string),project_id (string|integer)Fine-grained token:
Pages Domain: Deleteat project
Pages Domain Getread-onlyproject.pages_domain_getGet a single Pages custom domain by name. Returns: the domain with verification status and code, auto-SSL flag, enabled-until date, and certificate subject/expiration. See also:
project.pages_domain_list,project.pages_domain_update,project.pages_domain_delete.Required parameters:
domain (string),project_id (string|integer)Fine-grained token:
Pages Domain: Readat project
Pages Domain Listread-onlyproject.pages_domain_listList the custom Pages domains for a project with pagination. Returns: matching domains with verification status, auto-SSL flag, project ID, certificate details, and pagination metadata. See also:
project.pages_domain_get,project.pages_domain_create,project.pages_domain_list_all.Required parameters:
project_id (string|integer)Fine-grained token:
Pages Domain: Readat project
Pages Domain List Allread-onlyproject.pages_domain_list_allList the GitLab Pages custom domains across the whole instance (admin only), one page at a time. Use this instead of
project.pages_domain_listwhen you need every domain on the instance, not just those attached to a single project. Returns: the page of domains with verification status, auto-SSL flag, project ID, and certificate subject, and pagination metadata. See also:project.pages_domain_list,project.pages_domain_get,project.pages_domain_create.Required parameters: No required parameters
Fine-grained token:
Pages Domain: Readat instance
Pages Domain Updateproject.pages_domain_updateUpdate an existing Pages custom domain's auto-SSL flag or certificate. Returns: the updated domain with verification status and certificate details. See also:
project.pages_domain_get,project.pages_domain_delete,project.pages_domain_list.Required parameters:
domain (string),project_id (string|integer)Fine-grained token:
Pages Domain: Updateat project
Pages Getread-onlyproject.pages_getGet the Pages settings for a project. Returns: the Pages URL, force-HTTPS and unique-domain flags, primary domain, and recent deployments. See also:
project.pages_update,project.pages_unpublish,project.pages_domain_list.Required parameters:
project_id (string|integer)Fine-grained token:
Page: Readat project
Pages Unpublishdestructiveproject.pages_unpublishUnpublish a project's Pages site (destructive). Returns: a success confirmation. See also:
project.pages_get,project.pages_update.Required parameters:
project_id (string|integer)Fine-grained token:
Page: Deleteat project
Pages Updateproject.pages_updateUpdate the Pages settings for a project. Returns: the updated Pages settings with URL, force-HTTPS and unique-domain flags, primary domain, and deployments. See also:
project.pages_get,project.pages_domain_create,project.pages_unpublish.Required parameters:
project_id (string|integer)Fine-grained token:
Page: Updateat project
Project Pull Mirror Configureproject.pull_mirror_configureConfigure a project's pull mirror. Arming mirror_overwrites_diverged_branches replaces each diverged branch the mirror pulls with the source's version and requires confirmation. Returns: the updated mirror configuration. See also:
project.pull_mirror_get,project.start_mirroring.Required parameters:
project_id (string|integer)Fine-grained token:
Pull Mirror: Updateat project. Some calls also need:Pull Mirror: Readat project
Project Pull Mirror Getread-onlyproject.pull_mirror_getGet a project's pull-mirror configuration. Returns: the mirror URL, enabled flag, and last sync status. See also:
project.pull_mirror_configure,project.start_mirroring.Required parameters:
project_id (string|integer)Fine-grained token:
Pull Mirror: Readat project
Project Add Push Ruleproject.push_rule_addAdd push rules to a project. Returns: the created push-rule configuration. See also:
project.push_rule_get,project.push_rule_edit.Required parameters:
project_id (string|integer)Fine-grained token:
Push Rule: Createat project
Project Delete Push Ruledestructiveproject.push_rule_deleteDelete a project's push rules. Returns: a success confirmation naming the project. See also:
project.push_rule_get,project.push_rule_add.Required parameters:
project_id (string|integer)Fine-grained token:
Push Rule: Deleteat project
Project Edit Push Ruleproject.push_rule_editEdit a project's push rules. Relaxing a rule requires confirmation. Returns: the updated push-rule configuration. See also:
project.push_rule_get,project.push_rule_add.Required parameters:
project_id (string|integer)Fine-grained token:
Push Rule: Updateat project. Some calls also need:Push Rule: Readat project
Project Get Push Rulesread-onlyproject.push_rule_getGet a project's push rules. Returns: the singleton push-rule configuration such as commit_message_regex and reject_unsigned_commits. See also:
project.push_rule_add,project.push_rule_edit.Required parameters:
project_id (string|integer)Fine-grained token:
Push Rule: Readat project
Project Repository Storage Getread-onlyproject.repository_storage_getGet a project's repository storage shard. Returns: the storage shard name. See also:
project.start_housekeeping,project.get.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Readat project
Project Restoreproject.restoreRestore a project marked for deletion. Returns: the restored project. See also:
project.delete,project.get.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Updateat project
Get Project Security Settingsread-onlyproject.security_settings_getRead a project's security settings (Ultimate). Returns: secret_push_protection_enabled, continuous_vulnerability_scans_enabled, container scanning, and per-analyzer auto-fix flags. See also:
project.security_settings_update,project.get.Required parameters:
project_id (string|integer)Fine-grained token:
Security Setting: Readat project
Update Project Secret Push Protectionproject.security_settings_updateEnable or disable secret push protection for a project (Ultimate). Returns: the project's security settings including secret_push_protection_enabled, continuous vulnerability scanning, and auto-fix flags. See also:
project.security_settings_get,group.security_settings_update.Required parameters:
project_id (string|integer),secret_push_protection_enabled (boolean)Fine-grained token:
Security Setting: Updateat project
Project Service Account Createproject.service_account_createCreate a GitLab project service account. Returns: the created project service account object. See also:
project.service_account_list,project.service_account_update,project.service_account_pat_create.Required parameters:
project_id (string|integer)Fine-grained token:
Service Account: Createat project
Project Service Account Deletedestructiveproject.service_account_deleteDelete a GitLab project service account. Returns: a success status confirming deletion. See also:
project.service_account_list,project.service_account_update.Required parameters:
project_id (string|integer),service_account_id (integer)Fine-grained token:
Service Account: Deleteat project
Project Service Account Getread-onlyproject.service_account_getGet one GitLab project service account by its user ID (GitLab 19.4 or later). Returns: the project service account object. See also:
project.service_account_list,project.service_account_update,project.service_account_pat_list.Required parameters:
project_id (string|integer),service_account_id (integer)Fine-grained token:
Service Account: Readat project
Project Service Account Listread-onlyproject.service_account_listList GitLab project service accounts. Returns: paginated project service account records. See also:
project.get,project.service_account_create,project.service_account_pat_list.Required parameters:
project_id (string|integer)Fine-grained token:
Service Account: Readat project
Project Service Account Pat Createproject.service_account_pat_createCreate a personal access token for a GitLab project service account. Returns: the created token record and token value when GitLab returns it. See also:
project.service_account_pat_list,project.service_account_pat_rotate.Required parameters:
name (string),project_id (string|integer),scopes (array),service_account_id (integer)Fine-grained token:
Service Account Personal Access Token: Createat project
Project Service Account Pat Listread-onlyproject.service_account_pat_listList personal access tokens for a GitLab project service account. Returns: paginated token records. See also:
project.service_account_list,project.service_account_pat_create,project.service_account_pat_revoke.Required parameters:
project_id (string|integer),service_account_id (integer)Fine-grained token:
Service Account Personal Access Token: Readat project
Project Service Account Pat Revokedestructiveproject.service_account_pat_revokeRevoke a personal access token for a GitLab project service account. Returns: a success status confirming revocation. See also:
project.service_account_pat_list,project.service_account_pat_create.Required parameters:
project_id (string|integer),service_account_id (integer),token_id (integer)Fine-grained token:
Service Account Personal Access Token: Revokeat project
Project Service Account Pat Rotatedestructiveproject.service_account_pat_rotateRotate a personal access token for a GitLab project service account. Requires confirmation. Returns: the rotated token record and token value when GitLab returns it. See also:
project.service_account_pat_list,project.service_account_pat_revoke.Required parameters:
project_id (string|integer),service_account_id (integer),token_id (integer)Fine-grained token:
Service Account Personal Access Token: Rotateat project
Project Service Account Updateproject.service_account_updateUpdate a GitLab project service account. Returns: the updated project service account object. See also:
project.service_account_list,project.service_account_delete.Required parameters:
project_id (string|integer),service_account_id (integer)Fine-grained token:
Service Account: Updateat project
Project Starproject.starStar a project. Returns: the project with the updated star_count. See also:
project.unstar,project.list_starrers.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Updateat project. Some calls also need:Project: Readat project
Project Start Housekeepingproject.start_housekeepingStart housekeeping for a project. Returns: a success confirmation naming the project. See also:
project.repository_storage_get,project.get.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Updateat project
Project Start Mirroringproject.start_mirroringTrigger a pull-mirror sync. Returns: a success confirmation naming the project. See also:
project.pull_mirror_get,project.pull_mirror_configure.Required parameters:
project_id (string|integer)Fine-grained token:
Pull Mirror: Createat project
Get Project Statisticsread-onlyproject.statistics_getGet a project's last-30-days git fetch (clone/pull) statistics. Returns: total_fetches and a per-day breakdown of date and count. See also:
project.get.Required parameters:
project_id (string|integer)Fine-grained token:
Statistic: Readat project
Project Create Target Branch Ruleproject.target_branch_rule_createCreate a target branch rule. Returns: the created rule with id, source-branch name pattern, target_branch, and created_at. See also:
project.target_branch_rule_list,project.target_branch_rule_delete.Required parameters:
name (string),project_id (string|integer),target_branch (string)Fine-grained token:
Target Branch Rule: CreateandTarget Branch Rule: Readat project
Project Delete Target Branch Ruledestructiveproject.target_branch_rule_deleteDelete a target branch rule. Returns: a success confirmation naming the rule. See also:
project.target_branch_rule_list,project.target_branch_rule_create.Required parameters:
rule_id (integer)Fine-grained token:
Target Branch Rule: Deleteat project
Project List Target Branch Rulesread-onlyproject.target_branch_rule_listList a project's target branch rules. Returns: each rule with id, source-branch name pattern, target_branch, and created_at. See also:
project.target_branch_rule_create,project.target_branch_rule_delete.Required parameters:
project_id (string|integer)Fine-grained token:
Project: ReadandTarget Branch Rule: Readat project
Project Transferdestructiveproject.transferTransfer a project to another namespace, waiting up to 45 seconds for GitLab to apply the move. Returns: the project in its new namespace, or with transfer_queued set and its current namespace when GitLab has not applied the move yet, or an error when GitLab reports the move failed, with GitLab's reason from 19.5. See also:
project.get,group.get.Required parameters:
namespace (string),project_id (string|integer)Fine-grained token:
Project: Transferat project. Some calls also need:Project: Readat project +Todo: Readat user +Metadata: Readat instance
Project Unarchiveproject.unarchiveUnarchive a project. Returns: the project with archived set to false. See also:
project.archive,project.get.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Archiveat project
Project Unstarproject.unstarUnstar a project. Returns: the project with the updated star_count. See also:
project.star,project.list_starrers.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Updateat project
Project Updateproject.updateUpdate a project's settings. Returns: the updated project with its current configuration and web URL. See also:
project.get,project.archive,project.transfer,project.pull_mirror_configure.Required parameters:
project_id (string|integer)Fine-grained token:
Project: Updateat project. Some calls also need:Pull Mirror: Readat project
Project Uploadproject.uploadUpload a file (via local file_path or base64 content) to a project's Markdown attachments store. Returns: the upload's id (GitLab 17.3+), alt text, relative and full URLs, full path, and a Markdown embed reference. See also:
project.upload_list,project.upload_delete,project.get.Required parameters:
filename (string),project_id (string|integer)Fine-grained token:
Markdown Upload: Createat project
Project Upload Avatarproject.upload_avatarUpload a project avatar. Returns: the project with its new avatar_url. See also:
project.download_avatar,project.update.Required parameters:
filename (string),project_id (string|integer)Fine-grained token:
Project: Updateat project
Project Upload Deletedestructiveproject.upload_deleteDelete a project Markdown upload by its numeric upload ID. Returns: a success confirmation. See also:
project.upload_list,project.upload_delete_by_secret,project.get.Required parameters:
project_id (string|integer),upload_id (integer)Fine-grained token:
Markdown Upload: Deleteat project
Project Upload Delete By Secretdestructiveproject.upload_delete_by_secretDelete a project Markdown upload by its 32-character secret and filename (the /uploads/<secret>/<filename> reference). Returns: a success confirmation. See also:
project.upload_delete,project.upload_list,project.upload.Required parameters:
filename (string),project_id (string|integer),secret (string)Fine-grained token:
Markdown Upload: Deleteat project
Project Upload Listread-onlyproject.upload_listList all Markdown uploads in a project. Returns: each upload's id, filename, size, creation time, and uploader (id, username, name), plus pagination metadata. See also:
project.upload,project.upload_delete,project.get.Required parameters:
project_id (string|integer)Fine-grained token:
Markdown Upload: Readat project