Mutations are the top-level entry points for creating, updating, and deleting data in the
GitLab GraphQL API . For an introduction, see
Mutations .
Deprecated items are planned to be removed in a
future release. For more information, see the GitLab
deprecation process .
Calling a mutation You call a mutation with one argument, input. You put the mutation’s arguments inside input,
and then request the fields you want returned:
graphql
mutation ( $id : NoteableID !, $body : String !) {
# Arguments go inside `input`.
createNote ( input : { noteableId : $id , body : $body }) {
# Request the fields you want returned.
note {
id
body
}
errors
}
} Each mutation lists:
Input type : The type of input. You need it when you pass all of the arguments as one
variable, for example mutation($input: CreateNoteInput!) { createNote(input: $input) { errors } }.Arguments : What you can put inside input. An argument whose type ends in ! is required,
unless it has a default value.Fields : What you can request in the result. Every mutation returns errors, a list of
error messages. Always request errors so you can see why a mutation failed.clientMutationIdEvery mutation also accepts an optional clientMutationId argument of type String, and returns
the same value in its result. Use it to match each response to its request. It works the same way
for every mutation, so it is not listed with each mutation’s arguments and fields.
achievementsAwardInput type: AchievementsAwardInput
achievementsAward argumentsName Type Description achievementIdAchievementsAchievementID!Global ID of the achievement being awarded. awardMessageStringMessage to associate with the awarded achievement. userIdUserID!Global ID of the user being awarded the achievement.
achievementsAward fieldsachievementsCreateInput type: AchievementsCreateInput
achievementsCreate argumentsName Type Description avatarUploadAvatar for the achievement. descriptionStringDescription of or notes for the achievement. nameString!Name for the achievement. namespaceIdNamespaceID!Namespace for the achievement.
achievementsCreate fieldsName Type Description achievementAchievementAchievement created. errors[String!]!Errors encountered during the mutation.
achievementsDeleteInput type: AchievementsDeleteInput
achievementsDelete argumentsachievementsDelete fieldsName Type Description achievementAchievementAchievement. errors[String!]!Errors encountered during the mutation.
achievementsRevokeInput type: AchievementsRevokeInput
achievementsRevoke argumentsachievementsRevoke fieldsachievementsUpdateInput type: AchievementsUpdateInput
achievementsUpdate argumentsName Type Description achievementIdAchievementsAchievementID!Global ID of the achievement being updated. avatarUploadAvatar for the achievement. descriptionStringDescription of or notes for the achievement. nameStringName for the achievement.
achievementsUpdate fieldsName Type Description achievementAchievementAchievement. errors[String!]!Errors encountered during the mutation.
addProjectToSecurityDashboardInput type: AddProjectToSecurityDashboardInput
addProjectToSecurityDashboard argumentsName Type Description idProjectID!ID of the project to be added to Instance Security Dashboard.
addProjectToSecurityDashboard fieldsName Type Description errors[String!]!Errors encountered during the mutation. projectProjectProject that was added to the Instance Security Dashboard.
adminClearDuoAvailabilityClears an admin-locked GitLab Duo availability override from a group.
Input type: AdminClearDuoAvailabilityInput
adminClearDuoAvailability argumentsName Type Description groupIdGroupID!Group to clear the GitLab Duo availability override from.
adminClearDuoAvailability fieldsName Type Description adminLockedBooleanWhether the group has an admin-locked GitLab Duo availability override. availabilityDuoAvailabilityResolved GitLab Duo availability for the group after the override is cleared. errors[String!]!Errors encountered during the mutation.
adminRolesLdapSyncInput type: AdminRolesLdapSyncInput
adminRolesLdapSync fieldsName Type Description errors[String!]Errors encountered during operation. successBooleanWhether the sync was successfully enqueued.
adminSetDuoAvailabilitySets an admin-locked GitLab Duo availability override on a group.
Input type: AdminSetDuoAvailabilityInput
adminSetDuoAvailability argumentsName Type Description Default availabilityDuoAvailability!GitLab Duo availability state to lock on the group. clearDescendantsBooleanClear conflicting admin-locked overrides on descendant groups instead of rejecting. falsegroupIdGroupID!Group to set the GitLab Duo availability override on.
adminSetDuoAvailability fieldsName Type Description adminLockedBooleanWhether the group has an admin-locked GitLab Duo availability override. affectedAdminLockedDescendantsAdminDuoAvailabilityLockedAncestorConnectionDescendant groups with admin-locked overrides that must be cleared before this override can be applied. Present only when clearDescendants was false; the override was not applied. This field is a connection and accepts the four standard pagination arguments: before, after, first, last. availabilityDuoAvailabilityResolved GitLab Duo availability for the group after the mutation. conflictingAncestorAdminDuoAvailabilityLockedAncestorAncestor group whose admin lock blocked the mutation, if any. When present, the override was not applied. errors[String!]!Errors encountered during the mutation.
adminSidekiqQueuesDeleteJobsInput type: AdminSidekiqQueuesDeleteJobsInput
adminSidekiqQueuesDeleteJobs argumentsName Type Description aiResourceStringDelete jobs matching ai_resource in the context metadata. artifactSizeStringDelete jobs matching artifact_size in the context metadata. artifactUsedCdnStringDelete jobs matching artifact_used_cdn in the context metadata. artifactsDependenciesCountStringDelete jobs matching artifacts_dependencies_count in the context metadata. artifactsDependenciesSizeStringDelete jobs matching artifacts_dependencies_size in the context metadata. bulkImportEntityIdStringDelete jobs matching bulk_import_entity_id in the context metadata. callerIdStringDelete jobs matching caller_id in the context metadata. clientIdStringDelete jobs matching client_id in the context metadata. clientNameStringDelete jobs matching client_name in the context metadata. clientTypeStringDelete jobs matching client_type in the context metadata. clientVersionStringDelete jobs matching client_version in the context metadata. featureCategoryStringDelete jobs matching feature_category in the context metadata. glRootNamespaceIdStringDelete jobs matching gl_root_namespace_id in the context metadata. glUserIdStringDelete jobs matching gl_user_id in the context metadata. jobIdStringDelete jobs matching job_id in the context metadata. kubernetesAgentIdStringDelete jobs matching kubernetes_agent_id in the context metadata. mergeActionStatusStringDelete jobs matching merge_action_status in the context metadata. mvccManifestStringDelete jobs matching mvcc_manifest in the context metadata. organizationIdStringDelete jobs matching organization_id in the context metadata. pipelineIdStringDelete jobs matching pipeline_id in the context metadata. projectStringDelete jobs matching project in the context metadata. queueNameString!Name of the queue to delete jobs from. relatedClassStringDelete jobs matching related_class in the context metadata. remoteIpStringDelete jobs matching remote_ip in the context metadata. rootCallerIdStringDelete jobs matching root_caller_id in the context metadata. rootNamespaceStringDelete jobs matching root_namespace in the context metadata. scopedUserStringDelete jobs matching scoped_user in the context metadata. scopedUserIdStringDelete jobs matching scoped_user_id in the context metadata. sidekiqDestinationShardRedisStringDelete jobs matching sidekiq_destination_shard_redis in the context metadata. subscriptionPlanStringDelete jobs matching subscription_plan in the context metadata. userStringDelete jobs matching user in the context metadata. userIdStringDelete jobs matching user_id in the context metadata. workerClassStringDelete jobs with the given worker class.
adminSidekiqQueuesDeleteJobs fieldsName Type Description errors[String!]!Errors encountered during the mutation. resultDeleteJobsResponseInformation about the status of the deletion request.
aiActionInput type: AiActionInput
aiAction argumentsaiAction fieldsaiCatalogAgentCreateInput type: AiCatalogAgentCreateInput
aiCatalogAgentCreate argumentsaiCatalogAgentCreate fieldsaiCatalogAgentDeleteInput type: AiCatalogAgentDeleteInput
aiCatalogAgentDelete argumentsName Type Description forceHardDeleteBooleanWhen true, the flow will always be hard deleted and never soft deleted. Can only be used by instance admins. idAiCatalogItemID!Global ID of the catalog Agent to delete.
aiCatalogAgentDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. successBoolean!Returns true if catalog Agent was successfully deleted.
aiCatalogAgentUpdateInput type: AiCatalogAgentUpdateInput
aiCatalogAgentUpdate argumentsaiCatalogAgentUpdate fieldsaiCatalogFlowCreateInput type: AiCatalogFlowCreateInput
aiCatalogFlowCreate argumentsName Type Description definitionStringYAML definition for the flow. descriptionString!Description for the flow. nameString!Name for the flow. projectIdProjectID!Project for the flow. publicBooleanDeprecated in GitLab 19.2. Use visibility. releaseBooleanWhether to release the latest version of the flow. visibilityAiCatalogItemVisibilityIntroduced as an experiment in GitLab 19.2. Visibility of the flow in the catalog.
aiCatalogFlowCreate fieldsaiCatalogFlowDeleteInput type: AiCatalogFlowDeleteInput
aiCatalogFlowDelete argumentsName Type Description forceHardDeleteBooleanWhen true, the flow will always be hard deleted and never soft deleted. Can only be used by instance admins. idAiCatalogItemID!Global ID of the catalog flow to delete.
aiCatalogFlowDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. successBoolean!Returns true if catalog flow was successfully deleted.
aiCatalogFlowUpdateInput type: AiCatalogFlowUpdateInput
aiCatalogFlowUpdate argumentsName Type Description definitionStringYAML definition for the Flow. descriptionStringDescription for the flow. idAiCatalogItemID!Global ID of the catalog flow to update. nameStringName for the flow. publicBooleanDeprecated in GitLab 19.2. Use visibility. releaseBooleanWhether to release the latest version of the flow. versionBumpAiCatalogVersionBumpBump version, calculated from the last released version name. visibilityAiCatalogItemVisibilityIntroduced as an experiment in GitLab 19.2. Visibility of the flow in the catalog.
aiCatalogFlowUpdate fieldsaiCatalogItemConsumerBulkCreateInput type: AiCatalogItemConsumerBulkCreateInput
aiCatalogItemConsumerBulkCreate argumentsName Type Description itemIdAiCatalogItemID!Global ID of the catalog item to enable. pinnedVersionAiCatalogPinnedVersionVersion to pin the item to, in the format n.n.n. Must be a released version. Defaults to the latest released version. Ignored when enabling within the item’s managing project, which always tracks the latest released version. projectIds[ProjectID!]!Global IDs of the projects to enable the catalog item in (maximum 100). triggerConditionsAiCatalogTriggerConditionsInputIntroduced as an experiment in GitLab 19.3. Filter conditions for the auto-created AI Catalog triggers, keyed by event type. triggerFilterJSONDeprecated in GitLab 19.3. Use triggerConditions. triggerGoalsJSONIntroduced as an experiment in GitLab 19.5. Goals for the auto-created AI Catalog triggers, keyed by event type. triggerTypes[String!]List of event types to create AI Catalog triggers for.
aiCatalogItemConsumerBulkCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation.
aiCatalogItemConsumerCreateInput type: AiCatalogItemConsumerCreateInput
aiCatalogItemConsumerCreate argumentsName Type Description Default consumerKindAiCatalogItemConsumerKindType of item configuration. INHERITANCE is only valid for a top-level group target. DIRECTitemIdAiCatalogItemID!Item to configure. parentItemConsumerIdAiCatalogItemConsumerIDParent item consumer belonging to the top-level group. pinnedVersionAiCatalogPinnedVersionVersion to pin the item to, in the format n.n.n. Must be a released version. Defaults to the latest released version. Ignored when enabling within the item’s managing project, which always tracks the latest released version. replaceExistingDirectConfigurationsBooleanConfirm replacement of a group configuration, and any project configurations, for this item when inheritance is turned on. Required when the item is already configured for the group. targetItemConsumerTargetInput!Target project or top-level group in which the catalog item is configured. triggerConditionsAiCatalogTriggerConditionsInputIntroduced as an experiment in GitLab 19.3. Filter conditions for the auto-created AI Catalog triggers, keyed by event type. triggerFilterJSONDeprecated in GitLab 19.3. Use triggerConditions. triggerGoalsJSONIntroduced as an experiment in GitLab 19.5. Goals for the auto-created AI Catalog triggers, keyed by event type. triggerTypes[String!]List of event types to create AI Catalog triggers for (values can be mention, assign or assign_reviewer).
aiCatalogItemConsumerCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. itemConsumerAiCatalogItemConsumerItem configuration created. warnings[String!]!Non-fatal problems encountered while configuring the item. The configuration was still created.
aiCatalogItemConsumerDeleteInput type: AiCatalogItemConsumerDeleteInput
aiCatalogItemConsumerDelete argumentsaiCatalogItemConsumerDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. successBoolean!Returns true if catalog item consumer was successfully deleted.
aiCatalogItemConsumerUpdateInput type: AiCatalogItemConsumerUpdateInput
aiCatalogItemConsumerUpdate argumentsName Type Description idAiCatalogItemConsumerID!Global ID of the catalog item consumer to update. pinnedVersionAiCatalogPinnedVersionVersion the item is pinned to, in the format n.n.n. pinnedVersionPrefixAiCatalogPinnedVersionDeprecated in GitLab 19.0. Use pinnedVersion instead. serviceAccountIdUserIDService account to associate with the item consumer. triggerTypes[String!]List of event types to create flow triggers for (values can be mention, assign or assign_reviewer).
aiCatalogItemConsumerUpdate fieldsaiCatalogItemReportInput type: AiCatalogItemReportInput
aiCatalogItemReport argumentsaiCatalogItemReport fieldsName Type Description errors[String!]!Errors encountered during the mutation.
aiCatalogItemStarInput type: AiCatalogItemStarInput
aiCatalogItemStar argumentsName Type Description idAiCatalogItemID!Global ID of the catalog item to star or unstar. starredBoolean!Indicates whether to star or unstar the catalog item.
aiCatalogItemStar fieldsName Type Description errors[String!]!Errors encountered during the mutation. starCountInt!Number of stars for the catalog item.
aiCatalogItemVersionRestoreInput type: AiCatalogItemVersionRestoreInput
aiCatalogItemVersionRestore argumentsName Type Description Default deprecateCurrentBooleanWhether to mark the current latest version as deprecated. falseidAiCatalogItemVersionID!Global ID of the item version to restore from.
aiCatalogItemVersionRestore fieldsName Type Description errors[String!]!Errors encountered during the mutation. itemVersionAiCatalogItemVersionNewly created item version restored from the source version.
aiCatalogMcpServerCreateInput type: AiCatalogMcpServerCreateInput
aiCatalogMcpServerCreate argumentsaiCatalogMcpServerCreate fieldsaiCatalogMcpServerSetBlockBlocks or allows an external MCP server for a group or project (kill-switch).
Input type: AiCatalogMcpServerSetBlockInput
aiCatalogMcpServerSetBlock argumentsName Type Description blockedBoolean!Set to true to block the MCP server, false to allow it. groupFullPathIDFull path of the group to block or allow the MCP server for. Provide exactly one of groupFullPath or projectFullPath. idAiCatalogMcpServerID!Global ID of the MCP server. projectFullPathIDFull path of the project to block or allow the MCP server for. Provide exactly one of groupFullPath or projectFullPath.
aiCatalogMcpServerSetBlock fieldsName Type Description errors[String!]!Errors encountered during the mutation. mcpServerAiCatalogMcpServerMCP server with its updated block status.
aiCatalogMcpServerUpdateInput type: AiCatalogMcpServerUpdateInput
aiCatalogMcpServerUpdate argumentsaiCatalogMcpServerUpdate fieldsaiCatalogThirdPartyFlowCreateInput type: AiCatalogThirdPartyFlowCreateInput
aiCatalogThirdPartyFlowCreate argumentsName Type Description definitionString!YAML definition for the Flow. descriptionString!Description for the Flow. nameString!Name for the Flow. projectIdProjectID!Project for the Flow. publicBooleanDeprecated in GitLab 19.2. Use visibility. releaseBooleanWhether to release the latest version of the Flow. visibilityAiCatalogItemVisibilityIntroduced as an experiment in GitLab 19.2. Visibility of the Flow in the catalog.
aiCatalogThirdPartyFlowCreate fieldsaiCatalogThirdPartyFlowDeleteInput type: AiCatalogThirdPartyFlowDeleteInput
aiCatalogThirdPartyFlowDelete argumentsName Type Description forceHardDeleteBooleanWhen true, the Third Party Flow will always be hard deleted and never soft deleted. Can only be used by instance admins. idAiCatalogItemID!Global ID of the catalog Third Party Flow to delete.
aiCatalogThirdPartyFlowDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. successBoolean!Returns true if catalog Third Party Flow was successfully deleted.
aiCatalogThirdPartyFlowUpdateInput type: AiCatalogThirdPartyFlowUpdateInput
aiCatalogThirdPartyFlowUpdate argumentsName Type Description definitionStringYAML definition for the Flow. descriptionStringDescription for the Flow. idAiCatalogItemID!Global ID of the catalog Flow to update. nameStringName for the Flow. publicBooleanDeprecated in GitLab 19.2. Use visibility. releaseBooleanWhether to release the latest version of the Flow. versionBumpAiCatalogVersionBumpBump version, calculated from the last released version name. visibilityAiCatalogItemVisibilityIntroduced as an experiment in GitLab 19.2. Visibility of the Flow in the catalog.
aiCatalogThirdPartyFlowUpdate fieldsaiDomainSettingsInstanceUpdateAdds or removes domains from the allowed or denied list for flows running in a sandboxed environment.
Input type: AiDomainSettingsInstanceUpdateInput
aiDomainSettingsInstanceUpdate argumentsaiDomainSettingsInstanceUpdate fieldsName Type Description addedDomains[String!]Domains that were added in the operation. errors[String!]!Errors encountered during the mutation. removedDomains[String!]Domains that were removed in the operation.
aiDomainSettingsNamespaceUpdateAdds or removes domains from the allowed or denied list for flows running in a sandboxed environment.
Input type: AiDomainSettingsNamespaceUpdateInput
aiDomainSettingsNamespaceUpdate argumentsaiDomainSettingsNamespaceUpdate fieldsName Type Description addedDomains[String!]Domains that were added in the operation. errors[String!]!Errors encountered during the mutation. removedDomains[String!]Domains that were removed in the operation.
aiDuoWorkflowCreateInput type: AiDuoWorkflowCreateInput
aiDuoWorkflowCreate argumentsName Type Description agentPrivileges[Int!]Actions the agent is allowed to perform. aiCatalogItemVersionIdAiCatalogItemVersionIDID of the catalog item the workflow is triggered from. allowAgentToRequestUserBooleanWhen enabled, Duo Agent Platform may stop to ask the user questions before proceeding. environmentWorkflowEnvironmentEnvironment for the workflow. goalStringGoal of the workflow. issueIdBigIntIID of the noteable (Issue) that the workflow is associated with. mergeRequestIdBigIntIID of the noteable (MergeRequest) that the workflow is associated with. namespaceIdNamespaceIDGlobal ID of the namespace the user is acting on. preApprovedAgentPrivileges[Int!]Actions the agent can perform without asking for approval. projectIdProjectIDGlobal ID of the project the user is acting on. sourceDuoWorkflowSourceTypeWhere the session was triggered from. Only client-surface values are accepted. webSearchEnabledBooleanEnable web search for the session. workflowDefinitionStringWorkflow type based on its capability.
aiDuoWorkflowCreate fieldsName Type Description errors[String!]!Errors encountered during the creation process. workflowDuoWorkflowCreated workflow.
aiFeatureSettingModelAllowlistUpdateUpdates the instance-level model selection allowlist for an AI feature.
Input type: AiFeatureSettingModelAllowlistUpdateInput
aiFeatureSettingModelAllowlistUpdate argumentsName Type Description allowlistEnabledBoolean!Whether the model selection allowlist is enabled for the feature. allowlistModelRefs[String!]!Identifiers of the GitLab-managed models allowed for the feature. Ignored when allowlistEnabled is false. featureAiFeatures!AI feature whose model allowlist is being configured.
aiFeatureSettingModelAllowlistUpdate fieldsaiFeatureSettingUpdateUpdates or creates settings for AI features.
Input type: AiFeatureSettingUpdateInput
aiFeatureSettingUpdate argumentsName Type Description aiSelfHostedModelIdAiSelfHostedModelIDGlobal ID of the self-hosted model providing the AI setting. features[AiFeatures!]!Array of AI features being configured (for single or batch update). offeredModelRefStringIdentifier of the selected model for the feature. providerAiFeatureProviders!Provider for AI setting.
aiFeatureSettingUpdate fieldsName Type Description aiFeatureSettings[AiFeatureSetting!]!List of AI feature settings after mutation. errors[String!]!Errors encountered during the mutation.
aiFlowScheduleCreateInput type: AiFlowScheduleCreateInput
aiFlowScheduleCreate argumentsName Type Description Default activeBooleanIndicates whether the schedule should be active. truecronString!Cron expression defining the schedule frequency. cronTimezoneString!IANA timezone for the cron expression. descriptionString!Description of the schedule. flowTriggerIdAiFlowTriggerID!Global ID of the flow trigger to schedule.
aiFlowScheduleCreate fieldsaiFlowScheduleDeleteInput type: AiFlowScheduleDeleteInput
aiFlowScheduleDelete argumentsaiFlowScheduleDelete fieldsaiFlowScheduleUpdateInput type: AiFlowScheduleUpdateInput
aiFlowScheduleUpdate argumentsName Type Description activeBooleanIndicates whether the schedule should be active. cronStringCron expression defining the schedule frequency. cronTimezoneStringIANA timezone for the cron expression. descriptionStringDescription of the schedule. idAiFlowScheduleID!Global ID of the flow schedule to update.
aiFlowScheduleUpdate fieldsaiFlowTriggerCreateInput type: AiFlowTriggerCreateInput
aiFlowTriggerCreate argumentsName Type Description activeBooleanIntroduced as an experiment in GitLab 19.4. Indicates whether the AI flow trigger is active. Defaults to true. aiCatalogItemConsumerIdAiCatalogItemConsumerIDAI catalog item consumer to use instead of config_path. configPathStringPath to the configuration file for the AI flow trigger. descriptionString!Description of the AI flow trigger. eventTypes[Int!]Event types that triggers the AI flow. filterJSONIntroduced as an experiment in GitLab 19.0. Filter conditions for the AI flow trigger. goalsJSONIntroduced as an experiment in GitLab 19.5. Goals for the AI flow trigger, keyed by event type. projectPathID!Full path of the project the AI flow trigger is associated with. readyMergeRequestsOnFinishBooleanIntroduced as an experiment in GitLab 19.6. Indicates whether merge requests created by a session that a work item event of the AI flow trigger started are marked as ready when the session finishes. Applies only when the ai_flow_trigger_status_on_finish and ai_flow_trigger_chaining feature flags are enabled, and only to work items in a project. Requires the work_item event type. The work item filter must match all its rules, and have one top-level action rule in ["status_changed"] and one top-level status.name rule in a list of status names. statusOnFinishStringIntroduced as an experiment in GitLab 19.6. Name of the work item status to set when a session that a work item event of the AI flow trigger started finishes. Applies only when the ai_flow_trigger_status_on_finish and ai_flow_trigger_chaining feature flags are enabled, and only to work items in a project. Requires the work_item event type. The work item filter must match all its rules, and have one top-level action rule in ["status_changed"] and one top-level status.name rule in a list of status names. userIdUserIDService account for the AI flow trigger.
aiFlowTriggerCreate fieldsaiFlowTriggerDeleteInput type: AiFlowTriggerDeleteInput
aiFlowTriggerDelete argumentsaiFlowTriggerDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
aiFlowTriggerUpdateInput type: AiFlowTriggerUpdateInput
aiFlowTriggerUpdate argumentsName Type Description activeBooleanIntroduced as an experiment in GitLab 19.4. Indicates whether the AI flow trigger is active. Inactive triggers do not run automatically. aiCatalogItemConsumerIdAiCatalogItemConsumerIDAI catalog item consumer to use instead of config_path. configPathStringPath to the configuration file for the AI flow trigger. descriptionStringDescription of the AI flow trigger. eventTypes[Int!]Event types that triggers the AI flow. filterJSONIntroduced as an experiment in GitLab 18.11. Filter conditions for the AI flow trigger. goalsJSONIntroduced as an experiment in GitLab 19.5. Goals for the AI flow trigger, keyed by event type. idAiFlowTriggerID!ID of the flow trigger to update. readyMergeRequestsOnFinishBooleanIntroduced as an experiment in GitLab 19.6. Indicates whether merge requests created by a session that a work item event of the AI flow trigger started are marked as ready when the session finishes. Applies only when the ai_flow_trigger_status_on_finish and ai_flow_trigger_chaining feature flags are enabled, and only to work items in a project. Requires the work_item event type. The work item filter must match all its rules, and have one top-level action rule in ["status_changed"] and one top-level status.name rule in a list of status names. statusOnFinishStringIntroduced as an experiment in GitLab 19.6. Name of the work item status to set when a session that a work item event of the AI flow trigger started finishes. Applies only when the ai_flow_trigger_status_on_finish and ai_flow_trigger_chaining feature flags are enabled, and only to work items in a project. Requires the work_item event type. The work item filter must match all its rules, and have one top-level action rule in ["status_changed"] and one top-level status.name rule in a list of status names. userIdUserIDService account for the AI flow trigger.
aiFlowTriggerUpdate fieldsaiModelSelectionNamespaceModelAllowlistUpdateUpdates the namespace-level model selection allowlist for an AI feature.
Input type: AiModelSelectionNamespaceModelAllowlistUpdateInput
aiModelSelectionNamespaceModelAllowlistUpdate argumentsName Type Description allowlistEnabledBoolean!Whether the model selection allowlist is enabled for the feature. allowlistModelRefs[String!]!Identifiers of the GitLab-managed models allowed for the feature. Ignored when allowlistEnabled is false. featureAiFeatures!AI feature whose model allowlist is being configured. groupIdGroupID!Group whose model allowlist is being configured.
aiModelSelectionNamespaceModelAllowlistUpdate fieldsaiModelSelectionNamespaceUpdateUpdates or creates settings for AI features for a namespace.
Input type: AiModelSelectionNamespaceUpdateInput
aiModelSelectionNamespaceUpdate argumentsName Type Description features[AiModelSelectionFeatures!]!Array of AI features being configured (for single or batch update). groupIdGroupID!Group for the model selection. offeredModelRefString!Identifier of the selected model for the feature.
aiModelSelectionNamespaceUpdate fieldsaiSelfHostedModelConnectionCheckChecks if the AI Gateway can establish a connection with the given model configuration.
Input type: AiSelfHostedModelConnectionCheckInput
aiSelfHostedModelConnectionCheck argumentsName Type Description apiTokenStringAPI token to access the self-hosted model, if any. endpointStringEndpoint of the self-hosted model. iamRoleStringIAM role ARN that the AI Gateway assumes through STS AssumeRole when calling Amazon Bedrock. Only used by the Amazon Bedrock provider. identifierStringIdentifier for 3rd party model provider. modelAiAcceptedSelfHostedModels!AI model deployed. nameString!Deployment name of the self-hosted model. providerAiSelfHostedModelProvider!Provider for the self-hosted model.
aiSelfHostedModelConnectionCheck fieldsaiSelfHostedModelCreateInput type: AiSelfHostedModelCreateInput
aiSelfHostedModelCreate argumentsName Type Description apiTokenStringAPI token to access the self-hosted model, if any. endpointStringEndpoint of the self-hosted model. iamRoleStringIAM role ARN that the AI Gateway assumes through STS AssumeRole when calling Amazon Bedrock. Only used by the Amazon Bedrock provider. identifierStringIdentifier for 3rd party model provider. modelAiAcceptedSelfHostedModels!AI model deployed. nameString!Deployment name of the self-hosted model. providerAiSelfHostedModelProvider!Provider for the self-hosted model.
aiSelfHostedModelCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. selfHostedModelAiSelfHostedModelSelf-hosted model after mutation.
aiSelfHostedModelDeleteDeletes a self-hosted model.
Input type: AiSelfHostedModelDeleteInput
aiSelfHostedModelDelete argumentsaiSelfHostedModelDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
aiSelfHostedModelUpdateUpdates a self-hosted model.
Input type: AiSelfHostedModelUpdateInput
aiSelfHostedModelUpdate argumentsName Type Description apiTokenStringAPI token to access the self-hosted model, if any. endpointStringEndpoint of the self-hosted model. iamRoleStringIAM role ARN that the AI Gateway assumes through STS AssumeRole when calling Amazon Bedrock. Only used by the Amazon Bedrock provider. idAiSelfHostedModelID!Global ID of the self-hosted model to update. identifierStringIdentifier for 3rd party model provider. modelAiAcceptedSelfHostedModels!AI model deployed. nameString!Deployment name of the self-hosted model. providerAiSelfHostedModelProvider!Provider for the self-hosted model.
aiSelfHostedModelUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. selfHostedModelAiSelfHostedModelSelf-hosted model after mutation.
alertSetAssigneesInput type: AlertSetAssigneesInput
alertSetAssignees argumentsName Type Description assigneeUsernames[String!]!Usernames to assign to the alert. Replaces existing assignees by default. iidString!IID of the alert to mutate. operationModeMutationOperationModeOperation to perform. Defaults to REPLACE. projectPathID!Project the alert to mutate is in.
alertSetAssignees fieldsalertTodoCreateInput type: AlertTodoCreateInput
alertTodoCreate argumentsName Type Description iidString!IID of the alert to mutate. projectPathID!Project the alert to mutate is in.
alertTodoCreate fieldsapprovalProjectRuleDeleteInput type: approvalProjectRuleDeleteInput
approvalProjectRuleDelete argumentsapprovalProjectRuleDelete fieldsapprovalProjectRuleUpdateInput type: approvalProjectRuleUpdateInput
approvalProjectRuleUpdate argumentsName Type Description approvalsRequiredInt!How many approvals are required to satisfy rule. coverageMinimumThresholdFloatMinimum code coverage threshold (0-100). Approval is required if coverage falls below the specified threshold. groupIds[ID!]List of IDs of Groups that can approval rule. idApprovalProjectRuleID!Global ID of the approval rule to destroy. nameString!Name of the approval rule. userIds[ID!]List of IDs of Users that can approval rule.
approvalProjectRuleUpdate fieldsapproveDeploymentInput type: ApproveDeploymentInput
approveDeployment argumentsName Type Description commentStringComment to go with the approval. idDeploymentID!ID of the deployment. representedAsStringName of the User/Group/Role to use for the approval, when the user belongs to multiple approval rules. statusDeploymentsApprovalStatus!Status of the approval (either APPROVED or REJECTED).
approveDeployment fieldsName Type Description deploymentApprovalDeploymentApprovalDeploymentApproval after mutation. errors[String!]!Errors encountered during the mutation.
artifactDestroyInput type: ArtifactDestroyInput
artifactDestroy argumentsartifactDestroy fieldsartifactRegistryActivateActivates an Artifact Registry for an organization by claiming a slug.
Input type: ArtifactRegistryActivateInput
artifactRegistryActivate argumentsName Type Description slugString!Slug to claim, Artifact Registry’s immutable identifier for the namespace.
artifactRegistryActivate fieldsName Type Description errors[String!]!Errors encountered during the mutation. registryArtifactRegistryIntroduced as an experiment in GitLab 19.4. The organization’s registry: the one just provisioned, or the existing one when the organization is already activated. Null on every other refusal.
artifactRegistryArtifactDeleteDeletes one artifact of an Artifact Registry repository. Permanently deletes a published artifact on a hosted repository and evicts a cached artifact on a remote repository, following the kind of the repository addressed. Artifact Registry accepts the request rather than completing it, so the mutation reports acceptance rather than completion. Re-read the artifact list to see the result.
Input type: ArtifactRegistryArtifactDeleteInput
artifactRegistryArtifactDelete argumentsName Type Description idID!ID of the artifact in Artifact Registry, as returned by the id field on a package or image. Not a GitLab global ID. nameString!Name of the repository holding the artifact, unique within the organization.
artifactRegistryArtifactDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. repositoryArtifactRegistryRepositoryRepository holding the deleted artifact. Counters were read before the deletion applied, so they can lag its result. Null when the deletion was not applied.
artifactRegistryContainerTagDeleteDeletes a container tag, identified by its name. Applies only to container repositories in Docker or OCI format. This mutation never reads the repository kind. Artifact Registry decides the outcome from its own records. On a hosted repository, deletion permanently removes the tag. On a remote repository, it evicts the cached tag reference. On a virtual repository, the request is passed through for Artifact Registry to decide. Deleting a tag never removes the manifest it pointed at. Artifact Registry accepts the request rather than completing it, so this mutation reports acceptance, not completion.
Input type: ArtifactRegistryContainerTagDeleteInput
artifactRegistryContainerTagDelete argumentsName Type Description imageIdID!ID of the image holding the tag in Artifact Registry, as returned by the id field on an image. Not a GitLab global ID. nameString!Name of the repository holding the tag, unique within the organization. tagNameString!Name of the tag to delete. Limited to 1024 characters.
artifactRegistryContainerTagDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. repositoryArtifactRegistryRepositoryRepository holding the deleted tag. A tag delete moves no repository counter. Null when the deletion was not accepted.
artifactRegistryDisableDisables Artifact Registry for the organization resolved from the request context (the X-GitLab-Organization-ID header, or the user default organization).
Input type: ArtifactRegistryDisableInput
artifactRegistryDisable fieldsName Type Description errors[String!]!Errors encountered during the mutation. registryArtifactRegistryRegistry after the transition. Null when the transition was rejected, for example an unknown namespace.
artifactRegistryEnableEnables Artifact Registry for the organization resolved from the request context (the X-GitLab-Organization-ID header, or the user default organization).
Input type: ArtifactRegistryEnableInput
artifactRegistryEnable fieldsName Type Description errors[String!]!Errors encountered during the mutation. registryArtifactRegistryRegistry after the transition. Null when the transition was rejected, for example an unknown namespace.
artifactRegistryManifestDeleteDeletes a manifest, identified by its digest. Applies only to Docker or OCI container repositories, whose kind this mutation never reads. Artifact Registry decides the outcome from its records, permanently removing the manifest on a hosted repository, evicting the cached copy on a remote one, or passing the request through on a virtual one. Deleting a manifest removes tags pointing at it and index entries where it is the parent, though a manifest it indexed survives untagged. Artifact Registry accepts rather than completes the request, so this reports acceptance. Re-read the image’s manifests afterward for the result. Deletion is refused if another manifest indexes the target as a child, and the error lists at most 10 blocking digests plus the total count.
Input type: ArtifactRegistryManifestDeleteInput
artifactRegistryManifestDelete argumentsName Type Description digestString!Content-addressable digest of the manifest, as returned by the digest field on a manifest. Limited to 512 characters. imageIdID!ID of the image holding the manifest in Artifact Registry, as returned by the id field on an image. Not a GitLab global ID. nameString!Name of the repository holding the manifest, unique within the organization.
artifactRegistryManifestDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. repositoryArtifactRegistryRepositoryRepository holding the deleted manifest. Counters were read before the deletion applied, so they can lag its result. Null when the deletion was not accepted.
artifactRegistryNpmDistTagDeleteDeletes one dist-tag of an npm package in an Artifact Registry repository, addressed by its Artifact Registry ID. Applies to npm repositories only. A non-npm repository is refused before any request reaches Artifact Registry, and the refusal appears in the payload errors. A remote repository is refused the same way, because Artifact Registry holds the dist-tags of a remote repository as a rewritten document rather than as individually addressable rows, so there is no dist-tag row to delete. Removes the dist-tag alone, never the version it named. The mutation reports acceptance rather than completion.
Input type: ArtifactRegistryNpmDistTagDeleteInput
artifactRegistryNpmDistTagDelete argumentsName Type Description idID!ID of the dist-tag in Artifact Registry. Not a GitLab global ID. nameString!Name of the repository holding the dist-tag, unique within the organization.
artifactRegistryNpmDistTagDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. repositoryArtifactRegistryRepositoryRepository holding the deleted dist-tag. A dist-tag delete moves no repository counter. Null when the deletion was not accepted.
artifactRegistryRepositoryArtifactsDeleteDeletes every artifact of an Artifact Registry repository. Permanently deletes published artifacts on a hosted repository and evicts cached artifacts on a remote repository, following the kind of the repository addressed. Artifact Registry accepts the request rather than completing it, so the mutation reports acceptance rather than completion. Re-read the artifact list to see the result.
Input type: ArtifactRegistryRepositoryArtifactsDeleteInput
artifactRegistryRepositoryArtifactsDelete argumentsName Type Description nameString!Name of the repository whose artifacts are deleted, unique within the organization.
artifactRegistryRepositoryArtifactsDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. repositoryArtifactRegistryRepositoryRepository the deletion targeted. Counters were read before the deletion applied, so they can lag its result. Null when the deletion was not applied.
artifactRegistryRepositoryCreateCreates a repository in Artifact Registry.
Input type: ArtifactRegistryRepositoryCreateInput
artifactRegistryRepositoryCreate argumentsName Type Description descriptionStringHuman-readable description of the repository. formatArtifactRegistryRepositoryFormat!Package format the repository holds. Cannot be changed after creation. kindArtifactRegistryRepositoryKindHow the repository sources its artifacts. Defaults to hosted in Artifact Registry. nameString!Name of the repository, unique within the organization. settingsArtifactRegistryRemoteSettingsInputIntroduced as an experiment in GitLab 19.4. Upstream configuration. Required on a remote repository create, rejected on any other kind. upstreamRepositoryIds[ID!]Introduced as an experiment in GitLab 19.5. Upstream repositories of a virtual repository, as Artifact Registry repository IDs in resolution order. On update, replaces the whole upstream list, and an empty list removes every upstream. Rejected on any other kind. Maximum is 1000 IDs per request. Artifact Registry sets a lower limit on how many upstreams a repository can have. visibilityArtifactRegistryRepositoryVisibilityWho can read the repository.
artifactRegistryRepositoryCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. refusedUpstreamRepositoryIdIDIntroduced as an experiment in GitLab 19.5. Artifact Registry ID of the first upstream list entry that Artifact Registry refused. Null unless an entry was refused. repositoryArtifactRegistryRepositoryRepository created. Null when the creation was not applied.
artifactRegistryRepositoryDeleteDeletes a repository in Artifact Registry and removes every artifact it holds. Deleting an already-absent repository still succeeds.
Input type: ArtifactRegistryRepositoryDeleteInput
artifactRegistryRepositoryDelete argumentsName Type Description nameString!Name of the repository to delete, unique within the organization.
artifactRegistryRepositoryDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
artifactRegistryRepositoryTestConnectionTests the upstream connection of a remote repository in Artifact Registry.
Input type: ArtifactRegistryRepositoryTestConnectionInput
artifactRegistryRepositoryTestConnection argumentsName Type Description nameString!Name of the repository to test, unique within the organization.
artifactRegistryRepositoryTestConnection fieldsName Type Description errors[String!]!Errors encountered during the mutation. httpStatusIntStatus the upstream answered the probe with. Null when the probe failed in transport and no response arrived, and when no probe ran. lastHealthCheckedAtTimeTimestamp of the most recent health probe of the upstream, as it reads after this probe. Null when no verdict is recorded, including when this probe’s own write did not land. lastHealthStatusArtifactRegistryHealthStatusStored health verdict as it reads after the probe. Can differ from passed, because Artifact Registry moves it to UNHEALTHY only once consecutive failures reach its threshold. UNKNOWN when no verdict is recorded, including when this probe’s own write did not land, and for a status this schema does not recognize. Null when no probe ran. passedBooleanIndicates the upstream answered the probe with a status below 500. Reports reachability rather than credential validity, so an upstream 401 or 404 passes. Null when no probe ran.
artifactRegistryRepositoryUpdateUpdates a repository in Artifact Registry. Artifact Registry writes the metadata fields and the settings in separate transactions, metadata first, so a failed update can leave a visibility or description change applied while the settings did not change. Re-sending the same mutation converges.
Input type: ArtifactRegistryRepositoryUpdateInput
artifactRegistryRepositoryUpdate argumentsName Type Description descriptionStringHuman-readable description of the repository. nameString!Name of the repository to update, unique within the organization. Cannot be changed. settingsArtifactRegistryRemoteSettingsInputIntroduced as an experiment in GitLab 19.4. Upstream configuration. Required on a remote repository create, rejected on any other kind. upstreamRepositoryIds[ID!]Introduced as an experiment in GitLab 19.5. Upstream repositories of a virtual repository, as Artifact Registry repository IDs in resolution order. On update, replaces the whole upstream list, and an empty list removes every upstream. Rejected on any other kind. Maximum is 1000 IDs per request. Artifact Registry sets a lower limit on how many upstreams a repository can have. visibilityArtifactRegistryRepositoryVisibilityWho can read the repository.
artifactRegistryRepositoryUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. refusedUpstreamRepositoryIdIDIntroduced as an experiment in GitLab 19.5. Artifact Registry ID of the first upstream list entry that Artifact Registry refused. Null unless an entry was refused. repositoryArtifactRegistryRepositoryRepository updated. Null when the update was not applied.
artifactRegistryRoleBulkGrantGrants Artifact Registry roles to users on resources in a single all-or-nothing operation. Replaces any role a user already holds on that resource.
Input type: ArtifactRegistryRoleBulkGrantInput
artifactRegistryRoleBulkGrant argumentsartifactRegistryRoleBulkGrant fieldsName Type Description errors[String!]!Errors encountered during the mutation. grantedRoleCountIntNumber of role assignments granted. Present only on success.
artifactRegistryRoleBulkRevokeRevokes Artifact Registry roles from users on resources in a single all-or-nothing operation. Users can revoke their own role.
Input type: ArtifactRegistryRoleBulkRevokeInput
artifactRegistryRoleBulkRevoke argumentsartifactRegistryRoleBulkRevoke fieldsName Type Description errors[String!]!Errors encountered during the mutation. revokedRoleCountIntNumber of role assignments revoked. Present only on success.
artifactRegistryRoleGrantGrants an Artifact Registry role to a user on a resource. Replaces any role the user already holds on that resource.
Input type: ArtifactRegistryRoleGrantInput
artifactRegistryRoleGrant argumentsName Type Description assigneeIdUserID!Global ID of the user to grant the role to. resourceIdString!UUID of the Artifact Registry resource (repository or namespace) the role applies to. roleArtifactRegistryRole!Artifact Registry role to grant.
artifactRegistryRoleGrant fieldsName Type Description errors[String!]!Errors encountered during the mutation.
artifactRegistryRoleRevokeRevokes a user’s Artifact Registry role on a resource. Names no role: a user holds one role per resource, and revoking removes it. Users can revoke their own role.
Input type: ArtifactRegistryRoleRevokeInput
artifactRegistryRoleRevoke argumentsName Type Description assigneeIdUserID!Global ID of the user to revoke the role from. resourceIdString!UUID of the Artifact Registry resource (repository or namespace) the role is assigned on.
artifactRegistryRoleRevoke fieldsName Type Description errors[String!]!Errors encountered during the mutation.
artifactRegistryUpstreamRepositoryDissociateRemoves an upstream repository association from a virtual repository in Artifact Registry. The upstream repository and its artifacts remain unchanged, and Artifact Registry compacts the remaining upstream positions. Succeeds even when the association is already gone, or the repository is missing, inaccessible, not virtual, or not of the given format.
Input type: ArtifactRegistryUpstreamRepositoryDissociateInput
artifactRegistryUpstreamRepositoryDissociate argumentsName Type Description associationIdID!ID of the upstream repository association to remove, as returned by the id field on an upstream repository association. Not a GitLab global ID. formatArtifactRegistryRepositoryFormat!Package format of the virtual repository. nameString!Name of the virtual repository holding the upstream repository, unique within the organization.
artifactRegistryUpstreamRepositoryDissociate fieldsName Type Description errors[String!]!Errors encountered during the mutation.
artifactRegistryUpstreamTestConnectionTests a supplied upstream connection for the remote repository create form in Artifact Registry, before any repository exists to hold it.
Input type: ArtifactRegistryUpstreamTestConnectionInput
artifactRegistryUpstreamTestConnection argumentsName Type Description credentialsArtifactRegistryRemoteCredentialsInputUpstream credentials to probe with. Omit or pass null to probe unauthenticated. Accepted for every format, but ignored when probing a container upstream (docker or oci), whose probe is always unauthenticated. formatArtifactRegistryRepositoryFormat!Package format of the upstream to probe. Decides the credential shape and the probe auth. urlString!Base URL of the upstream to probe.
artifactRegistryUpstreamTestConnection fieldsName Type Description errors[String!]!Errors encountered during the mutation. httpStatusIntStatus the upstream answered the probe with. Null when the probe failed in transport and no response arrived, and when no probe ran. passedBooleanIndicates the upstream answered the probe with a status below 500. Reports reachability rather than credential validity, so an upstream 401 or 404 passes. Null when no probe ran.
artifactRegistryVersionDeleteDeletes one version of a package in an Artifact Registry repository. Permanently deletes a published version on a hosted repository and evicts a cached version on a remote repository, following the kind of the repository addressed. Artifact Registry accepts the request rather than completing it, so the mutation reports acceptance rather than completion. Re-read the version list to see the result. Applies to Maven and npm repositories only.
Input type: ArtifactRegistryVersionDeleteInput
artifactRegistryVersionDelete argumentsName Type Description idID!ID of the version in Artifact Registry, as returned by the id field on a version. Not a GitLab global ID. nameString!Name of the repository holding the version, unique within the organization.
artifactRegistryVersionDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. repositoryArtifactRegistryRepositoryRepository holding the deleted version. Counters were read before the deletion applied, so they can lag its result. Null when the deletion was not applied.
ascpComponentCreateInput type: AscpComponentCreateInput
ascpComponentCreate argumentsName Type Description descriptionStringComponent description. expectedUserBehaviorStringExpected user behavior for the component. projectPathID!Full path of the project. scanIdSecurityAscpScanID!ID of the scan when the component was discovered. subDirectoryString!Sub-directory path containing the component. titleString!Component title.
ascpComponentCreate fieldsascpScanCreateInput type: AscpScanCreateInput
ascpScanCreate argumentsName Type Description Default baseCommitShaStringBase commit SHA for incremental scans. baseScanIdSecurityAscpScanIDID of the base scan for incremental scans. commitShaString!Git commit SHA that was scanned. projectPathID!Full path of the project. scanTypeAscpScanTypeType of scan (default: full). FULL
ascpScanCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. scanAscpScanIntroduced as an experiment in GitLab 18.10. Created scan.
ascpSecurityContextCreateInput type: AscpSecurityContextCreateInput
ascpSecurityContextCreate argumentsascpSecurityContextCreate fieldsauditEventsAmazonS3ConfigurationCreateDeprecated in GitLab 18.10. Use groupAuditEventStreamingDestinationsCreate with amazonS3 category instead.
Input type: AuditEventsAmazonS3ConfigurationCreateInput
auditEventsAmazonS3ConfigurationCreate argumentsName Type Description accessKeyXidString!Access key ID of the Amazon S3 account. awsRegionString!AWS region where the bucket is created. bucketNameString!Name of the bucket where the audit events would be logged. groupPathID!Group path. nameStringDestination name. secretAccessKeyString!Secret access key of the Amazon S3 account.
auditEventsAmazonS3ConfigurationCreate fieldsauditEventsAmazonS3ConfigurationDeleteDeprecated in GitLab 18.10. Use groupAuditEventStreamingDestinationsDelete instead.
Input type: AuditEventsAmazonS3ConfigurationDeleteInput
auditEventsAmazonS3ConfigurationDelete argumentsauditEventsAmazonS3ConfigurationDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
auditEventsAmazonS3ConfigurationUpdateDeprecated in GitLab 18.10. Use groupAuditEventStreamingDestinationsUpdate instead.
Input type: AuditEventsAmazonS3ConfigurationUpdateInput
auditEventsAmazonS3ConfigurationUpdate argumentsName Type Description accessKeyXidStringAccess key ID of the Amazon S3 account. activeBooleanActive status of the destination. awsRegionStringAWS region where the bucket is created. bucketNameStringName of the bucket where the audit events would be logged. idAuditEventsAmazonS3ConfigurationID!ID of the Amazon S3 configuration to update. nameStringDestination name. secretAccessKeyStringSecret access key of the Amazon S3 account.
auditEventsAmazonS3ConfigurationUpdate fieldsauditEventsGroupDestinationDenylistEventsAddInput type: AuditEventsGroupDestinationDenylistEventsAddInput
auditEventsGroupDestinationDenylistEventsAdd argumentsauditEventsGroupDestinationDenylistEventsAdd fieldsName Type Description errors[String!]!Errors encountered during the mutation. eventTypeFilters[String!]List of denylisted event type filters for the audit event external destination.
auditEventsGroupDestinationDenylistEventsDeleteInput type: AuditEventsGroupDestinationDenylistEventsDeleteInput
auditEventsGroupDestinationDenylistEventsDelete argumentsauditEventsGroupDestinationDenylistEventsDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
auditEventsGroupDestinationEventsAddInput type: AuditEventsGroupDestinationEventsAddInput
auditEventsGroupDestinationEventsAdd argumentsauditEventsGroupDestinationEventsAdd fieldsName Type Description errors[String!]!Errors encountered during the mutation. eventTypeFilters[String!]List of event type filters for the audit event external destination.
auditEventsGroupDestinationEventsDeleteInput type: AuditEventsGroupDestinationEventsDeleteInput
auditEventsGroupDestinationEventsDelete argumentsauditEventsGroupDestinationEventsDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
auditEventsGroupDestinationNamespaceFilterCreateInput type: AuditEventsGroupDestinationNamespaceFilterCreateInput
auditEventsGroupDestinationNamespaceFilterCreate argumentsauditEventsGroupDestinationNamespaceFilterCreate fieldsauditEventsGroupDestinationNamespaceFilterDeleteInput type: AuditEventsGroupDestinationNamespaceFilterDeleteInput
auditEventsGroupDestinationNamespaceFilterDelete argumentsauditEventsGroupDestinationNamespaceFilterDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
auditEventsInstanceAmazonS3ConfigurationCreateDeprecated in GitLab 18.10. Use instanceAuditEventStreamingDestinationsCreate with amazonS3 category instead.
Input type: AuditEventsInstanceAmazonS3ConfigurationCreateInput
auditEventsInstanceAmazonS3ConfigurationCreate argumentsName Type Description accessKeyXidString!Access key ID of the Amazon S3 account. awsRegionString!AWS region where the bucket is created. bucketNameString!Name of the bucket where the audit events would be logged. nameStringDestination name. secretAccessKeyString!Secret access key of the Amazon S3 account.
auditEventsInstanceAmazonS3ConfigurationCreate fieldsauditEventsInstanceAmazonS3ConfigurationDeleteDeprecated in GitLab 18.10. Use instanceAuditEventStreamingDestinationsDelete instead.
Input type: AuditEventsInstanceAmazonS3ConfigurationDeleteInput
auditEventsInstanceAmazonS3ConfigurationDelete argumentsauditEventsInstanceAmazonS3ConfigurationDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
auditEventsInstanceAmazonS3ConfigurationUpdateDeprecated in GitLab 18.10. Use instanceAuditEventStreamingDestinationsUpdate instead.
Input type: AuditEventsInstanceAmazonS3ConfigurationUpdateInput
auditEventsInstanceAmazonS3ConfigurationUpdate argumentsName Type Description accessKeyXidStringAccess key ID of the Amazon S3 account. activeBooleanActive status of the destination. awsRegionStringAWS region where the bucket is created. bucketNameStringName of the bucket where the audit events would be logged. idAuditEventsInstanceAmazonS3ConfigurationID!ID of the instance-level Amazon S3 configuration to update. nameStringDestination name. secretAccessKeyStringSecret access key of the Amazon S3 account.
auditEventsInstanceAmazonS3ConfigurationUpdate fieldsauditEventsInstanceDestinationEventsAddInput type: AuditEventsInstanceDestinationEventsAddInput
auditEventsInstanceDestinationEventsAdd argumentsauditEventsInstanceDestinationEventsAdd fieldsName Type Description errors[String!]!Errors encountered during the mutation. eventTypeFilters[String!]List of event type filters for the audit event external destination.
auditEventsInstanceDestinationEventsDeleteInput type: AuditEventsInstanceDestinationEventsDeleteInput
auditEventsInstanceDestinationEventsDelete argumentsauditEventsInstanceDestinationEventsDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
auditEventsInstanceDestinationNamespaceFilterCreateInput type: AuditEventsInstanceDestinationNamespaceFilterCreateInput
auditEventsInstanceDestinationNamespaceFilterCreate argumentsauditEventsInstanceDestinationNamespaceFilterCreate fieldsauditEventsInstanceDestinationNamespaceFilterDeleteInput type: AuditEventsInstanceDestinationNamespaceFilterDeleteInput
auditEventsInstanceDestinationNamespaceFilterDelete argumentsauditEventsInstanceDestinationNamespaceFilterDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
auditEventsStreamingDestinationEventsAddDeprecated in GitLab 18.10. Use auditEventsGroupDestinationEventsAdd instead.
Input type: AuditEventsStreamingDestinationEventsAddInput
auditEventsStreamingDestinationEventsAdd argumentsauditEventsStreamingDestinationEventsAdd fieldsName Type Description errors[String!]!Errors encountered during the mutation. eventTypeFilters[String!]List of event type filters for the audit event external destination.
auditEventsStreamingDestinationEventsRemoveDeprecated in GitLab 18.10. Use auditEventsGroupDestinationEventsRemove instead.
Input type: AuditEventsStreamingDestinationEventsRemoveInput
auditEventsStreamingDestinationEventsRemove argumentsauditEventsStreamingDestinationEventsRemove fieldsName Type Description errors[String!]!Errors encountered during the mutation.
auditEventsStreamingDestinationInstanceEventsAddDeprecated in GitLab 18.10. Use auditEventsInstanceDestinationEventsAdd instead.
Input type: AuditEventsStreamingDestinationInstanceEventsAddInput
auditEventsStreamingDestinationInstanceEventsAdd argumentsauditEventsStreamingDestinationInstanceEventsAdd fieldsName Type Description errors[String!]!Errors encountered during the mutation. eventTypeFilters[String!]List of event type filters for the audit event external destination.
auditEventsStreamingDestinationInstanceEventsRemoveDeprecated in GitLab 18.10. Use auditEventsInstanceDestinationEventsRemove instead.
Input type: AuditEventsStreamingDestinationInstanceEventsRemoveInput
auditEventsStreamingDestinationInstanceEventsRemove argumentsauditEventsStreamingDestinationInstanceEventsRemove fieldsName Type Description errors[String!]!Errors encountered during the mutation.
Deprecated in GitLab 18.10. Configure headers by using the streaming destination configuration. Use groupAuditEventStreamingDestinationsUpdate.
Input type: AuditEventsStreamingHeadersCreateInput
Deprecated in GitLab 18.10. Configure headers by using the streaming destination configuration. Use groupAuditEventStreamingDestinationsUpdate.
Input type: AuditEventsStreamingHeadersDestroyInput
Name Type Description errors[String!]!Errors encountered during the mutation.
Deprecated in GitLab 18.10. Configure headers by using the streaming destination configuration. Use groupAuditEventStreamingDestinationsUpdate.
Input type: AuditEventsStreamingHeadersUpdateInput
auditEventsStreamingHttpNamespaceFiltersAddDeprecated in GitLab 18.10. Use auditEventsGroupDestinationNamespaceFilterCreate instead.
Input type: AuditEventsStreamingHTTPNamespaceFiltersAddInput
auditEventsStreamingHttpNamespaceFiltersAdd argumentsauditEventsStreamingHttpNamespaceFiltersAdd fieldsauditEventsStreamingHttpNamespaceFiltersDeleteDeprecated in GitLab 18.10. Use auditEventsGroupDestinationNamespaceFilterDelete instead.
Input type: AuditEventsStreamingHTTPNamespaceFiltersDeleteInput
auditEventsStreamingHttpNamespaceFiltersDelete argumentsauditEventsStreamingHttpNamespaceFiltersDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
Deprecated in GitLab 18.10. Configure headers by using the streaming destination configuration. Use instanceAuditEventStreamingDestinationsUpdate.
Input type: AuditEventsStreamingInstanceHeadersCreateInput
Deprecated in GitLab 18.10. Configure headers by using the streaming destination configuration. Use instanceAuditEventStreamingDestinationsUpdate.
Input type: AuditEventsStreamingInstanceHeadersDestroyInput
Name Type Description errors[String!]!Errors encountered during the mutation.
Deprecated in GitLab 18.10. Configure headers by using the streaming destination configuration. Use instanceAuditEventStreamingDestinationsUpdate.
Input type: AuditEventsStreamingInstanceHeadersUpdateInput
awardEmojiAddInput type: AwardEmojiAddInput
awardEmojiAdd argumentsName Type Description awardableIdAwardableID!Global ID of the awardable resource. nameString!Emoji name.
awardEmojiAdd fieldsName Type Description awardEmojiAwardEmojiEmoji reactions after mutation. errors[String!]!Errors encountered during the mutation.
awardEmojiRemoveInput type: AwardEmojiRemoveInput
awardEmojiRemove argumentsName Type Description awardableIdAwardableID!Global ID of the awardable resource. nameString!Emoji name.
awardEmojiRemove fieldsName Type Description awardEmojiAwardEmojiEmoji reactions after mutation. errors[String!]!Errors encountered during the mutation.
awardEmojiToggleInput type: AwardEmojiToggleInput
awardEmojiToggle argumentsName Type Description awardableIdAwardableID!Global ID of the awardable resource. nameString!Emoji name.
awardEmojiToggle fieldsName Type Description awardEmojiAwardEmojiEmoji reactions after mutation. errors[String!]!Errors encountered during the mutation. toggledOnBoolean!Indicates the status of the emoji. True if the toggle awarded the emoji, and false if the toggle removed the emoji.
boardEpicCreateDeprecated in GitLab 17.5. Replaced by WorkItem type.
Input type: BoardEpicCreateInput
boardEpicCreate argumentsName Type Description boardIdBoardsEpicBoardID!Global ID of the board that the epic is in. groupPathID!Group the epic to create is in. listIdBoardsEpicListID!Global ID of the epic board list in which epic will be created. titleString!Title of the epic.
boardEpicCreate fieldsName Type Description epicEpicEpic after creation. errors[String!]!Errors encountered during the mutation.
boardListCreateInput type: BoardListCreateInput
boardListCreate argumentsName Type Description assigneeIdUserIDGlobal ID of an existing user. backlogBooleanCreate the backlog list. boardIdBoardID!Global ID of the issue board to mutate. iterationIdIterationIDGlobal ID of an existing iteration. labelIdLabelIDGlobal ID of an existing label. milestoneIdMilestoneIDGlobal ID of an existing milestone. positionIntPosition of the list. statusIdWorkItemsStatusesStatusIDIntroduced as an experiment in GitLab 18.0. Global ID of an existing status.
boardListCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. listBoardListIssue list in the issue board.
boardListUpdateLimitMetricsInput type: BoardListUpdateLimitMetricsInput
boardListUpdateLimitMetrics argumentsName Type Description limitMetricListLimitMetricNew limit metric type for the list. listIdListID!Global ID of the list. maxIssueCountIntNew maximum issue count limit. maxIssueWeightIntNew maximum issue weight limit.
boardListUpdateLimitMetrics fieldsName Type Description errors[String!]!Errors encountered during the mutation. listBoardListUpdated list.
branchDeleteInput type: BranchDeleteInput
branchDelete argumentsName Type Description nameString!Name of the branch. projectPathID!Project full path the branch is associated with.
branchDelete fieldsName Type Description branchBranchBranch after mutation. errors[String!]!Errors encountered during the mutation.
branchRuleApprovalProjectRuleCreateInput type: branchRuleApprovalProjectRuleCreateInput
branchRuleApprovalProjectRuleCreate argumentsName Type Description approvalsRequiredInt!How many approvals are required to satisfy rule. branchRuleIdProjectsBranchRuleID!Global ID of the branch rule to destroy. coverageMinimumThresholdFloatMinimum code coverage threshold (0-100). Approval is required if coverage falls below the specified threshold. groupIds[ID!]List of IDs of Groups that can approval rule. nameString!Name of the approval rule. userIds[ID!]List of IDs of Users that can approval rule.
branchRuleApprovalProjectRuleCreate fieldsbranchRuleCreateInput type: BranchRuleCreateInput
branchRuleCreate argumentsName Type Description nameString!Branch name, with wildcards, for the branch rules. projectPathID!Full path to the project that the branch is associated with.
branchRuleCreate fieldsName Type Description branchRuleBranchRuleBranch rule after mutation. errors[String!]!Errors encountered during the mutation.
branchRuleDeleteInput type: BranchRuleDeleteInput
branchRuleDelete argumentsbranchRuleDelete fieldsName Type Description branchRuleBranchRuleBranch rule after mutation. errors[String!]!Errors encountered during the mutation.
branchRuleExternalStatusCheckCreateCreate a new external status check from a branch rule.
Input type: BranchRuleExternalStatusCheckCreateInput
branchRuleExternalStatusCheckCreate argumentsName Type Description branchRuleIdProjectsBranchRuleID!Global ID of the branch rule to update. externalUrlString!URL of external status check resource. nameString!Name of the external status check. sharedSecretStringHMAC shared secret for authenticating external status check requests.
branchRuleExternalStatusCheckCreate fieldsbranchRuleExternalStatusCheckDestroyDestroy an external status check from a branch rule.
Input type: BranchRuleExternalStatusCheckDestroyInput
branchRuleExternalStatusCheckDestroy argumentsbranchRuleExternalStatusCheckDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation.
branchRuleExternalStatusCheckUpdateUpdate an external status check from a branch rule.
Input type: BranchRuleExternalStatusCheckUpdateInput
branchRuleExternalStatusCheckUpdate argumentsbranchRuleExternalStatusCheckUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. externalStatusCheckExternalStatusCheckUpdated external status check after mutation.
branchRuleSquashOptionCreateCreate a squash option for a branch rule.
Input type: BranchRuleSquashOptionCreateInput
branchRuleSquashOptionCreate argumentsbranchRuleSquashOptionCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. squashOptionSquashOptionCreated squash option after mutation.
branchRuleSquashOptionDeleteDelete a squash option for a branch rule.
Input type: BranchRuleSquashOptionDeleteInput
branchRuleSquashOptionDelete argumentsbranchRuleSquashOptionDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
branchRuleSquashOptionUpdateUpdate a squash option for a branch rule.
Input type: BranchRuleSquashOptionUpdateInput
branchRuleSquashOptionUpdate argumentsbranchRuleSquashOptionUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. squashOptionSquashOptionUpdated squash option after mutation.
branchRuleUpdateInput type: BranchRuleUpdateInput
branchRuleUpdate argumentsbranchRuleUpdate fieldsName Type Description branchRuleBranchRuleBranch rule after mutation. errors[String!]!Errors encountered during the mutation.
bulkDestroyJobArtifactsInput type: BulkDestroyJobArtifactsInput
bulkDestroyJobArtifacts argumentsName Type Description ids[CiJobArtifactID!]!Global IDs of the job artifacts to destroy. projectIdProjectID!Global Project ID of the job artifacts to destroy. Incompatible with projectPath.
bulkDestroyJobArtifacts fieldsName Type Description destroyedCountIntNumber of job artifacts deleted. destroyedIds[CiJobArtifactID!]IDs of job artifacts that were deleted. errors[String!]!Errors encountered during the mutation.
bulkEnableDevopsAdoptionNamespacesStatus : Beta.
Input type: BulkEnableDevopsAdoptionNamespacesInput
bulkEnableDevopsAdoptionNamespaces argumentsbulkEnableDevopsAdoptionNamespaces fieldsbulkRunnerDeleteInput type: BulkRunnerDeleteInput
bulkRunnerDelete argumentsbulkRunnerDelete fieldsName Type Description deletedCountIntNumber of records effectively deleted. Only present if operation was performed synchronously. deletedIds[CiRunnerID!]IDs of records effectively deleted. Only present if operation was performed synchronously. errors[String!]!Errors encountered during the mutation.
bulkSetVulnerabilityFindingsDueDatesBulk set due dates for vulnerability findings using individual UUID entries.
This operation is best-effort: valid updates are applied even if some fail.
Input type: BulkSetVulnerabilityFindingsDueDatesInput
bulkSetVulnerabilityFindingsDueDates argumentsName Type Description projectFullPathString!Full path of the project. updates[FindingDueDatesSetInput!]!List of finding UUIDs with due dates. A maximum of 1000 updates is allowed per request.
bulkSetVulnerabilityFindingsDueDates fieldsName Type Description assignedIntNumber of findings for which a due date was successfully assigned. errors[FindingDueDatesSetError!]!Errors encountered during the mutation. A maximum of 1000 errors are returned per request. removedIntNumber of findings for which a due date was successfully removed. skippedIntNumber of findings that were skipped due to errors or not found.
Bulk updates permission settings for multiple AI tool rules.
Input type: BulkUpdateAiToolRulesInput
Name Type Description fullPathID!Full path of the root namespace to update tool rules for. projectPathIDFull path of the project to update tool rules for. When provided, rules can only be stricter than the namespace rule. toolRules[BulkToolRuleInput!]!Tool rules to update (maximum 100 entries). Each entry replaces the whole rule, so a partial entry clears the access types it omits.
Name Type Description errors[String!]!Errors encountered during the mutation. results[BulkToolRuleResult!]!Results for each tool rule update, including any per-item errors.
bulkUpdateSecurityAttributesInput type: BulkUpdateSecurityAttributesInput
bulkUpdateSecurityAttributes argumentsbulkUpdateSecurityAttributes fieldsName Type Description errors[String!]!Errors encountered while initiating the bulk update operation.
cancelVulnerabilityWorkflowCancels a vulnerability workflow execution.
Input type: CancelVulnerabilityWorkflowInput
cancelVulnerabilityWorkflow argumentscancelVulnerabilityWorkflow fieldscatalogResourcesCreateInput type: CatalogResourcesCreateInput
catalogResourcesCreate argumentsName Type Description projectPathID!Project path belonging to the catalog resource.
catalogResourcesCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation.
catalogResourcesDestroyInput type: CatalogResourcesDestroyInput
catalogResourcesDestroy argumentsName Type Description projectPathID!Project path belonging to the catalog resource.
catalogResourcesDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation.
cdApplicationCreateCreates a continuous deployment application in an organization.
Input type: CdApplicationCreateInput
cdApplicationCreate argumentscdApplicationCreate fieldsName Type Description applicationCdApplicationApplication created by the mutation. errors[String!]!Errors encountered during the mutation.
cdApplicationFlowDefinitionCreateCreates a new pipeline version of a continuous deployment application flow definition.
Input type: CdApplicationFlowDefinitionCreateInput
cdApplicationFlowDefinitionCreate argumentsName Type Description applicationIdCdApplicationID!Global ID of the application to create the flow definition for. definitionString!Body of the flow definition.
cdApplicationFlowDefinitionCreate fieldscdApplicationLinkCreateCreates a link on a continuous deployment application.
Input type: CdApplicationLinkCreateInput
cdApplicationLinkCreate argumentscdApplicationLinkCreate fieldsName Type Description applicationLinkCdApplicationLinkLink created by the mutation. errors[String!]!Errors encountered during the mutation.
cdApplicationLinkDeleteDeletes a link on a continuous deployment application.
Input type: CdApplicationLinkDeleteInput
cdApplicationLinkDelete argumentscdApplicationLinkDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
cdApplicationLinkUpdateUpdates a link on a continuous deployment application.
Input type: CdApplicationLinkUpdateInput
cdApplicationLinkUpdate argumentscdApplicationLinkUpdate fieldsName Type Description applicationLinkCdApplicationLinkLink updated by the mutation. errors[String!]!Errors encountered during the mutation.
cdApplicationUpdateUpdates a continuous deployment application.
Input type: CdApplicationUpdateInput
cdApplicationUpdate argumentsName Type Description descriptionStringDescription of the application. idCdApplicationID!Global ID of the application to update. nameStringName of the application.
cdApplicationUpdate fieldsName Type Description applicationCdApplicationApplication updated by the mutation. errors[String!]!Errors encountered during the mutation.
cdArtifactSourceCreateCreates a continuous deployment artifact source for a service.
Input type: CdArtifactSourceCreateInput
cdArtifactSourceCreate argumentsName Type Description nameString!Name of the artifact source. serviceIdCdServiceID!Global ID of the service to create the artifact source for. sourceConfigJSONConfiguration of the artifact source, defined by the consuming driver. sourceRefString!Reference of the artifact source.
cdArtifactSourceCreate fieldsName Type Description artifactSourceCdArtifactSourceArtifact source created by the mutation. errors[String!]!Errors encountered during the mutation.
cdEnvironmentCreateCreates a continuous deployment environment in an organization.
Input type: CdEnvironmentCreateInput
cdEnvironmentCreate argumentscdEnvironmentCreate fieldsName Type Description environmentCdEnvironmentEnvironment created by the mutation. errors[String!]!Errors encountered during the mutation.
cdEnvironmentDriverBindingCreateCreates a new versioned driver binding for a continuous deployment environment.
Input type: CdEnvironmentDriverBindingCreateInput
cdEnvironmentDriverBindingCreate argumentscdEnvironmentDriverBindingCreate fieldscdEnvironmentUpdateUpdates a continuous deployment environment.
Input type: CdEnvironmentUpdateInput
cdEnvironmentUpdate argumentscdEnvironmentUpdate fieldsName Type Description environmentCdEnvironmentEnvironment updated by the mutation. errors[String!]!Errors encountered during the mutation.
cdRolloutCreateCreates a continuous deployment rollout in an organization.
Input type: CdRolloutCreateInput
cdRolloutCreate argumentscdRolloutCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. rolloutCdRolloutRollout created by the mutation.
cdRolloutGateResolveResolves an open approval gate on a continuous deployment rollout by recording the decision in the rollout transition journal.
Input type: CdRolloutGateResolveInput
cdRolloutGateResolve argumentsName Type Description idCdRolloutID!Global ID of the rollout whose approval gate is being resolved. resolutionReasonStringReason for the decision. statusCdRolloutGateStatus!Decision to record for the approval gate.
cdRolloutGateResolve fieldsName Type Description errors[String!]!Errors encountered during the mutation. rolloutTransitionCdRolloutTransitionRollout transition journal entry created by the mutation.
cdServiceCreateCreates a continuous deployment service in an application.
Input type: CdServiceCreateInput
cdServiceCreate argumentsName Type Description applicationIdCdApplicationID!Global ID of the application to create the service in. descriptionStringDescription of the service. nameString!Name of the service.
cdServiceCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. serviceCdServiceService created by the mutation.
cdServiceUpdateUpdates a continuous deployment service.
Input type: CdServiceUpdateInput
cdServiceUpdate argumentsName Type Description descriptionStringDescription of the service. idCdServiceID!Global ID of the service to update. nameStringName of the service.
cdServiceUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. serviceCdServiceService updated by the mutation.
cdVersionCreateCreates a continuous deployment version from a free-text name, for artifacts GitLab did not observe being pushed.
Input type: CdVersionCreateInput
cdVersionCreate argumentsName Type Description artifactSourceIdCdArtifactSourceID!Global ID of the artifact source to create the version for. nameString!Name of the version.
cdVersionCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. versionCdVersionVersion created by the mutation.
cdVersionSetCreateCreates a continuous deployment version set in an application.
Input type: CdVersionSetCreateInput
cdVersionSetCreate argumentsName Type Description applicationIdCdApplicationID!Global ID of the application to create the version set in. descriptionStringDescription of the version set. nameString!Name of the version set. versionIds[CdVersionID!]!Global IDs of the versions that make up the version set, one per service. A version set must contain at least one version.
cdVersionSetCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. versionSetCdVersionSetVersion set created by the mutation.
ciJobTokenScopeAddGroupOrProjectInput type: CiJobTokenScopeAddGroupOrProjectInput
ciJobTokenScopeAddGroupOrProject argumentsName Type Description Default defaultPermissionsBooleanIntroduced as an experiment in GitLab 17.8. Indicates whether default permissions are enabled (true) or fine-grained permissions are enabled (false). truejobTokenPolicies[CiJobTokenScopePolicies!]Introduced as an experiment in GitLab 17.5. List of policies added to the CI job token scope. Is ignored if job token policies are disabled. []projectPathID!Project that the CI job token scope belongs to. targetPathID!Group or project to be added to the CI job token scope.
ciJobTokenScopeAddGroupOrProject fieldsciJobTokenScopeAddProjectInput type: CiJobTokenScopeAddProjectInput
ciJobTokenScopeAddProject argumentsName Type Description directionCiJobTokenScopeDirectionDeprecated in GitLab 16.0. Outbound job token scope is being removed. This field can now only be set to INBOUND. projectPathID!Project that the CI job token scope belongs to. targetProjectPathID!Project to be added to the CI job token scope.
ciJobTokenScopeAddProject fieldsciJobTokenScopeRemoveGroupInput type: CiJobTokenScopeRemoveGroupInput
ciJobTokenScopeRemoveGroup argumentsName Type Description projectPathID!Project that the CI job token scope belongs to. targetGroupPathID!Group to be removed from the CI job token scope.
ciJobTokenScopeRemoveGroup fieldsciJobTokenScopeRemoveProjectInput type: CiJobTokenScopeRemoveProjectInput
ciJobTokenScopeRemoveProject argumentsName Type Description directionCiJobTokenScopeDirectionDeprecated in GitLab 16.9. Outbound job token scope is being removed. This field can now only be set to INBOUND. projectPathID!Project that the CI job token scope belongs to. targetProjectPathID!Project to be removed from the CI job token scope.
ciJobTokenScopeRemoveProject fieldsciJobTokenScopeUpdatePoliciesInput type: CiJobTokenScopeUpdatePoliciesInput
ciJobTokenScopeUpdatePolicies argumentsName Type Description defaultPermissionsBoolean!Indicates whether default permissions are enabled (true) or fine-grained permissions are enabled (false). jobTokenPolicies[CiJobTokenScopePolicies!]!List of policies added to the CI job token scope. projectPathID!Project that the CI job token scope belongs to. targetPathID!Group or project that the CI job token targets.
ciJobTokenScopeUpdatePolicies fieldsciLintLinted and processed contents of a CI config.
Should not be requested more than once per request.
Input type: CiLintInput
ciLint argumentsName Type Description contentString!Contents of .gitlab-ci.yml. dryRunBooleanRun pipeline creation simulation, or only do static check. projectPathID!Project of the CI config. refStringRef to use when linting. Default is the project default branch.
ciLint fieldsName Type Description configCiConfigV2Linted CI config and metadata. errors[String!]!Errors encountered during the mutation.
clusterAgentDeleteInput type: ClusterAgentDeleteInput
clusterAgentDelete argumentsName Type Description idClustersAgentID!Global ID of the cluster agent that will be deleted.
clusterAgentDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
clusterAgentTokenCreateInput type: ClusterAgentTokenCreateInput
clusterAgentTokenCreate argumentsName Type Description clusterAgentIdClustersAgentID!Global ID of the cluster agent that will be associated with the new token. descriptionStringDescription of the token. nameString!Name of the token.
clusterAgentTokenCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. secretStringToken secret value. Make sure you save it - you won’t be able to access it again. tokenClusterAgentTokenToken created after mutation.
clusterAgentTokenRevokeInput type: ClusterAgentTokenRevokeInput
clusterAgentTokenRevoke argumentsclusterAgentTokenRevoke fieldsName Type Description errors[String!]!Errors encountered during the mutation.
clusterAgentUrlConfigurationCreateInput type: ClusterAgentUrlConfigurationCreateInput
clusterAgentUrlConfigurationCreate argumentsName Type Description caCertStringBase64-encoded CA certificate in PEM format to verify the agent endpoint. clientCertStringBase64-encoded client certificate in PEM format if mTLS authentication should be used. Must be provided with client_key. clientKeyStringBase64-encoded client key in PEM format if mTLS authentication should be used. Must be provided with client_cert. clusterAgentIdClustersAgentID!Global ID of the cluster agent that will be associated with the new URL configuration. tlsHostStringTLS host name to verify the server name in agent endpoint certificate. urlString!URL for the new URL configuration.
clusterAgentUrlConfigurationCreate fieldsclusterAgentUrlConfigurationDeleteInput type: ClusterAgentUrlConfigurationDeleteInput
clusterAgentUrlConfigurationDelete argumentsclusterAgentUrlConfigurationDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
commitCreateInput type: CommitCreateInput
commitCreate argumentsName Type Description Default actions[CommitAction!]Array of action hashes to commit as a batch. []allowEmptyBooleanIndicates whether an empty commit can be created. Defaults to false. falsebranchString!Name of the branch to commit into, it can be a new branch. messageString!Raw commit message. projectPathID!Project full path the branch is associated with. startBranchStringIf on a new branch, name of the original branch. startProjectPathIDFull path of the project to start the commit from. Must be the project itself or a project it was forked from. startShaStringSHA of the commit to start the new branch from. Mutually exclusive with startBranch.
commitCreate fieldsName Type Description commitCommitCommit after mutation. commitPipelinePathStringETag path for the commit’s pipeline. content[String!]Contents of the commit. errors[String!]!Errors encountered during the mutation.
Configure container scanning for a project by adding it to a new or modified
.gitlab-ci.yml file in a new branch. The new branch and a URL to
create a merge request are part of the response.
Input type: ConfigureContainerScanningInput
Name Type Description projectPathID!Full path of the project.
Name Type Description branchStringBranch that has the new/modified .gitlab-ci.yml file. errors[String!]!Errors encountered during the mutation. successPathStringRedirect path to use when the response is successful.
Enable dependency scanning .gitlab-ci.yml file in a new branch.
The new branch and a URL to create a merge request are a part of
the response.
Input type: ConfigureDependencyScanningInput
Name Type Description projectPathID!Full path of the project.
Name Type Description branchStringBranch that has the new/modified .gitlab-ci.yml file. errors[String!]!Errors encountered during the mutation. successPathStringRedirect path to use when the response is successful.
Configure SAST for a project by enabling SAST in a new or modified
.gitlab-ci.yml file in a new branch. The new branch and a URL to
create a Merge Request are a part of the response.
Input type: ConfigureSastInput
Name Type Description branchStringBranch that has the new/modified .gitlab-ci.yml file. errors[String!]!Errors encountered during the mutation. successPathStringRedirect path to use when the response is successful.
Enable SAST IaC for a project in a new or
modified .gitlab-ci.yml file in a new branch. The new
branch and a URL to create a merge request are a part of the
response.
Input type: ConfigureSastIacInput
Name Type Description projectPathID!Full path of the project.
Name Type Description branchStringBranch that has the new/modified .gitlab-ci.yml file. errors[String!]!Errors encountered during the mutation. successPathStringRedirect path to use when the response is successful.
Configure secret detection for a project by enabling secret detection
in a new or modified .gitlab-ci.yml file in a new branch. The new
branch and a URL to create a merge request are a part of the
response.
Input type: ConfigureSecretDetectionInput
Name Type Description projectPathID!Full path of the project.
Name Type Description branchStringBranch that has the new/modified .gitlab-ci.yml file. errors[String!]!Errors encountered during the mutation. successPathStringRedirect path to use when the response is successful.
containerCacheEntryDeleteInput type: ContainerCacheEntryDeleteInput
containerCacheEntryDelete argumentsName Type Description idString!ID of the cache entry.
containerCacheEntryDelete fieldscontainerUpstreamCacheDeleteInput type: ContainerUpstreamCacheDeleteInput
containerUpstreamCacheDelete argumentscontainerUpstreamCacheDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. upstreamContainerUpstreamContainer virtual registry upstream.
containerUpstreamCreateInput type: ContainerUpstreamCreateInput
containerUpstreamCreate argumentsName Type Description Default cacheValidityHoursIntCache validity period. Defaults to 24 hours. 24descriptionStringDescription of the upstream registry. idVirtualRegistriesContainerRegistryID!ID of the upstream registry. nameString!Name of upstream registry. passwordStringPassword of the upstream registry. urlString!URL of the upstream registry. usernameStringUsername of the upstream registry.
containerUpstreamCreate fieldscontainerUpstreamDeleteInput type: ContainerUpstreamDeleteInput
containerUpstreamDelete argumentscontainerUpstreamDelete fieldscontainerUpstreamTestInput type: ContainerUpstreamTestInput
containerUpstreamTest argumentsName Type Description groupPathIDFull path of the group to test the upstream registry against. Required when id is not provided. idVirtualRegistriesContainerUpstreamIDID of the upstream registry to test. When provided, groupPath, url, username, and password are ignored. passwordStringPassword for authenticating with the upstream registry. Used when id is not provided. urlStringURL of the upstream registry to test. Required when GraphqlExplorerControllerid is not provided. usernameStringUsername for authenticating with the upstream registry. Used when id is not provided.
containerUpstreamTest fieldsName Type Description errors[String!]!Errors encountered during the mutation. successBoolean!Whether the upstream connectivity test was successful.
containerUpstreamUpdateInput type: ContainerUpstreamUpdateInput
containerUpstreamUpdate argumentsName Type Description cacheValidityHoursIntCache validity period. descriptionStringDescription of the upstream registry. idVirtualRegistriesContainerUpstreamID!ID of the container virtual registry upstream. nameStringName of upstream registry. passwordStringPassword of the upstream registry. urlStringURL of the upstream registry. usernameStringUsername of the upstream registry.
containerUpstreamUpdate fieldscontainerVirtualRegistryCacheDeleteInput type: ContainerVirtualRegistryCacheDeleteInput
containerVirtualRegistryCacheDelete argumentscontainerVirtualRegistryCacheDelete fieldscontainerVirtualRegistryCreateInput type: ContainerVirtualRegistryCreateInput
containerVirtualRegistryCreate argumentsName Type Description descriptionStringDescription of the virtual registry. groupPathIDFull path of the group with which the resource is associated. nameString!Name of virtual registry.
containerVirtualRegistryCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. registryContainerRegistryContainer virtual registry after the mutation.
containerVirtualRegistryDeleteInput type: ContainerVirtualRegistryDeleteInput
containerVirtualRegistryDelete argumentscontainerVirtualRegistryDelete fieldscontainerVirtualRegistryUpdateInput type: ContainerVirtualRegistryUpdateInput
containerVirtualRegistryUpdate argumentscontainerVirtualRegistryUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. registryContainerRegistryContainer virtual registry after the mutation.
containerVirtualRegistryUpstreamCreateInput type: ContainerVirtualRegistryUpstreamCreateInput
containerVirtualRegistryUpstreamCreate argumentscontainerVirtualRegistryUpstreamCreate fieldscontainerVirtualRegistryUpstreamDeleteInput type: ContainerVirtualRegistryUpstreamDeleteInput
containerVirtualRegistryUpstreamDelete argumentscontainerVirtualRegistryUpstreamDelete fieldscontainerVirtualRegistryUpstreamUpdateInput type: ContainerVirtualRegistryUpstreamUpdateInput
containerVirtualRegistryUpstreamUpdate argumentscontainerVirtualRegistryUpstreamUpdate fieldscorpusCreateInput type: CorpusCreateInput
corpusCreate argumentsName Type Description fullPathID!Project the corpus belongs to. packageIdPackagesPackageID!ID of the corpus package.
corpusCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation.
createAlertIssueInput type: CreateAlertIssueInput
createAlertIssue argumentsName Type Description iidString!IID of the alert to mutate. projectPathID!Project the alert to mutate is in.
createAlertIssue fieldscreateAnnotationDeprecated in GitLab 16.0. Underlying feature was removed in 16.0.
Input type: CreateAnnotationInput
createAnnotation argumentsName Type Description clusterIdClustersClusterIDGlobal ID of the cluster to add an annotation to. dashboardPathString!Path to a file defining the dashboard on which the annotation should be added. descriptionString!Description of the annotation. endingAtTimeTimestamp indicating ending moment to which the annotation relates. environmentIdEnvironmentIDGlobal ID of the environment to add an annotation to. startingAtTime!Timestamp indicating starting moment to which the annotation relates.
createAnnotation fieldscreateBoardInput type: CreateBoardInput
createBoard argumentsName Type Description assigneeIdUserIDID of user to be assigned to the board. groupPathIDFull path of the group with which the resource is associated. hideBacklogListBooleanWhether or not backlog list is hidden. hideClosedListBooleanWhether or not closed list is hidden. iterationCadenceIdIterationsCadenceIDID of iteration cadence to be assigned to the board. iterationIdIterationIDID of iteration to be assigned to the board. labelIds[LabelID!]IDs of labels to be added to the board. labels[String!]Labels of the issue. milestoneIdMilestoneIDID of milestone to be assigned to the board. nameStringBoard name. projectPathIDFull path of the project with which the resource is associated. weightIntWeight value to be assigned to the board.
createBoard fieldsName Type Description boardBoardBoard after mutation. errors[String!]!Errors encountered during the mutation.
createBranchInput type: CreateBranchInput
createBranch argumentsName Type Description nameString!Name of the branch. projectPathID!Project full path the branch is associated with. refString!Branch name or commit SHA to create branch from.
createBranch fieldsName Type Description branchBranchBranch after mutation. errors[String!]!Errors encountered during the mutation.
createClusterAgentInput type: CreateClusterAgentInput
createClusterAgent argumentsName Type Description nameString!Name of the cluster agent. projectPathID!Full path of the associated project for the cluster agent.
createClusterAgent fieldsName Type Description clusterAgentClusterAgentCluster agent created after mutation. errors[String!]!Errors encountered during the mutation.
createComplianceFrameworkInput type: CreateComplianceFrameworkInput
createComplianceFramework argumentsName Type Description namespacePathID!Full path of the namespace to add the compliance framework to. paramsComplianceFrameworkInput!Parameters to update the compliance framework with.
createComplianceFramework fieldscreateComplianceFrameworkFromTemplateInput type: CreateComplianceFrameworkFromTemplateInput
createComplianceFrameworkFromTemplate argumentsName Type Description colorStringOverride the color of the compliance framework in hex format. e.g. #FCA121. defaultBooleanSet the compliance framework as the default framework for the group. descriptionStringOverride the description of the compliance framework. nameStringOverride the name of the compliance framework. namespacePathID!Full path of the namespace to add the compliance framework to. templateIdComplianceManagementFrameworksTemplateRegistryTemplateID!Unique identifier of the template to create the framework from.
createComplianceFrameworkFromTemplate fieldscreateComplianceRequirementInput type: CreateComplianceRequirementInput
createComplianceRequirement argumentscreateComplianceRequirement fieldscreateComplianceRequirementsControlInput type: CreateComplianceRequirementsControlInput
createComplianceRequirementsControl argumentscreateComplianceRequirementsControl fieldscreateContainerProtectionRepositoryRuleCreates a repository protection rule to restrict access to a project’s container registry.
Input type: CreateContainerProtectionRepositoryRuleInput
createContainerProtectionRepositoryRule argumentsName Type Description minimumAccessLevelForDeleteContainerProtectionRepositoryRuleAccessLevelIntroduced as an experiment in GitLab 17.11. Minimum GitLab access level required to delete container images from the container repository. Valid values include MAINTAINER, OWNER, or ADMIN. If the value is nil, the default minimum access level is DEVELOPER. Valid only when feature flag container_registry_protected_containers_delete is enabled. minimumAccessLevelForPushContainerProtectionRepositoryRuleAccessLevelMinimum GitLab access level required to push container images to the container repository. Valid values include MAINTAINER, OWNER, or ADMIN. If the value is nil, the default minimum access level is DEVELOPER. projectPathID!Full path of the project where a protection rule is located. repositoryPathPatternString!Container repository path pattern protected by the protection rule. Must start with the project’s full path. For example: my-project/*-prod-*. Wildcard character * is allowed anywhere after the project’s full path.
createContainerProtectionRepositoryRule fieldscreateContainerProtectionTagRuleCreates a protection rule to control which user roles can modify container image tags matching a specified pattern.
Input type: createContainerProtectionTagRuleInput
createContainerProtectionTagRule argumentsName Type Description minimumAccessLevelForDeleteContainerProtectionTagRuleAccessLevelMinimum GitLab access level required to delete container image tags from the container repository. Valid values include MAINTAINER, OWNER, or ADMIN. If the value is nil, no access level can delete tags. minimumAccessLevelForPushContainerProtectionTagRuleAccessLevelMinimum GitLab access level required to push container image tags to the container repository. Valid values include MAINTAINER, OWNER, or ADMIN. If the value is nil, no access level can push tags. projectPathID!Full path of the project containing the container image tags. tagNamePatternString!The pattern that matches container image tags to protect. For example, v1.*. Wildcard character * allowed.
createContainerProtectionTagRule fieldsName Type Description containerProtectionTagRuleContainerProtectionTagRuleProtection rule for container image tags after creation. errors[String!]!Errors encountered during the mutation.
createCustomDashboardCreates a custom dashboard in an organization.
Input type: CreateCustomDashboardInput
createCustomDashboard argumentscreateCustomDashboard fieldscreateCustomEmojiInput type: CreateCustomEmojiInput
createCustomEmoji argumentsName Type Description groupPathID!Namespace full path the emoji is associated with. nameString!Name of the emoji. urlString!Location of the emoji file.
createCustomEmoji fieldsName Type Description customEmojiCustomEmojiNew custom emoji. errors[String!]!Errors encountered during the mutation.
createDiffNoteInput type: CreateDiffNoteInput
createDiffNote argumentsName Type Description bodyString!Content of the note. internalBooleanInternal flag for a note. Default is false. noteableIdNoteableID!Global ID of the resource to add a note to. positionDiffPositionInput!Position of the note on a diff.
createDiffNote fieldsName Type Description errors[String!]!Errors encountered during the mutation. noteNoteNote after mutation. quickActionsStatusQuickActionsStatusStatus of quick actions after mutation.
createDiscussionInput type: CreateDiscussionInput
createDiscussion argumentsName Type Description bodyString!Content of the note. internalBooleanInternal flag for a note. Default is false. noteableIdNoteableID!Global ID of the resource to add a note to.
createDiscussion fieldsName Type Description errors[String!]!Errors encountered during the mutation. noteNoteNote after mutation. quickActionsStatusQuickActionsStatusStatus of quick actions after mutation.
createEpicDeprecated in GitLab 17.5. Replaced by WorkItem type. For more information, see migration guide .
Input type: CreateEpicInput
createEpic argumentsName Type Description addLabelIds[ID!]IDs of labels to be added to the epic. addLabels[String!]Array of labels to be added to the epic. colorColorColor of the epic. confidentialBooleanIndicates if the epic is confidential. descriptionStringDescription of the epic. dueDateFixedStringEnd date of the epic. dueDateIsFixedBooleanIndicates end date should be sourced from due_date_fixed field not the issue milestones. groupPathID!Group the epic to mutate is in. removeLabelIds[ID!]IDs of labels to be removed from the epic. startDateFixedStringStart date of the epic. startDateIsFixedBooleanIndicates start date should be sourced from start_date_fixed field not the issue milestones. titleStringTitle of the epic.
createEpic fieldsName Type Description epicEpicCreated epic. errors[String!]!Errors encountered during the mutation.
createFunctionalVerificationWorkflowInput type: CreateFunctionalVerificationWorkflowInput
createFunctionalVerificationWorkflow argumentsName Type Description checkTypeFunctionalVerificationCheckType!Type of functional verification check to run. fullPathID!Full path of the namespace to run the verification check against.
createFunctionalVerificationWorkflow fieldscreateImageDiffNoteInput type: CreateImageDiffNoteInput
createImageDiffNote argumentscreateImageDiffNote fieldsName Type Description errors[String!]!Errors encountered during the mutation. noteNoteNote after mutation. quickActionsStatusQuickActionsStatusStatus of quick actions after mutation.
createIssueInput type: CreateIssueInput
createIssue argumentsName Type Description assigneeIds[UserID!]Array of user IDs to assign to the issue. confidentialBooleanIndicates the issue is confidential. createdAtTimeTimestamp when the issue was created. Available only for admins and project owners. descriptionStringDescription of the issue. discussionToResolveStringID of a discussion to resolve. Also pass merge_request_to_resolve_discussions_of. dueDateISO8601DateDue date of the issue. epicIdEpicIDDeprecated in GitLab 17.5. This will be replaced by WorkItem hierarchyWidget. healthStatusHealthStatusDesired health status. iidIntIID (internal ID) of a project issue. Only admins and project owners can modify. iterationCadenceIdIterationsCadenceIDGlobal iteration cadence ID. Required when iterationWildcardId is provided. iterationIdIterationIDGlobal iteration ID. Mutually exclusive argument with iterationWildcardId. iterationWildcardIdIssueCreationIterationWildcardIdIteration wildcard ID. Supported values are: CURRENT. Mutually exclusive argument with iterationId. iterationCadenceId also required when this argument is provided. labelIds[LabelID!]IDs of labels to be added to the issue. labels[String!]Labels of the issue. lockedBooleanIndicates discussion is locked on the issue. mergeRequestToResolveDiscussionsOfMergeRequestIDIID of a merge request for which to resolve discussions. milestoneIdMilestoneIDID of the milestone to assign to the issue. On update milestone will be removed if set to null. moveAfterIdIssueIDGlobal ID of issue that should be placed after the current issue. moveBeforeIdIssueIDGlobal ID of issue that should be placed before the current issue. projectPathID!Project full path the issue is associated with. statusIdWorkItemsStatusesStatusIDGlobal ID of the status. titleString!Title of the issue. typeIssueTypeType of the issue. weightIntWeight of the issue.
createIssue fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
createIterationDeprecated in GitLab 14.0. Use iterationCreate.
Input type: CreateIterationInput
createIteration argumentsName Type Description descriptionStringDescription of the iteration. dueDateStringEnd date of the iteration. groupPathIDFull path of the group with which the resource is associated. iterationsCadenceIdIterationsCadenceIDGlobal ID of the iteration cadence to be assigned to the new iteration. projectPathIDFull path of the project with which the resource is associated. startDateStringStart date of the iteration. titleStringTitle of the iteration.
createIteration fieldsName Type Description errors[String!]!Errors encountered during the mutation. iterationIterationCreated iteration.
createLatestDiffNoteCreates a diff note on a merge request using minimal parameters. SHAs, file paths, and position type are resolved automatically from the latest merge request diff.
Input type: CreateLatestDiffNoteInput
createLatestDiffNote argumentsName Type Description bodyString!Content of the note. endNewLineIntEnd line number on the new version of the file for a multiline note. When provided, newLine is required and marks the start of the comment range. endOldLineIntEnd line number on the old version of the file for a multiline note. When provided, oldLine is required and marks the start of the comment range. filePathString!Path of the file to comment on. For renamed files, either the old or new path can be used. headShaString!HEAD SHA of the merge request diff. The request fails if it does not match the current diff, guarding against commenting on a stale diff. internalBooleanInternal flag for a note. Default is false. newLineIntLine number on the new version of the file. Use alone for added lines, with oldLine for unchanged context lines. At least one of newLine or oldLine is required. noteableIdMergeRequestID!Global ID of the merge request to add a diff note to. oldLineIntLine number on the old version of the file. Use alone for removed lines, with newLine for unchanged context lines. At least one of newLine or oldLine is required.
createLatestDiffNote fieldsName Type Description errors[String!]!Errors encountered during the mutation. noteNoteNote after mutation. quickActionsStatusQuickActionsStatusStatus of quick actions after mutation.
createNoteCreates a Note.
If the body of the Note contains only quick actions,
the Note will be destroyed during an update, and no Note will be
returned.
Input type: CreateNoteInput
createNote argumentsName Type Description bodyString!Content of the note. discussionIdDiscussionIDGlobal ID of the discussion the note is in reply to. internalBooleanInternal flag for a note. Default is false. mergeRequestDiffHeadShaStringSHA of the head commit which is used to ensure that the merge request has not been updated since the request was sent. noteableIdNoteableID!Global ID of the resource to add a note to.
createNote fieldsName Type Description errors[String!]!Errors encountered during the mutation. noteNoteNote after mutation. quickActionsStatusQuickActionsStatusStatus of quick actions after mutation.
createPackagesProtectionRuleCreates a protection rule to restrict access to project packages.
Input type: CreatePackagesProtectionRuleInput
createPackagesProtectionRule argumentsName Type Description minimumAccessLevelForDeletePackagesProtectionRuleAccessLevelForDeleteIntroduced as an experiment in GitLab 17.10. Minimum GitLab access required to delete packages from the package registry. Valid values include OWNER or ADMIN. If the value is nil, the default minimum access level is MAINTAINER. Available only when feature flag packages_protected_packages_delete is enabled. minimumAccessLevelForPushPackagesProtectionRuleAccessLevelMinimum GitLab access required to push packages to the package registry. Valid values include MAINTAINER, OWNER, or ADMIN. If the value is nil, the default minimum access level is DEVELOPER. packageNamePatternString!Package name protected by the protection rule. For example, @my-scope/my-package-*. Wildcard character * allowed. packageTypePackagesProtectionRulePackageType!Package type protected by the protection rule. For example, NPM, PYPI. projectPathID!Full path of the project where a protection rule is located.
createPackagesProtectionRule fieldscreateRequirementInput type: CreateRequirementInput
createRequirement argumentsName Type Description descriptionStringDescription of the requirement. projectPathID!Full project path the requirement is associated with. titleStringTitle of the requirement.
createRequirement fieldsName Type Description errors[String!]!Errors encountered during the mutation. requirementRequirementRequirement after mutation.
createSnippetInput type: CreateSnippetInput
createSnippet argumentsName Type Description blobActions[SnippetBlobActionInputType!]Actions to perform over the snippet repository and blobs. descriptionStringDescription of the snippet. projectPathIDFull path of the project the snippet is associated with. titleString!Title of the snippet. uploadedFiles[String!]Paths to files uploaded in the snippet description. visibilityLevelVisibilityLevelsEnum!Visibility level of the snippet.
createSnippet fieldsName Type Description errors[String!]!Errors encountered during the mutation. snippetSnippetSnippet after mutation.
Creates a protection rule for a Terraform state backend.
Input type: CreateTerraformStateProtectionRuleInput
Name Type Description Default allowedFromTerraformStateProtectionRuleAllowedFromIntroduced as an experiment in GitLab 19.1. Restriction on the source of write requests. ANYWHERE allows all sources, CI_ONLY requires a CI job token, CI_ON_PROTECTED_BRANCH_ONLY requires a CI job on a protected branch. ANYWHEREminimumAccessLevelForWriteTerraformStateProtectionRuleAccessLevel!Minimum GitLab access level required to perform write operations on the Terraform state. Valid values include DEVELOPER, MAINTAINER, OWNER, or ADMIN. projectPathID!Full path of the project where the protection rule is located. stateNameString!Terraform state name protected by the rule.
createTestCaseInput type: CreateTestCaseInput
createTestCase argumentsName Type Description confidentialBooleanSets the test case confidentiality. descriptionStringTest case description. labelIds[ID!]IDs of labels to be added to the test case. projectPathID!Project full path to create the test case in. titleString!Test case title.
createTestCase fieldsName Type Description errors[String!]!Errors encountered during the mutation. testCaseIssueTest case created.
customFieldArchiveInput type: CustomFieldArchiveInput
customFieldArchive argumentscustomFieldArchive fieldsName Type Description customFieldCustomFieldArchived custom field. errors[String!]!Errors encountered during the mutation.
customFieldCreateInput type: CustomFieldCreateInput
customFieldCreate argumentscustomFieldCreate fieldsName Type Description customFieldCustomFieldCreated custom field. errors[String!]!Errors encountered during the mutation.
customFieldUnarchiveInput type: CustomFieldUnarchiveInput
customFieldUnarchive argumentscustomFieldUnarchive fieldsName Type Description customFieldCustomFieldUnarchived custom field. errors[String!]!Errors encountered during the mutation.
customFieldUpdateInput type: CustomFieldUpdateInput
customFieldUpdate argumentscustomFieldUpdate fieldsName Type Description customFieldCustomFieldUpdated custom field. errors[String!]!Errors encountered during the mutation.
Input type: CustomerRelationsContactCreateInput
Input type: CustomerRelationsContactUpdateInput
customerRelationsOrganizationCreateInput type: CustomerRelationsOrganizationCreateInput
customerRelationsOrganizationCreate argumentsName Type Description defaultRateFloatStandard billing rate for the organization. descriptionStringDescription of or notes for the organization. groupIdGroupID!Group for the organization. nameString!Name of the organization.
customerRelationsOrganizationCreate fieldscustomerRelationsOrganizationUpdateInput type: CustomerRelationsOrganizationUpdateInput
customerRelationsOrganizationUpdate argumentscustomerRelationsOrganizationUpdate fieldsdastOnDemandScanCreateInput type: DastOnDemandScanCreateInput
dastOnDemandScanCreate argumentsName Type Description dastScannerProfileIdDastScannerProfileIDID of the scanner profile to be used for the scan. dastSiteProfileIdDastSiteProfileID!ID of the site profile to be used for the scan. fullPathID!Project the site profile belongs to.
dastOnDemandScanCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. pipelineUrlStringURL of the pipeline that was created.
dastProfileCreateInput type: DastProfileCreateInput
dastProfileCreate argumentsName Type Description Default branchNameStringAssociated branch. dastProfileScheduleDastProfileScheduleInputRepresents a DAST Profile Schedule. dastScannerProfileIdDastScannerProfileID!ID of the scanner profile to be associated. dastSiteProfileIdDastSiteProfileID!ID of the site profile to be associated. descriptionStringDescription of the profile. Defaults to an empty string. ""fullPathID!Project the profile belongs to. nameString!Name of the profile. runAfterCreateBooleanRun scan using profile after creation. Defaults to false. falsetagList[String!]Indicates the runner tags associated with the profile.
dastProfileCreate fieldsName Type Description dastProfileDastProfileCreated profile. errors[String!]!Errors encountered during the mutation. pipelineUrlStringURL of the pipeline that was created. Requires runAfterCreate to be set to true.
dastProfileDeleteInput type: DastProfileDeleteInput
dastProfileDelete argumentsdastProfileDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
dastProfileRunInput type: DastProfileRunInput
dastProfileRun argumentsName Type Description fullPathIDDeprecated in GitLab 14.5. Full path not required to qualify Global ID. idDastProfileID!ID of the profile to be used for the scan.
dastProfileRun fieldsName Type Description errors[String!]!Errors encountered during the mutation. pipelineUrlStringURL of the pipeline that was created.
dastProfileUpdateInput type: DastProfileUpdateInput
dastProfileUpdate argumentsName Type Description Default branchNameStringAssociated branch. dastProfileScheduleDastProfileScheduleInputRepresents a DAST profile schedule. dastScannerProfileIdDastScannerProfileIDID of the scanner profile to be associated. dastSiteProfileIdDastSiteProfileIDID of the site profile to be associated. descriptionStringDescription of the profile. Defaults to an empty string. ""fullPathIDDeprecated in GitLab 14.5. Full path not required to qualify Global ID. idDastProfileID!ID of the profile to be deleted. nameStringName of the profile. runAfterUpdateBooleanRun scan using profile after update. Defaults to false. falsetagList[String!]Indicates the runner tags associated with the profile.
dastProfileUpdate fieldsName Type Description dastProfileDastProfileUpdated profile. errors[String!]!Errors encountered during the mutation. pipelineUrlStringThe URL of the pipeline that was created. Requires the input argument runAfterUpdate to be set to true when calling the mutation, otherwise no pipeline will be created.
dastScannerProfileCreateInput type: DastScannerProfileCreateInput
dastScannerProfileCreate argumentsName Type Description Default fullPathID!Project the scanner profile belongs to. profileNameString!Name of the scanner profile. scanTypeDastScanTypeEnumIndicates the type of DAST scan that will run. Either a Passive Scan or an Active Scan. PASSIVEshowDebugMessagesBooleanIndicates if debug messages should be included in DAST console output. True to include the debug messages. falsespiderTimeoutIntMaximum number of minutes allowed for the spider to traverse the site. tagList[String!]Deprecated in GitLab 15.8. Moved to DastProfile. targetTimeoutIntMaximum number of seconds allowed for the site under test to respond to a request. useAjaxSpiderBooleanIndicates if the AJAX spider should be used to crawl the target site. True to run the AJAX spider in addition to the traditional spider, and false to run only the traditional spider. false
dastScannerProfileCreate fieldsdastScannerProfileDeleteInput type: DastScannerProfileDeleteInput
dastScannerProfileDelete argumentsName Type Description fullPathIDDeprecated in GitLab 14.5. Full path not required to qualify Global ID. idDastScannerProfileID!ID of the scanner profile to be deleted.
dastScannerProfileDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
dastScannerProfileUpdateInput type: DastScannerProfileUpdateInput
dastScannerProfileUpdate argumentsName Type Description fullPathIDDeprecated in GitLab 14.5. Full path not required to qualify Global ID. idDastScannerProfileID!ID of the scanner profile to be updated. profileNameString!Name of the scanner profile. scanTypeDastScanTypeEnumIndicates the type of DAST scan that will run. Either a Passive Scan or an Active Scan. showDebugMessagesBooleanIndicates if debug messages should be included in DAST console output. True to include the debug messages. spiderTimeoutInt!Maximum number of minutes allowed for the spider to traverse the site. tagList[String!]Deprecated in GitLab 15.8. Moved to DastProfile. targetTimeoutInt!Maximum number of seconds allowed for the site under test to respond to a request. useAjaxSpiderBooleanIndicates if the AJAX spider should be used to crawl the target site. True to run the AJAX spider in addition to the traditional spider, and false to run only the traditional spider.
dastScannerProfileUpdate fieldsdastSiteProfileCreateInput type: DastSiteProfileCreateInput
dastSiteProfileCreate argumentsName Type Description Default authDastSiteProfileAuthInputParameters for authentication. excludedUrls[String!]URLs to skip during an authenticated scan. Defaults to []. []fullPathID!Project the site profile belongs to. optionalVariables[JSON!]Optional variables that can be configured for DAST scans. []profileNameString!Name of the site profile. requestHeadersStringComma-separated list of request header names and values to be added to every request made by DAST. scanFilePathStringFile Path or URL used as input for the scan method. scanMethodDastScanMethodTypeScan method by the scanner. targetTypeDastTargetTypeEnumType of target to be scanned. targetUrlStringURL of the target to be scanned.
dastSiteProfileCreate fieldsdastSiteProfileDeleteInput type: DastSiteProfileDeleteInput
dastSiteProfileDelete argumentsName Type Description fullPathIDDeprecated in GitLab 14.5. Full path not required to qualify Global ID. idDastSiteProfileID!ID of the site profile to be deleted.
dastSiteProfileDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
dastSiteProfileUpdateInput type: DastSiteProfileUpdateInput
dastSiteProfileUpdate argumentsName Type Description authDastSiteProfileAuthInputParameters for authentication. excludedUrls[String!]URLs to skip during an authenticated scan. fullPathIDDeprecated in GitLab 14.5. Full path not required to qualify Global ID. idDastSiteProfileID!ID of the site profile to be updated. optionalVariables[JSON!]Optional variables that can be configured for DAST scans. profileNameString!Name of the site profile. requestHeadersStringComma-separated list of request header names and values to be added to every request made by DAST. scanFilePathStringFile Path or URL used as input for the scan method. scanMethodDastScanMethodTypeScan method by the scanner. targetTypeDastTargetTypeEnumType of target to be scanned. targetUrlStringURL of the target to be scanned.
dastSiteProfileUpdate fieldsdastSiteTokenCreateInput type: DastSiteTokenCreateInput
dastSiteTokenCreate argumentsName Type Description fullPathID!Project the site token belongs to. targetUrlStringURL of the target to be validated.
dastSiteTokenCreate fieldsdastSiteValidationCreateInput type: DastSiteValidationCreateInput
dastSiteValidationCreate argumentsdastSiteValidationCreate fieldsdastSiteValidationRevokeInput type: DastSiteValidationRevokeInput
dastSiteValidationRevoke argumentsName Type Description fullPathID!Project the site validation belongs to. normalizedTargetUrlString!Normalized URL of the target to be revoked.
dastSiteValidationRevoke fieldsName Type Description errors[String!]!Errors encountered during the mutation.
deleteAnnotationDeprecated in GitLab 16.0. Underlying feature was removed in 16.0.
Input type: DeleteAnnotationInput
deleteAnnotation argumentsName Type Description idString!Global ID of the annotation to delete.
deleteAnnotation fieldsName Type Description errors[String!]!Errors encountered during the mutation.
deleteContainerProtectionRepositoryRuleDeletes a container repository protection rule.
Input type: DeleteContainerProtectionRepositoryRuleInput
deleteContainerProtectionRepositoryRule argumentsdeleteContainerProtectionRepositoryRule fieldsdeleteContainerProtectionTagRuleDeletes a protection rule that controls which user roles can modify container image tags matching a specified pattern.
Input type: DeleteContainerProtectionTagRuleInput
deleteContainerProtectionTagRule argumentsdeleteContainerProtectionTagRule fieldsdeleteConversationThreadInput type: DeleteConversationThreadInput
deleteConversationThread argumentsdeleteConversationThread fieldsName Type Description errors[String!]!List of errors that occurred whilst trying to delete the thread. successBoolean!Returns true if thread was successfully deleted.
deleteCustomDashboardDeletes a custom dashboard.
Input type: DeleteCustomDashboardInput
deleteCustomDashboard argumentsdeleteCustomDashboard fieldsdeleteDuoWorkflowsWorkflowInput type: DeleteDuoWorkflowsWorkflowInput
deleteDuoWorkflowsWorkflow argumentsdeleteDuoWorkflowsWorkflow fieldsName Type Description errors[String!]!List of errors that occurred whilst trying to delete the workflow. successBoolean!Returns true if workflow was successfully deleted.
deleteGroupCustomAttributeDeletes a custom attribute from a group. Only available to admins.
Input type: DeleteGroupCustomAttributeInput
deleteGroupCustomAttribute argumentsName Type Description groupPathID!Full path of the group. keyString!Key of the custom attribute to delete.
deleteGroupCustomAttribute fieldsName Type Description customAttributeCustomAttributeDeleted custom attribute. errors[String!]!Errors encountered during the mutation.
deletePackagesProtectionRuleDeletes a protection rule for packages.
Input type: DeletePackagesProtectionRuleInput
deletePackagesProtectionRule argumentsdeletePackagesProtectionRule fieldsName Type Description errors[String!]!Errors encountered during the mutation. packageProtectionRulePackagesProtectionRulePackages protection rule that was deleted successfully.
deletePagesDeploymentDeletes a Pages deployment.
Input type: DeletePagesDeploymentInput
deletePagesDeployment argumentsdeletePagesDeployment fieldsName Type Description errors[String!]!Errors encountered during the mutation. pagesDeploymentPagesDeployment!Deleted Pages Deployment.
deleteProjectCustomAttributeDeletes a custom attribute from a project. Only available to admins.
Input type: DeleteProjectCustomAttributeInput
deleteProjectCustomAttribute argumentsName Type Description keyString!Key of the custom attribute to delete. projectPathID!Full path of the project.
deleteProjectCustomAttribute fieldsName Type Description customAttributeCustomAttributeDeleted custom attribute. errors[String!]!Errors encountered during the mutation.
Deletes a protection rule for a Terraform state backend.
Input type: DeleteTerraformStateProtectionRuleInput
deleteUserCustomAttributeDeletes a custom attribute from a user. Only available to admins.
Input type: DeleteUserCustomAttributeInput
deleteUserCustomAttribute argumentsName Type Description keyString!Key of the custom attribute to delete. userIdUserID!Global ID of the user.
deleteUserCustomAttribute fieldsName Type Description customAttributeCustomAttributeDeleted custom attribute. errors[String!]!Errors encountered during the mutation.
designManagementDeleteInput type: DesignManagementDeleteInput
designManagementDelete argumentsName Type Description filenames[String!]!Filenames of the designs to delete. iidID!IID of the issue to modify designs for. projectPathID!Project where the issue is to upload designs for.
designManagementDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. versionDesignVersionNew version in which the designs are deleted.
designManagementMoveInput type: DesignManagementMoveInput
designManagementMove argumentsdesignManagementMove fieldsName Type Description designCollectionDesignCollectionCurrent state of the collection. errors[String!]!Errors encountered during the mutation.
designManagementUpdateInput type: DesignManagementUpdateInput
designManagementUpdate argumentsdesignManagementUpdate fieldsName Type Description designDesign!Updated design. errors[String!]!Errors encountered during the mutation.
designManagementUploadInput type: DesignManagementUploadInput
designManagementUpload argumentsName Type Description files[Upload!]!Files to upload. iidID!IID of the issue to modify designs for. projectPathID!Project where the issue is to upload designs for.
designManagementUpload fieldsName Type Description designs[Design!]!Designs that were uploaded by the mutation. errors[String!]!Errors encountered during the mutation. skippedDesigns[Design!]!Any designs that were skipped from the upload due to there being no change to their content since their last version.
destroyBoardInput type: DestroyBoardInput
destroyBoard argumentsName Type Description idBoardID!Global ID of the board to destroy.
destroyBoard fieldsName Type Description boardBoardBoard after mutation. errors[String!]!Errors encountered during the mutation.
destroyBoardListInput type: DestroyBoardListInput
destroyBoardList argumentsName Type Description listIdListID!Global ID of the list to destroy. Only label lists are accepted.
destroyBoardList fieldsName Type Description errors[String!]!Errors encountered during the mutation. listBoardListList after mutation.
destroyComplianceFrameworkInput type: DestroyComplianceFrameworkInput
destroyComplianceFramework argumentsdestroyComplianceFramework fieldsName Type Description errors[String!]!Errors encountered during the mutation.
destroyComplianceRequirementInput type: DestroyComplianceRequirementInput
destroyComplianceRequirement argumentsdestroyComplianceRequirement fieldsName Type Description errors[String!]!Errors encountered during the mutation.
destroyComplianceRequirementsControlInput type: DestroyComplianceRequirementsControlInput
destroyComplianceRequirementsControl argumentsdestroyComplianceRequirementsControl fieldsName Type Description errors[String!]!Errors encountered during the mutation.
destroyContainerRepositoryInput type: DestroyContainerRepositoryInput
destroyContainerRepository argumentsdestroyContainerRepository fieldsName Type Description containerRepositoryContainerRepository!Container repository policy after scheduling the deletion. errors[String!]!Errors encountered during the mutation.
Input type: DestroyContainerRepositoryTagsInput
Name Type Description idContainerRepositoryID!ID of the container repository. tagNames[String!]!Container repository tag(s) to delete. Total number can’t be greater than 20.
Name Type Description deletedTagNames[String!]!Deleted container repository tags. errors[String!]!Errors encountered during the mutation.
destroyCustomEmojiInput type: DestroyCustomEmojiInput
destroyCustomEmoji argumentsName Type Description idCustomEmojiID!Global ID of the custom emoji to destroy.
destroyCustomEmoji fieldsName Type Description customEmojiCustomEmojiDeleted custom emoji. errors[String!]!Errors encountered during the mutation.
destroyEpicBoardDeprecated in GitLab 17.5. Replaced by WorkItem type.
Input type: DestroyEpicBoardInput
destroyEpicBoard argumentsdestroyEpicBoard fieldsName Type Description epicBoardEpicBoardEpic board after mutation. errors[String!]!Errors encountered during the mutation.
destroyNoteInput type: DestroyNoteInput
destroyNote argumentsName Type Description idNoteID!Global ID of the note to destroy.
destroyNote fieldsName Type Description errors[String!]!Errors encountered during the mutation. noteNoteNote after mutation. quickActionsStatusQuickActionsStatusStatus of quick actions after mutation.
destroyPackageInput type: DestroyPackageInput
destroyPackage argumentsdestroyPackage fieldsName Type Description errors[String!]!Errors encountered during the mutation.
destroyPackageFileInput type: DestroyPackageFileInput
destroyPackageFile argumentsdestroyPackageFile fieldsName Type Description errors[String!]!Errors encountered during the mutation.
destroyPackageFilesInput type: DestroyPackageFilesInput
destroyPackageFiles argumentsName Type Description ids[PackagesPackageFileID!]!IDs of the Package file. projectPathID!Project path where the packages cleanup policy is located.
destroyPackageFiles fieldsName Type Description errors[String!]!Errors encountered during the mutation.
destroyPackagesInput type: DestroyPackagesInput
destroyPackages argumentsdestroyPackages fieldsName Type Description errors[String!]!Errors encountered during the mutation.
destroySnippetInput type: DestroySnippetInput
destroySnippet argumentsName Type Description idSnippetID!Global ID of the snippet to destroy.
destroySnippet fieldsName Type Description errors[String!]!Errors encountered during the mutation. snippetSnippetSnippet after mutation.
devfileValidateInput type: DevfileValidateInput
devfileValidate argumentsName Type Description devfileYamlString!Input devfile.
devfileValidate fieldsName Type Description errors[String!]!Errors encountered during the mutation. validBooleanStatus whether devfile is valid or not.
disableDevopsAdoptionNamespaceStatus : Beta.
Input type: DisableDevopsAdoptionNamespaceInput
disableDevopsAdoptionNamespace argumentsdisableDevopsAdoptionNamespace fieldsName Type Description errors[String!]!Errors encountered during the mutation.
discussionToggleResolveToggles the resolved state of a discussion.
Input type: DiscussionToggleResolveInput
discussionToggleResolve argumentsName Type Description idDiscussionID!Global ID of the discussion. resolveBoolean!Will resolve the discussion when true, and unresolve the discussion when false.
discussionToggleResolve fieldsName Type Description discussionDiscussionDiscussion after mutation. errors[String!]!Errors encountered during the mutation.
dismissPolicyViolationsDismisses policy violations linked to a merge request.
Input type: DismissPolicyViolationsInput
dismissPolicyViolations argumentsName Type Description commentString!Comment explaining the dismissal of the policy violations. dismissalTypes[DismissalType!]!Type of dismissal for the policy violations. iidString!IID of the merge request to mutate. projectPathID!Project the merge request to mutate is in. securityPolicyIds[ID!]!IDs of warn mode policies with violations to dismiss.
dismissPolicyViolations fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
duoSettingsUpdateUpdates GitLab Duo settings.
Input type: DuoSettingsUpdateInput
duoSettingsUpdate argumentsName Type Description aiGatewayTimeoutSecondsIntTimeout for the AI Gateway request. aiGatewayUrlStringURL for the local AI Gateway server. allowAllUnixSocketsBooleanIntroduced as an experiment in GitLab 19.0. Whether to allow all Unix sockets for network access. allowProjectExtensionBooleanIntroduced as an experiment in GitLab 19.0. Whether to allow projects to extend the network access domain allowlist. duoAgentPlatformServiceUrlStringURL for the local Duo Agent Platform service. duoCliEnabledBooleanIntroduced as an experiment in GitLab 19.0. Indicates whether GitLab Duo CLI access is enabled. duoCoreFeaturesEnabledBooleanIndicates whether GitLab Duo Core features are enabled. includeRecommendedAllowedBooleanIntroduced as an experiment in GitLab 19.0. Whether to include recommended domains in the network access allowlist. minimumAccessLevelEnableOnProjectsAccessLevelEnumIntroduced as an experiment in GitLab 18.7. Minimum access level for enable on Duo Agent Platform. Ignored if dap_instance_customizable_permissions feature flag is disabled. minimumAccessLevelExecuteAccessLevelEnumIntroduced as an experiment in GitLab 18.7. Minimum access level for execute on Duo Agent Platform. Ignored if dap_instance_customizable_permissions feature flag is disabled. minimumAccessLevelExecuteAsyncAccessLevelEnumIntroduced as an experiment in GitLab 18.7. Minimum access level to execute Duo Agent Platform features in CI/CD. Ignored if dap_instance_customizable_permissions feature flag is disabled. minimumAccessLevelManageAccessLevelEnumIntroduced as an experiment in GitLab 18.7. Minimum access level for manage on Duo Agent Platform. Ignored if dap_instance_customizable_permissions feature flag is disabled. selfHostedDuoAgentPlatformServiceSecureBooleanWhether to use secure transport (TLS) for the local Duo Agent Platform service.
duoSettingsUpdate fieldsName Type Description duoSettingsDuoSettings!GitLab Duo settings after mutation. errors[String!]!Errors encountered during the mutation.
duoUserFeedbackInput type: DuoUserFeedbackInput
duoUserFeedback argumentsduoUserFeedback fieldsName Type Description errors[String!]!Errors encountered during the mutation.
echoCreateA mutation that does not perform any changes.
This is expected to be used for testing of endpoints, to verify
that a user has mutation access.
Input type: EchoCreateInput
echoCreate argumentsName Type Description errors[String!]Errors to return to the user. messages[String!]Messages to return to the user.
echoCreate fieldsName Type Description echoes[String!]Messages returned to the user. errors[String!]!Errors encountered during the mutation.
enableDevopsAdoptionNamespaceStatus : Beta.
Input type: EnableDevopsAdoptionNamespaceInput
enableDevopsAdoptionNamespace argumentsenableDevopsAdoptionNamespace fieldsenvironmentCreateCreate an environment.
Input type: EnvironmentCreateInput
environmentCreate argumentsName Type Description autoStopSettingAutoStopSettingAuto stop setting of the environment. clusterAgentIdClustersAgentIDCluster agent of the environment. descriptionStringDescription of the environment. externalUrlStringExternal URL of the environment. fluxResourcePathStringFlux resource path of the environment. kubernetesNamespaceStringKubernetes namespace of the environment. nameString!Name of the environment. projectPathID!Full path of the project. tierDeploymentTierTier of the environment.
environmentCreate fieldsName Type Description environmentEnvironmentCreated environment. errors[String!]!Errors encountered during the mutation.
environmentDeleteDelete an environment.
Input type: EnvironmentDeleteInput
environmentDelete argumentsName Type Description idEnvironmentID!Global ID of the environment to Delete.
environmentDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
environmentStopStop an environment.
Input type: EnvironmentStopInput
environmentStop argumentsName Type Description forceBooleanForce environment to stop without executing on_stop actions. idEnvironmentID!Global ID of the environment to stop.
environmentStop fieldsName Type Description environmentEnvironmentEnvironment after attempt to stop. errors[String!]!Errors encountered during the mutation.
environmentUpdateUpdate an environment.
Input type: EnvironmentUpdateInput
environmentUpdate argumentsName Type Description autoStopSettingAutoStopSettingAuto stop setting of the environment. clusterAgentIdClustersAgentIDCluster agent of the environment. descriptionStringDescription of the environment. externalUrlStringExternal URL of the environment. fluxResourcePathStringFlux resource path of the environment. idEnvironmentID!Global ID of the environment to update. kubernetesNamespaceStringKubernetes namespace of the environment. tierDeploymentTierTier of the environment.
environmentUpdate fieldsName Type Description environmentEnvironmentEnvironment after attempt to update. errors[String!]!Errors encountered during the mutation.
environmentsCanaryIngressUpdateDeprecated This endpoint is planned to be removed along with certificate-based clusters. See this epic for more information.
Input type: EnvironmentsCanaryIngressUpdateInput
environmentsCanaryIngressUpdate argumentsName Type Description idEnvironmentID!Global ID of the environment to update. weightInt!Weight of the Canary Ingress.
environmentsCanaryIngressUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation.
epicAddIssueDeprecated in GitLab 17.5. Replaced by WorkItem type. For more information, see migration guide .
Input type: EpicAddIssueInput
epicAddIssue argumentsName Type Description groupPathID!Group the epic to mutate belongs to. iidID!IID of the epic to mutate. issueIidString!IID of the issue to be added. projectPathID!Full path of the project the issue belongs to.
epicAddIssue fieldsName Type Description epicEpicEpic after mutation. epicIssueEpicIssueEpic-issue relationship. errors[String!]!Errors encountered during the mutation.
epicBoardCreateDeprecated in GitLab 17.5. Replaced by WorkItem type.
Input type: EpicBoardCreateInput
epicBoardCreate argumentsName Type Description displayColorsBooleanWhether or not display epic colors. groupPathIDFull path of the group with which the resource is associated. hideBacklogListBooleanWhether or not backlog list is hidden. hideClosedListBooleanWhether or not closed list is hidden. labelIds[LabelID!]IDs of labels to be added to the board. labels[String!]Labels of the issue. nameStringBoard name.
epicBoardCreate fieldsName Type Description epicBoardEpicBoardCreated epic board. errors[String!]!Errors encountered during the mutation.
epicBoardListCreateDeprecated in GitLab 17.5. Replaced by WorkItem type.
Input type: EpicBoardListCreateInput
epicBoardListCreate argumentsName Type Description backlogBooleanCreate the backlog list. boardIdBoardsEpicBoardID!Global ID of the issue board to mutate. labelIdLabelIDGlobal ID of an existing label.
epicBoardListCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. listEpicListEpic list in the epic board.
epicBoardListDestroyDeprecated in GitLab 17.5. Replaced by WorkItem type.
Input type: EpicBoardListDestroyInput
epicBoardListDestroy argumentsName Type Description listIdBoardsEpicListID!Global ID of the epic board list to destroy.
epicBoardListDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation. listEpicListEpic board list. null if the board was destroyed successfully.
epicBoardUpdateDeprecated in GitLab 17.5. Replaced by WorkItem type.
Input type: EpicBoardUpdateInput
epicBoardUpdate argumentsName Type Description displayColorsBooleanWhether or not display epic colors. hideBacklogListBooleanWhether or not backlog list is hidden. hideClosedListBooleanWhether or not closed list is hidden. idBoardsEpicBoardID!Epic board global ID. labelIds[LabelID!]IDs of labels to be added to the board. labels[String!]Labels of the issue. nameStringBoard name.
epicBoardUpdate fieldsName Type Description epicBoardEpicBoardUpdated epic board. errors[String!]!Errors encountered during the mutation.
epicMoveListDeprecated in GitLab 17.5. Replaced by WorkItem type.
Input type: EpicMoveListInput
epicMoveList argumentsName Type Description boardIdBoardsEpicBoardID!Global ID of the board that the epic is in. epicIdEpicID!ID of the epic to mutate. fromListIdBoardsEpicListIDID of the board list that the epic will be moved from. Required if moving between lists. moveAfterIdEpicIDID of epic that should be placed after the current epic. moveBeforeIdEpicIDID of epic that should be placed before the current epic. positionInListIntPosition of epics within the board list. Positions start at 0. Use -1 to move to the end of the list. toListIdBoardsEpicListID!ID of the list the epic will be in after mutation.
epicMoveList fieldsName Type Description epicEpicEpic after mutation. errors[String!]!Errors encountered during the mutation.
epicSetSubscriptionDeprecated in GitLab 17.5. Replaced by WorkItem type. For more information, see migration guide .
Input type: EpicSetSubscriptionInput
epicSetSubscription argumentsName Type Description groupPathID!Group the epic to mutate belongs to. iidID!IID of the epic to mutate. subscribedStateBoolean!Desired state of the subscription.
epicSetSubscription fieldsName Type Description epicEpicEpic after mutation. errors[String!]!Errors encountered during the mutation.
epicTreeReorderDeprecated in GitLab 17.5. Replaced by WorkItem type.
Input type: EpicTreeReorderInput
epicTreeReorder argumentsepicTreeReorder fieldsName Type Description errors[String!]!Errors encountered during the mutation.
escalationPolicyCreateInput type: EscalationPolicyCreateInput
escalationPolicyCreate argumentsName Type Description descriptionStringDescription of the escalation policy. nameString!Name of the escalation policy. projectPathID!Project to create the escalation policy for. rules[EscalationRuleInput!]!Steps of the escalation policy.
escalationPolicyCreate fieldsescalationPolicyDestroyInput type: EscalationPolicyDestroyInput
escalationPolicyDestroy argumentsescalationPolicyDestroy fieldsescalationPolicyUpdateInput type: EscalationPolicyUpdateInput
escalationPolicyUpdate argumentsescalationPolicyUpdate fieldsexportRequirementsInput type: ExportRequirementsInput
exportRequirements argumentsName Type Description authorUsername[String!]Filter requirements by author username. projectPathID!Full project path the requirements are associated with. searchStringSearch query for requirement title. selectedFields[String!]List of selected requirements fields to be exported. sortSortList requirements by sort order. stateRequirementStateFilter requirements by state.
exportRequirements fieldsName Type Description errors[String!]!Errors encountered during the mutation.
externalAuditEventDestinationCreateDeprecated in GitLab 18.10. Use groupAuditEventStreamingDestinationsCreate instead.
Input type: ExternalAuditEventDestinationCreateInput
externalAuditEventDestinationCreate argumentsName Type Description destinationUrlString!Destination URL. groupPathID!Group path. nameStringDestination name. verificationTokenStringVerification token.
externalAuditEventDestinationCreate fieldsexternalAuditEventDestinationDestroyDeprecated in GitLab 18.10. Use groupAuditEventStreamingDestinationsDelete instead.
Input type: ExternalAuditEventDestinationDestroyInput
externalAuditEventDestinationDestroy argumentsexternalAuditEventDestinationDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation.
externalAuditEventDestinationUpdateDeprecated in GitLab 18.10. Use groupAuditEventStreamingDestinationsUpdate instead.
Input type: ExternalAuditEventDestinationUpdateInput
externalAuditEventDestinationUpdate argumentsexternalAuditEventDestinationUpdate fieldsgeoRegistriesBulkUpdateMutates multiple Geo registries for a given registry class.
Input type: GeoRegistriesBulkUpdateInput
geoRegistriesBulkUpdate argumentsgeoRegistriesBulkUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. registryClassGeoRegistryClassUpdated Geo registry class.
geoRegistriesUpdateMutates a Geo registry.
Input type: GeoRegistriesUpdateInput
geoRegistriesUpdate argumentsgeoRegistriesUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. registryRegistrableUpdated Geo registry entry.
gitlabSubscriptionActivateInput type: GitlabSubscriptionActivateInput
gitlabSubscriptionActivate argumentsName Type Description activationCodeString!Activation code received after purchasing a GitLab subscription.
gitlabSubscriptionActivate fieldsgoogleCloudLoggingConfigurationCreateDeprecated in GitLab 18.10. Use groupAuditEventStreamingDestinationsCreate with gcpLogging category instead.
Input type: GoogleCloudLoggingConfigurationCreateInput
googleCloudLoggingConfigurationCreate argumentsName Type Description Default clientEmailString!Email address associated with the service account that will be used to authenticate and interact with the Google Cloud Logging service. This is part of the IAM credentials. googleProjectIdNameString!Unique identifier of the Google Cloud project to which the logging configuration belongs. groupPathID!Group path. logIdNameStringUnique identifier used to distinguish and manage different logs within the same Google Cloud project.(defaults to audit_events). "audit_events"nameStringDestination name. privateKeyString!Private Key associated with the service account. This key is used to authenticate the service account and authorize it to interact with the Google Cloud Logging service.
googleCloudLoggingConfigurationCreate fieldsgoogleCloudLoggingConfigurationDestroyDeprecated in GitLab 18.10. Use groupAuditEventStreamingDestinationsDelete instead.
Input type: GoogleCloudLoggingConfigurationDestroyInput
googleCloudLoggingConfigurationDestroy argumentsgoogleCloudLoggingConfigurationDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation.
googleCloudLoggingConfigurationUpdateDeprecated in GitLab 18.10. Use groupAuditEventStreamingDestinationsUpdate instead.
Input type: GoogleCloudLoggingConfigurationUpdateInput
googleCloudLoggingConfigurationUpdate argumentsName Type Description activeBooleanActive status of the destination. clientEmailStringEmail address associated with the service account that will be used to authenticate and interact with the Google Cloud Logging service. This is part of the IAM credentials. googleProjectIdNameStringUnique identifier of the Google Cloud project to which the logging configuration belongs. idAuditEventsGoogleCloudLoggingConfigurationID!ID of the google Cloud configuration to update. logIdNameStringUnique identifier used to distinguish and manage different logs within the same Google Cloud project. nameStringDestination name. privateKeyStringPrivate Key associated with the service account. This key is used to authenticate the service account and authorize it to interact with the Google Cloud Logging service.
googleCloudLoggingConfigurationUpdate fieldsgovernPolicyCreateCreates a policy in the policy store for an organization or group.
Input type: GovernPolicyCreateInput
governPolicyCreate argumentsName Type Description actions[JSON!]Actions the policy takes. No more than 1000 actions. descriptionStringDescription of the policy. groupPathIDFull path of the group whose policy store to use. Exactly one of organizationId or groupPath is required. lifecycleStateStringLifecycle state of the policy. modeStringEnforcement mode of the policy. nameString!Name of the policy. organizationIdOrganizationsOrganizationIDGlobal ID of the organization whose policy store to use. Exactly one of organizationId or groupPath is required. policyScopeJSONAuthored scope of the policy. Mutually exclusive with scopeRego. rules[JSON!]!Rules of the policy, at least one. No more than 1000 rules. scopeRegoStringRego expression scoping the policy. Mutually exclusive with policyScope. triggerTypeString!Trigger the policy responds to.
governPolicyCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. policyGovernPolicyPolicy created in the policy store.
governPolicyDeleteDeletes a policy from the policy store for an organization or group.
Input type: GovernPolicyDeleteInput
governPolicyDelete argumentsName Type Description groupPathIDFull path of the group whose policy store to use. Exactly one of organizationId or groupPath is required. idInt!ID of the policy to delete. organizationIdOrganizationsOrganizationIDGlobal ID of the organization whose policy store to use. Exactly one of organizationId or groupPath is required.
governPolicyDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
governPolicyUpdateUpdates a policy in the policy store for an organization or group. Only the supplied fields are changed; omitted fields keep their current values, while an explicit null clears a nullable field.
Input type: GovernPolicyUpdateInput
governPolicyUpdate argumentsName Type Description actions[JSON!]Actions the policy takes. No more than 1000 actions. descriptionStringDescription of the policy. groupPathIDFull path of the group whose policy store to use. Exactly one of organizationId or groupPath is required. lifecycleStateStringLifecycle state of the policy. modeStringEnforcement mode of the policy. nameStringName of the policy. organizationIdOrganizationsOrganizationIDGlobal ID of the organization whose policy store to use. Exactly one of organizationId or groupPath is required. policyIdInt!ID of the policy. policyScopeJSONAuthored scope of the policy. Mutually exclusive with scopeRego. rules[JSON!]Rules of the policy, at least one when supplied. No more than 1000 rules. scopeRegoStringRego expression scoping the policy. Mutually exclusive with policyScope. triggerTypeStringTrigger the policy responds to.
governPolicyUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. policyGovernPolicyPolicy updated in the policy store.
groupAuditEventStreamingDestinationsCreateInput type: GroupAuditEventStreamingDestinationsCreateInput
groupAuditEventStreamingDestinationsCreate argumentsName Type Description categoryString!Destination category. configJSON!Destination config. groupPathID!Group path. nameStringDestination name. secretTokenStringSecret token.
groupAuditEventStreamingDestinationsCreate fieldsgroupAuditEventStreamingDestinationsDeleteInput type: GroupAuditEventStreamingDestinationsDeleteInput
groupAuditEventStreamingDestinationsDelete argumentsgroupAuditEventStreamingDestinationsDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
groupAuditEventStreamingDestinationsUpdateInput type: GroupAuditEventStreamingDestinationsUpdateInput
groupAuditEventStreamingDestinationsUpdate argumentsgroupAuditEventStreamingDestinationsUpdate fieldsgroupMemberBulkUpdateInput type: GroupMemberBulkUpdateInput
groupMemberBulkUpdate argumentsName Type Description accessLevelMemberAccessLevel!Access level to update the members to. expiresAtTimeDate and time the membership expires. groupIdGroupID!Global ID of the group. userIds[UserID!]!Global IDs of the members.
groupMemberBulkUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. groupMembers[GroupMember!]Group members after mutation. queuedMemberApprovalsMemberApprovalConnectionList of queued pending members approvals. This field is a connection and accepts the four standard pagination arguments: before, after, first, last.
groupMembersExportInput type: GroupMembersExportInput
groupMembersExport argumentsName Type Description groupIdGroupID!Global ID of the group.
groupMembersExport fieldsName Type Description errors[String!]!Errors encountered during the mutation. messageStringExport request result message.
groupSavedReplyCreateInput type: GroupSavedReplyCreateInput
groupSavedReplyCreate argumentsName Type Description contentString!Content of the saved reply. groupIdGroupID!Group for the save reply. nameString!Name of the saved reply.
groupSavedReplyCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. savedReplyGroupSavedReplySaved reply after mutation.
groupSavedReplyDestroyInput type: GroupSavedReplyDestroyInput
groupSavedReplyDestroy argumentsgroupSavedReplyDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation. savedReplyGroupSavedReplySaved reply after mutation.
groupSavedReplyUpdateInput type: GroupSavedReplyUpdateInput
groupSavedReplyUpdate argumentsgroupSavedReplyUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. savedReplyGroupSavedReplySaved reply after mutation.
groupSecretCreateInput type: GroupSecretCreateInput
groupSecretCreate argumentsName Type Description descriptionStringDescription of the group secret. environmentString!Environment that can access the secret. groupPathID!Group of the secret. nameString!Name of the group secret. protectedBoolean!Whether the secret is only accessible from protected branches. rotationIntervalDaysIntNumber of days between rotation reminders for the secret. secretString!Value of the group secret.
groupSecretCreate fieldsgroupSecretDeleteInput type: GroupSecretDeleteInput
groupSecretDelete argumentsName Type Description groupPathID!Group of the secret. nameString!Name of the group secret to delete.
groupSecretDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. groupSecretGroupSecretDeleted group secret.
groupSecretUpdateInput type: GroupSecretUpdateInput
groupSecretUpdate argumentsName Type Description descriptionStringNew description of the group secret. environmentStringNew environment that can access the secret. groupPathID!Group of the secret. metadataCasInt!This should match the current metadata version of the group secret being updated. nameString!Name of the group secret to update. protectedBooleanWhether the secret is only accessible from protected branches. rotationIntervalDaysIntNumber of days between rotation reminders for the secret. secretStringNew value of the group secret.
groupSecretUpdate fieldsgroupSecretsManagerDeprovisionInput type: GroupSecretsManagerDeprovisionInput
groupSecretsManagerDeprovision argumentsName Type Description groupPathID!Group of the secrets manager.
groupSecretsManagerDeprovision fieldsgroupSecretsManagerInitializeInput type: GroupSecretsManagerInitializeInput
groupSecretsManagerInitialize argumentsName Type Description groupPathID!Group of the secrets manager.
groupSecretsManagerInitialize fieldsgroupSecretsPermissionDeleteInput type: GroupSecretsPermissionDeleteInput
groupSecretsPermissionDelete argumentsName Type Description groupPathID!Group permissions for the secret. principalPrincipalInput!Whose permission to be deleted.
groupSecretsPermissionDelete fieldsgroupSecretsPermissionUpdateInput type: GroupSecretsPermissionUpdateInput
groupSecretsPermissionUpdate argumentsName Type Description actions[SecretsManagementAction!]!Actions that can be performed on secrets. expiredAtISO8601DateExpiration date for Secret Permission (optional). groupPathID!Group to which the permissions are added. principalPrincipalInput!User/MemberRole/Role that is provided access.
groupSecretsPermissionUpdate fieldsgroupTransferInput type: GroupTransferInput
groupTransfer argumentsName Type Description idGroupID!Global ID of the group to transfer. targetIdGroupIDGlobal ID of the target parent group. Omit to make group top-level.
groupTransfer fieldsName Type Description errors[String!]!Errors encountered during the mutation. groupGroupGroup after mutation.
groupUpdateInput type: GroupUpdateInput
groupUpdate argumentsName Type Description aiAuditEventsStorageEnabledBooleanIntroduced as an experiment in GitLab 19.2. Indicates whether AI audit events are stored for the group. builtInProjectTemplatesEnabledBooleanIntroduced as an experiment in GitLab 19.0. Indicates whether built-in project templates are available for new projects in the group. duoAutoModeEnabledBooleanIntroduced as an experiment in GitLab 19.5. Indicates whether Duo Agent Platform auto mode is enabled for the group. duoFeaturesEnabledBooleanIntroduced as an experiment in GitLab 16.10. Indicates whether GitLab Duo features are enabled for the group. fullPathID!Full path of the group that will be updated. lockAiAuditEventsStorageEnabledBooleanIntroduced as an experiment in GitLab 19.2. Indicates whether AI audit events storage is enforced for all subgroups and projects. lockBuiltInProjectTemplatesEnabledBooleanIntroduced as an experiment in GitLab 19.0. Indicates if the built-in project templates enabled setting is enforced for all subgroups. lockDuoAutoModeEnabledBooleanIntroduced as an experiment in GitLab 19.5. Indicates if the Duo Agent Platform auto mode setting is enforced for all subgroups. lockDuoFeaturesEnabledBooleanIntroduced as an experiment in GitLab 16.10. Indicates if the GitLab Duo features enabled setting is enforced for all subgroups. lockMathRenderingLimitsEnabledBooleanIndicates if math rendering limits are locked for all descendant groups. lockToolApprovalForSessionEnabledBooleanIntroduced as an experiment in GitLab 18.11. Indicates if the tool approval for session setting is enforced for all subgroups. mathRenderingLimitsEnabledBooleanIndicates if math rendering limits are used for the group. nameStringName of the group. pathStringPath of the namespace. sharedRunnersSettingSharedRunnersSettingShared runners availability for the namespace and its descendants. stepUpAuthRequiredOauthProviderStringOAuth provider required for step-up authentication. toolApprovalForSessionEnabledBooleanIntroduced as an experiment in GitLab 18.11. Indicates whether tool approval for session is enabled for the group. visibilityVisibilityLevelsEnumVisibility of the namespace. webBasedCommitSigningEnabledBooleanIntroduced as an experiment in GitLab 18.2. Indicates whether web-based commit signing is enabled for the group.
groupUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. groupGroupGroup after update.
httpIntegrationCreateInput type: HttpIntegrationCreateInput
httpIntegrationCreate argumentshttpIntegrationCreate fieldshttpIntegrationDestroyInput type: HttpIntegrationDestroyInput
httpIntegrationDestroy argumentshttpIntegrationDestroy fieldshttpIntegrationResetTokenInput type: HttpIntegrationResetTokenInput
httpIntegrationResetToken argumentshttpIntegrationResetToken fieldshttpIntegrationUpdateInput type: HttpIntegrationUpdateInput
httpIntegrationUpdate argumentshttpIntegrationUpdate fieldsimportSourceUserCancelReassignmentInput type: ImportSourceUserCancelReassignmentInput
importSourceUserCancelReassignment argumentsName Type Description idImportSourceUserID!Global ID of the mapping of a user on source instance to a user on destination instance.
importSourceUserCancelReassignment fieldsName Type Description errors[String!]!Errors encountered during the mutation. importSourceUserImportSourceUserMapping of a user on source instance to a user on destination instance after mutation.
importSourceUserKeepAllAsPlaceholderInput type: ImportSourceUserKeepAllAsPlaceholderInput
importSourceUserKeepAllAsPlaceholder argumentsName Type Description namespaceIdNamespaceID!Global ID of the namespace.
importSourceUserKeepAllAsPlaceholder fieldsName Type Description errors[String!]!Errors encountered during the mutation. updatedImportSourceUserCountIntNumber of successfully updated mappings of users on source instance to their destination users.
importSourceUserKeepAsPlaceholderInput type: ImportSourceUserKeepAsPlaceholderInput
importSourceUserKeepAsPlaceholder argumentsName Type Description idImportSourceUserID!Global ID of the mapping of a user on source instance to a user on destination instance.
importSourceUserKeepAsPlaceholder fieldsName Type Description errors[String!]!Errors encountered during the mutation. importSourceUserImportSourceUserMapping of a user on source instance to a user on destination instance after mutation.
importSourceUserReassignInput type: ImportSourceUserReassignInput
importSourceUserReassign argumentsName Type Description assigneeUserIdUserID!Global ID of the assignee user. idImportSourceUserID!Global ID of the mapping of a user on source instance to a user on destination instance.
importSourceUserReassign fieldsName Type Description errors[String!]!Errors encountered during the mutation. importSourceUserImportSourceUserMapping of a user on source instance to a user on destination instance after mutation.
importSourceUserResendNotificationInput type: ImportSourceUserResendNotificationInput
importSourceUserResendNotification argumentsName Type Description idImportSourceUserID!Global ID of the mapping of a user on source instance to a user on destination instance.
importSourceUserResendNotification fieldsName Type Description errors[String!]!Errors encountered during the mutation. importSourceUserImportSourceUserMapping of a user on source instance to a user on destination instance after mutation.
importSourceUserRetryFailedReassignmentInput type: ImportSourceUserRetryFailedReassignmentInput
importSourceUserRetryFailedReassignment argumentsName Type Description idImportSourceUserID!Global ID of the mapping of a user on source instance to a user on destination instance.
importSourceUserRetryFailedReassignment fieldsName Type Description errors[String!]!Errors encountered during the mutation. importSourceUserImportSourceUserMapping of a user on source instance to a user on destination instance after mutation.
importSourceUserRevokeInput type: ImportSourceUserRevokeInput
importSourceUserRevoke argumentsName Type Description idImportSourceUserID!Global ID of the mapping of a user on source instance to a user on destination instance.
importSourceUserRevoke fieldsName Type Description errors[String!]!Errors encountered during the mutation. importSourceUserImportSourceUserMapping of a user on source instance to a user on destination instance after mutation.
importSourceUserUndoKeepAsPlaceholderInput type: ImportSourceUserUndoKeepAsPlaceholderInput
importSourceUserUndoKeepAsPlaceholder argumentsName Type Description idImportSourceUserID!Global ID of the mapping of a user on source instance to a user on destination instance.
importSourceUserUndoKeepAsPlaceholder fieldsName Type Description errors[String!]!Errors encountered during the mutation. importSourceUserImportSourceUserMapping of a user on source instance to a user on destination instance after mutation.
instanceAuditEventStreamingDestinationsCreateInput type: InstanceAuditEventStreamingDestinationsCreateInput
instanceAuditEventStreamingDestinationsCreate argumentsName Type Description categoryString!Destination category. configJSON!Destination config. nameStringDestination name. secretTokenStringSecret token.
instanceAuditEventStreamingDestinationsCreate fieldsinstanceAuditEventStreamingDestinationsDeleteInput type: InstanceAuditEventStreamingDestinationsDeleteInput
instanceAuditEventStreamingDestinationsDelete argumentsinstanceAuditEventStreamingDestinationsDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
instanceAuditEventStreamingDestinationsUpdateInput type: InstanceAuditEventStreamingDestinationsUpdateInput
instanceAuditEventStreamingDestinationsUpdate argumentsinstanceAuditEventStreamingDestinationsUpdate fieldsinstanceExternalAuditEventDestinationCreateDeprecated in GitLab 18.10. Use instanceAuditEventStreamingDestinationsCreate instead.
Input type: InstanceExternalAuditEventDestinationCreateInput
instanceExternalAuditEventDestinationCreate argumentsName Type Description destinationUrlString!Destination URL. nameStringDestination name.
instanceExternalAuditEventDestinationCreate fieldsinstanceExternalAuditEventDestinationDestroyDeprecated in GitLab 18.10. Use instanceAuditEventStreamingDestinationsDelete instead.
Input type: InstanceExternalAuditEventDestinationDestroyInput
instanceExternalAuditEventDestinationDestroy argumentsinstanceExternalAuditEventDestinationDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation.
instanceExternalAuditEventDestinationUpdateDeprecated in GitLab 18.10. Use instanceAuditEventStreamingDestinationsUpdate instead.
Input type: InstanceExternalAuditEventDestinationUpdateInput
instanceExternalAuditEventDestinationUpdate argumentsinstanceExternalAuditEventDestinationUpdate fieldsinstanceGoogleCloudLoggingConfigurationCreateDeprecated in GitLab 18.10. Use instanceAuditEventStreamingDestinationsCreate with gcpLogging category instead.
Input type: InstanceGoogleCloudLoggingConfigurationCreateInput
instanceGoogleCloudLoggingConfigurationCreate argumentsName Type Description Default clientEmailString!Email address associated with the service account that will be used to authenticate and interact with the Google Cloud Logging service. This is part of the IAM credentials. googleProjectIdNameString!Unique identifier of the Google Cloud project to which the logging configuration belongs. logIdNameStringUnique identifier used to distinguish and manage different logs within the same Google Cloud project.(defaults to audit_events). "audit_events"nameStringDestination name. privateKeyString!Private Key associated with the service account. This key is used to authenticate the service account and authorize it to interact with the Google Cloud Logging service.
instanceGoogleCloudLoggingConfigurationCreate fieldsinstanceGoogleCloudLoggingConfigurationDestroyDeprecated in GitLab 18.10. Use instanceAuditEventStreamingDestinationsDelete instead.
Input type: InstanceGoogleCloudLoggingConfigurationDestroyInput
instanceGoogleCloudLoggingConfigurationDestroy argumentsinstanceGoogleCloudLoggingConfigurationDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation.
instanceGoogleCloudLoggingConfigurationUpdateDeprecated in GitLab 18.10. Use instanceAuditEventStreamingDestinationsUpdate instead.
Input type: InstanceGoogleCloudLoggingConfigurationUpdateInput
instanceGoogleCloudLoggingConfigurationUpdate argumentsName Type Description activeBooleanActive status of the destination. clientEmailStringEmail address associated with the service account that will be used to authenticate and interact with the Google Cloud Logging service. This is part of the IAM credentials. googleProjectIdNameStringUnique identifier of the Google Cloud project to which the logging configuration belongs. idAuditEventsInstanceGoogleCloudLoggingConfigurationID!ID of the instance google Cloud configuration to update. logIdNameStringUnique identifier used to distinguish and manage different logs within the same Google Cloud project. nameStringDestination name. privateKeyStringPrivate Key associated with the service account. This key is used to authenticate the service account and authorize it to interact with the Google Cloud Logging service.
instanceGoogleCloudLoggingConfigurationUpdate fieldsinstanceSecretsManagerEnrollInput type: InstanceSecretsManagerEnrollInput
instanceSecretsManagerEnroll fieldsName Type Description errors[String!]!Errors encountered during the mutation.
instanceSecretsManagerUnenrollInput type: InstanceSecretsManagerUnenrollInput
instanceSecretsManagerUnenroll fieldsName Type Description errors[String!]!Errors encountered during the mutation.
integrationExclusionCreateInput type: IntegrationExclusionCreateInput
integrationExclusionCreate argumentsName Type Description groupIds[GroupID!]IDs of groups to exclude up to a maximum of 100. integrationNameIntegrationType!Type of integration to exclude. projectIds[ProjectID!]IDs of projects to exclude up to a maximum of 100.
integrationExclusionCreate fieldsintegrationExclusionDeleteInput type: IntegrationExclusionDeleteInput
integrationExclusionDelete argumentsintegrationExclusionDelete fieldsissuableResourceLinkCreateInput type: IssuableResourceLinkCreateInput
issuableResourceLinkCreate argumentsissuableResourceLinkCreate fieldsissuableResourceLinkDestroyInput type: IssuableResourceLinkDestroyInput
issuableResourceLinkDestroy argumentsissuableResourceLinkDestroy fieldsissueLinkAlertsInput type: IssueLinkAlertsInput
issueLinkAlerts argumentsName Type Description alertReferences[String!]!Alerts references to be linked to the incident. iidString!IID of the issue to mutate. projectPathID!Project the issue to mutate is in.
issueLinkAlerts fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueMoveInput type: IssueMoveInput
issueMove argumentsName Type Description iidString!IID of the issue to mutate. projectPathID!Project the issue to mutate is in. targetProjectPathID!Project to move the issue to. targetWorkItemTypeIdWorkItemsTypeIDWork item type to use in the target project. When omitted, the source work item type is preserved.
issueMove fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueMoveListInput type: IssueMoveListInput
issueMoveList argumentsName Type Description boardIdBoardID!Global ID of the board that the issue is in. epicIdEpicIDDeprecated in GitLab 17.5. This will be replaced by WorkItem hierarchyWidget. fromListIdIDID of the board list that the issue will be moved from. iidString!IID of the issue to mutate. moveAfterIdIDID of issue that should be placed after the current issue. moveBeforeIdIDID of issue that should be placed before the current issue. positionInListIntPosition of issue within the board list. Positions start at 0. Use -1 to move to the end of the list. projectPathID!Project the issue to mutate is in. toListIdIDID of the board list that the issue will be moved to.
issueMoveList fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueSetAssigneesInput type: IssueSetAssigneesInput
issueSetAssignees argumentsName Type Description Default assigneeUsernames[String!]!Usernames to assign to the resource. Replaces existing assignees by default. iidString!IID of the issue to mutate. operationModeMutationOperationModeOperation to perform. Defaults to REPLACE. REPLACEprojectPathID!Project the issue to mutate is in.
issueSetAssignees fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueSetConfidentialInput type: IssueSetConfidentialInput
issueSetConfidential argumentsName Type Description confidentialBoolean!Whether or not to set the issue as a confidential. iidString!IID of the issue to mutate. projectPathID!Project the issue to mutate is in.
issueSetConfidential fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
Input type: IssueSetCrmContactsInput
Name Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueSetDueDateInput type: IssueSetDueDateInput
issueSetDueDate argumentsName Type Description dueDateTimeDesired due date for the issue. Due date is removed if null. iidString!IID of the issue to mutate. projectPathID!Project the issue to mutate is in.
issueSetDueDate fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueSetEpicDeprecated in GitLab 17.5. Replaced by WorkItem type.
Input type: IssueSetEpicInput
issueSetEpic argumentsName Type Description epicIdEpicIDDeprecated in GitLab 17.5. This will be replaced by WorkItem hierarchyWidget. iidString!IID of the issue to mutate. projectPathID!Project the issue to mutate is in.
issueSetEpic fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueSetEscalationPolicyInput type: IssueSetEscalationPolicyInput
issueSetEscalationPolicy argumentsName Type Description escalationPolicyIdIncidentManagementEscalationPolicyIDGlobal ID of the escalation policy to assign to the issue. Policy will be removed if absent or set to null. iidString!IID of the issue to mutate. projectPathID!Project the issue to mutate is in.
issueSetEscalationPolicy fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueSetEscalationStatusInput type: IssueSetEscalationStatusInput
issueSetEscalationStatus argumentsissueSetEscalationStatus fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueSetIterationInput type: IssueSetIterationInput
issueSetIteration argumentsName Type Description iidString!IID of the issue to mutate. iterationIdIterationIDIteration to assign to the issue. projectPathID!Project the issue to mutate is in.
issueSetIteration fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueSetLockedInput type: IssueSetLockedInput
issueSetLocked argumentsName Type Description iidString!IID of the issue to mutate. lockedBoolean!Whether or not to lock discussion on the issue. projectPathID!Project the issue to mutate is in.
issueSetLocked fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueSetSeverityInput type: IssueSetSeverityInput
issueSetSeverity argumentsName Type Description iidString!IID of the issue to mutate. projectPathID!Project the issue to mutate is in. severityIssuableSeverity!Set the incident severity level.
issueSetSeverity fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueSetSubscriptionInput type: IssueSetSubscriptionInput
issueSetSubscription argumentsName Type Description iidString!IID of the issue to mutate. projectPathID!Project the issue to mutate is in. subscribedStateBoolean!Desired state of the subscription.
issueSetSubscription fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueSetWeightInput type: IssueSetWeightInput
issueSetWeight argumentsName Type Description iidString!IID of the issue to mutate. projectPathID!Project the issue to mutate is in. weightIntThe desired weight for the issue. If set to null, weight is removed.
issueSetWeight fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
issueUnlinkAlertInput type: IssueUnlinkAlertInput
issueUnlinkAlert argumentsName Type Description alertIdAlertManagementAlertID!Global ID of the alert to unlink from the incident. iidString!IID of the issue to mutate. projectPathID!Project the issue to mutate is in.
issueUnlinkAlert fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
iterationCadenceCreateInput type: IterationCadenceCreateInput
iterationCadenceCreate argumentsName Type Description activeBoolean!Whether the iteration cadence is active. automaticBoolean!Whether the iteration cadence should automatically generate upcoming iterations. descriptionStringDescription of the iteration cadence. Maximum length is 5000 characters. durationInWeeksIntDuration in weeks of the iterations within the cadence. groupPathID!Group where the iteration cadence is created. iterationsInAdvanceIntNumber of future iterations to schedule in addition to the current one. rollOverBooleanWhether the iteration cadence should roll over issues to the next iteration or not. startDateTimeAutomation start date. titleStringTitle of the iteration cadence.
iterationCadenceCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. iterationCadenceIterationCadenceCreated iteration cadence.
iterationCadenceDestroyInput type: IterationCadenceDestroyInput
iterationCadenceDestroy argumentsiterationCadenceDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation. groupGroup!Group the iteration cadence belongs to.
iterationCadenceUpdateInput type: IterationCadenceUpdateInput
iterationCadenceUpdate argumentsName Type Description activeBooleanWhether the iteration cadence is active. automaticBooleanWhether the iteration cadence should automatically generate upcoming iterations. descriptionStringDescription of the iteration cadence. Maximum length is 5000 characters. durationInWeeksIntDuration in weeks of the iterations within the cadence. idIterationsCadenceID!Global ID of the iteration cadence. iterationsInAdvanceIntNumber of future iterations to schedule in addition to the current one. rollOverBooleanWhether the iteration cadence should roll over issues to the next iteration or not. startDateTimeAutomation start date. titleStringTitle of the iteration cadence.
iterationCadenceUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. iterationCadenceIterationCadenceUpdated iteration cadence.
iterationCreateInput type: iterationCreateInput
iterationCreate argumentsName Type Description descriptionStringDescription of the iteration. dueDateStringEnd date of the iteration. groupPathIDFull path of the group with which the resource is associated. iterationsCadenceIdIterationsCadenceIDGlobal ID of the iteration cadence to be assigned to the new iteration. projectPathIDFull path of the project with which the resource is associated. startDateStringStart date of the iteration. titleStringTitle of the iteration.
iterationCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. iterationIterationCreated iteration.
iterationDeleteInput type: IterationDeleteInput
iterationDelete argumentsiterationDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. groupGroup!Group the iteration belongs to.
jiraImportStartInput type: JiraImportStartInput
jiraImportStart argumentsName Type Description jiraProjectKeyString!Project key of the importer Jira project. jiraProjectNameStringDeprecated in GitLab 17.4. Argument is not used. projectPathID!Project to import the Jira project into. usersMapping[JiraUsersMappingInputType!]Mapping of Jira to GitLab users.
jiraImportStart fieldsName Type Description errors[String!]!Errors encountered during the mutation. jiraImportJiraImportJira import data after mutation.
jiraImportUsersInput type: JiraImportUsersInput
jiraImportUsers argumentsName Type Description projectPathID!Project to import the Jira users into. startAtIntIndex of the record the import should started at, default 0 (50 records returned).
jiraImportUsers fieldsName Type Description errors[String!]!Errors encountered during the mutation. jiraUsers[JiraUser!]Users returned from Jira, matched by email and name if possible.
jobArtifactsDestroyInput type: JobArtifactsDestroyInput
jobArtifactsDestroy argumentsName Type Description idCiBuildID!ID of the job to mutate.
jobArtifactsDestroy fieldsName Type Description destroyedArtifactsCountInt!Number of artifacts deleted. errors[String!]!Errors encountered during the mutation. jobCiJobJob with artifacts to be deleted.
jobCancelInput type: JobCancelInput
jobCancel argumentsName Type Description idCiBuildID!ID of the job to mutate.
jobCancel fieldsName Type Description errors[String!]!Errors encountered during the mutation. jobCiJobJob after the mutation.
jobPlayInput type: JobPlayInput
jobPlay argumentsjobPlay fieldsName Type Description errors[String!]!Errors encountered during the mutation. jobCiJobJob after the mutation.
jobRetryInput type: JobRetryInput
jobRetry argumentsjobRetry fieldsName Type Description errors[String!]!Errors encountered during the mutation. jobCiJobJob after the mutation.
jobUnscheduleInput type: JobUnscheduleInput
jobUnschedule argumentsName Type Description idCiBuildID!ID of the job to mutate.
jobUnschedule fieldsName Type Description errors[String!]!Errors encountered during the mutation. jobCiJobJob after the mutation.
knowledgeGraphExcludedNamespaceCreateInput type: KnowledgeGraphExcludedNamespaceCreateInput
knowledgeGraphExcludedNamespaceCreate argumentsName Type Description groupPathID!Full path of the top-level group to exclude.
knowledgeGraphExcludedNamespaceCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. groupGroupExcluded group.
knowledgeGraphExcludedNamespaceDestroyInput type: KnowledgeGraphExcludedNamespaceDestroyInput
knowledgeGraphExcludedNamespaceDestroy argumentsName Type Description groupPathID!Full path of the top-level group to remove from exclusions.
knowledgeGraphExcludedNamespaceDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation. groupGroupGroup removed from exclusions.
labelCreateInput type: LabelCreateInput
labelCreate argumentsName Type Description Default colorStringThe color of the label given in 6-digit hex notation with leading ‘#’ sign (for example, #FFAABB) or one of the CSS color names. See List of color keywords at mozilla.org . "#6699cc"descriptionStringDescription of the label. groupPathIDFull path of the group with which the resource is associated. projectPathIDFull path of the project with which the resource is associated. titleString!Title of the label.
labelCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. labelLabelLabel after mutation.
labelUpdateInput type: LabelUpdateInput
labelUpdate argumentsName Type Description archivedBooleanWhether to archive the label. Introduced in GitLab 18.10. idLabelID!Global ID of the label to update.
labelUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. labelLabelLabel after mutation.
ldapAdminRoleLinkCreateCreates an instance-level custom admin role LDAP link.
Input type: LdapAdminRoleLinkCreateInput
ldapAdminRoleLinkCreate argumentsName Type Description adminMemberRoleIdMemberRoleID!Global ID of the custom admin role to be assigned to a user. cnStringCommon Name (CN) of the LDAP group. filterStringSearch filter for the LDAP group. providerString!LDAP provider for the LDAP link.
ldapAdminRoleLinkCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. ldapAdminRoleLinkLdapAdminRoleLinkCreated instance-level LDAP link.
ldapAdminRoleLinkDestroyDestroys an instance-level custom admin role LDAP link.
Input type: LdapAdminRoleLinkDestroyInput
ldapAdminRoleLinkDestroy argumentsldapAdminRoleLinkDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation. ldapAdminRoleLinkLdapAdminRoleLinkDeleted instance-level LDAP link.
lifecycleAttachWorkItemTypeInput type: LifecycleAttachWorkItemTypeInput
lifecycleAttachWorkItemType argumentsName Type Description lifecycleIdWorkItemsStatusesLifecycleID!Global ID of the lifecycle to attach the work item type to. namespacePathID!Namespace path where the lifecycle exists. statusMappings[StatusMappingInput!]Status mappings from the old lifecycle to the new lifecycle. workItemTypeIdWorkItemsTypeID!Global ID of the work item type to attach to the lifecycle.
lifecycleAttachWorkItemType fieldsName Type Description errors[String!]!Errors encountered during the mutation. lifecycleWorkItemLifecycleLifecycle after attaching the work item type.
lifecycleCreateInput type: LifecycleCreateInput
lifecycleCreate argumentsName Type Description defaultClosedStatusIndexInt!Index of the default closed status in the statuses array. defaultDuplicateStatusIndexInt!Index of the default duplicated status in the statuses array. defaultOpenStatusIndexInt!Index of the default open status in the statuses array. nameString!Name of the lifecycle. namespacePathID!Namespace path where the lifecycle will be created. statuses[WorkItemStatusInput!]!Statuses of the lifecycle. Can be existing (with id) or new (without id).
lifecycleCreate fieldslifecycleDeleteInput type: LifecycleDeleteInput
lifecycleDelete argumentslifecycleDelete fieldslifecycleUpdateInput type: LifecycleUpdateInput
lifecycleUpdate argumentsName Type Description defaultClosedStatusIndexIntIndex of the default closed status in the statuses array. defaultDuplicateStatusIndexIntIndex of the default duplicated status in the statuses array. defaultOpenStatusIndexIntIndex of the default open status in the statuses array. idWorkItemsStatusesLifecycleID!Global ID of the lifecycle to be updated. nameStringName of the lifecycle. namespacePathID!Namespace path where the lifecycle exists. statusMappings[StatusMappingInput!]Mappings for statuses being removed from the lifecycle. Maps old status to replacement status. statuses[WorkItemStatusInput!]Statuses of the lifecycle. Can be existing (with id) or new (without id).
lifecycleUpdate fieldslinkProjectComplianceViolationIssueInput type: LinkProjectComplianceViolationIssueInput
linkProjectComplianceViolationIssue argumentslinkProjectComplianceViolationIssue fieldsmarkAsSpamSnippetInput type: MarkAsSpamSnippetInput
markAsSpamSnippet argumentsName Type Description idSnippetID!Global ID of the snippet to update.
markAsSpamSnippet fieldsName Type Description errors[String!]!Errors encountered during the mutation. snippetSnippetSnippet after mutation.
mavenCacheEntryDeleteInput type: MavenCacheEntryDeleteInput
mavenCacheEntryDelete argumentsName Type Description idString!ID of the cache entry.
mavenCacheEntryDelete fieldsmavenUpstreamCacheDeleteInput type: MavenUpstreamCacheDeleteInput
mavenUpstreamCacheDelete argumentsmavenUpstreamCacheDelete fieldsmavenUpstreamCreateInput type: MavenUpstreamCreateInput
mavenUpstreamCreate argumentsName Type Description Default cacheValidityHoursIntCache validity period. Defaults to 24 hours. 24descriptionStringDescription of the upstream registry. idVirtualRegistriesPackagesMavenRegistryID!ID of the upstream registry. metadataCacheValidityHoursIntMetadata cache validity period. Defaults to 24 hours. 24nameString!Name of upstream registry. passwordStringPassword of the upstream registry. urlString!URL of the upstream registry. usernameStringUsername of the upstream registry.
mavenUpstreamCreate fieldsmavenUpstreamDeleteInput type: MavenUpstreamDeleteInput
mavenUpstreamDelete argumentsmavenUpstreamDelete fieldsmavenUpstreamUpdateInput type: MavenUpstreamUpdateInput
mavenUpstreamUpdate argumentsName Type Description cacheValidityHoursIntCache validity period. descriptionStringDescription of the upstream registry. idVirtualRegistriesPackagesMavenUpstreamID!ID of the upstream registry. metadataCacheValidityHoursIntMetadata cache validity period. nameStringName of upstream registry. passwordStringPassword of the upstream registry. urlStringURL of the upstream registry. usernameStringUsername of the upstream registry.
mavenUpstreamUpdate fieldsmavenVirtualRegistryCacheDeleteInput type: MavenVirtualRegistryCacheDeleteInput
mavenVirtualRegistryCacheDelete argumentsmavenVirtualRegistryCacheDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. registryMavenRegistryMaven virtual registry.
mavenVirtualRegistryCreateInput type: MavenVirtualRegistryCreateInput
mavenVirtualRegistryCreate argumentsName Type Description descriptionStringDescription of the virtual registry. groupPathIDFull path of the group with which the resource is associated. nameString!Name of virtual registry.
mavenVirtualRegistryCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. registryMavenRegistryMaven virtual registry after the mutation.
mavenVirtualRegistryDeleteInput type: MavenVirtualRegistryDeleteInput
mavenVirtualRegistryDelete argumentsmavenVirtualRegistryDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. registryMavenRegistryDeleted Maven virtual registry.
mavenVirtualRegistryUpdateInput type: MavenVirtualRegistryUpdateInput
mavenVirtualRegistryUpdate argumentsmavenVirtualRegistryUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. registryMavenRegistryMaven virtual registry after the mutation.
mavenVirtualRegistryUpstreamDeleteInput type: MavenVirtualRegistryUpstreamDeleteInput
mavenVirtualRegistryUpstreamDelete argumentsmavenVirtualRegistryUpstreamDelete fieldsmavenVirtualRegistryUpstreamUpdateInput type: MavenVirtualRegistryUpstreamUpdateInput
mavenVirtualRegistryUpstreamUpdate argumentsmavenVirtualRegistryUpstreamUpdate fieldsmemberRoleAdminCreateInput type: MemberRoleAdminCreateInput
memberRoleAdminCreate argumentsmemberRoleAdminCreate fieldsmemberRoleAdminDeleteInput type: MemberRoleAdminDeleteInput
memberRoleAdminDelete argumentsName Type Description idMemberRoleID!ID of the admin member role to delete.
memberRoleAdminDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. memberRoleMemberRoleDeleted admin member role.
memberRoleAdminUpdateInput type: MemberRoleAdminUpdateInput
memberRoleAdminUpdate argumentsmemberRoleAdminUpdate fieldsmemberRoleCreateInput type: MemberRoleCreateInput
memberRoleCreate argumentsName Type Description baseAccessLevelMemberRolesAccessLevel!Base access level for the custom role. descriptionStringDescription of the member role. groupPathIDGroup the member role to mutate is in. Required for SaaS. nameStringName of the member role. permissions[MemberRolePermission!]List of all customizable permissions.
memberRoleCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. memberRoleMemberRoleMember role.
memberRoleDeleteInput type: MemberRoleDeleteInput
memberRoleDelete argumentsName Type Description idMemberRoleID!ID of the member role to delete.
memberRoleDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. memberRoleMemberRoleDeleted member role.
memberRoleToUserAssignInput type: MemberRoleToUserAssignInput
memberRoleToUserAssign argumentsName Type Description memberRoleIdMemberRoleIDGlobal ID of the custom role to be assigned to a user. Admin roles will be unassigned from the user if omitted or set as NULL. userIdUserID!Global ID of the user to be assigned to a custom role.
memberRoleToUserAssign fieldsName Type Description errors[String!]!Errors encountered during the mutation. userMemberRoleUserMemberRoleCreated user member role or nil if the relation was deleted.
memberRoleUpdateInput type: MemberRoleUpdateInput
memberRoleUpdate argumentsmemberRoleUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. memberRoleMemberRoleMember role.
mergeRequestAcceptAccepts a merge request.
When accepted, the source branch will be scheduled to merge into the target branch, either
immediately if possible, or using one of the automatic merge strategies.
In GitLab 16.5 , the merging happens asynchronously.
This results in mergeRequest and state not updating after a mutation request,
because the merging may not have happened yet.
Input type: MergeRequestAcceptInput
mergeRequestAccept argumentsName Type Description Default commitMessageStringCustom merge commit message. iidString!IID of the merge request to mutate. projectPathID!Project the merge request to mutate is in. shaString!HEAD SHA at the time when the merge was requested. shouldRemoveSourceBranchBooleanShould the source branch be removed. squashBooleanSquash commits on the source branch before merge. falsesquashCommitMessageStringCustom squash commit message (if squash is true). strategyMergeStrategyEnumHow to merge the merge request.
mergeRequestAccept fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestBypassSecurityPolicyBypasses security policies for a merge request.
Input type: MergeRequestBypassSecurityPolicyInput
mergeRequestBypassSecurityPolicy argumentsName Type Description iidString!IID of the merge request to mutate. projectPathID!Project the merge request to mutate is in. reasonString!Reason for bypassing the security policy. securityPolicyIds[ID!]!ID of the security policy to bypass.
mergeRequestBypassSecurityPolicy fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestCreateInput type: MergeRequestCreateInput
mergeRequestCreate argumentsName Type Description descriptionStringDescription of the merge request (Markdown rendered as HTML for caching). labels[String!]Labels of the merge request. mergeAfterTimeDate and time after which the merge request can be merged. mergeBeforeTimeIntroduced as an experiment in GitLab 19.6. Date and time before which the merge request can be merged. projectPathID!Project full path the merge request is associated with. removeSourceBranchBooleanIndicates if the source branch of the merge request will be deleted after merge. sourceBranchString!Source branch of the merge request. targetBranchString!Target branch of the merge request. titleString!Title of the merge request.
mergeRequestCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestCreateWorkItemRelationsLinks work items to a merge request.
Input type: MergeRequestCreateWorkItemRelationsInput
mergeRequestCreateWorkItemRelations argumentsName Type Description Default iidString!IID of the merge request to mutate. linkTypeMergeRequestWorkItemLinkTypeType of relationship to create. Defaults to RELATED. MENTIONED relations are managed automatically and cannot be created. RELATEDprojectPathID!Project the merge request to mutate is in. workItemIds[WorkItemID!]!Global IDs of the work items to link.
mergeRequestCreateWorkItemRelations fieldsmergeRequestDestroyRequestedChangesInput type: MergeRequestDestroyRequestedChangesInput
mergeRequestDestroyRequestedChanges argumentsName Type Description iidString!IID of the merge request to mutate. projectPathID!Project the merge request to mutate is in.
mergeRequestDestroyRequestedChanges fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestDestroyWorkItemRelationsRemoves relations between a merge request and work items.
Input type: MergeRequestDestroyWorkItemRelationsInput
mergeRequestDestroyWorkItemRelations argumentsName Type Description ids[MergeRequestIssueID!]!Global IDs of the relations to remove. iidString!IID of the merge request to mutate. projectPathID!Project the merge request to mutate is in.
mergeRequestDestroyWorkItemRelations fieldsmergeRequestRequestChangesInput type: MergeRequestRequestChangesInput
mergeRequestRequestChanges argumentsName Type Description iidString!IID of the merge request to mutate. projectPathID!Project the merge request to mutate is in.
mergeRequestRequestChanges fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestResyncSecurityPoliciesTriggers a re-evaluation of the security approval policies applicable to the merge request.
Input type: MergeRequestResyncSecurityPoliciesInput
mergeRequestResyncSecurityPolicies argumentsName Type Description iidString!IID of the merge request to re-evaluate. projectPathID!Project the merge request belongs to.
mergeRequestResyncSecurityPolicies fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after the re-evaluation was scheduled.
mergeRequestReviewerRereviewInput type: MergeRequestReviewerRereviewInput
mergeRequestReviewerRereview argumentsName Type Description duoCodeReviewDepthDuoCodeReviewDepthIntroduced as an experiment in GitLab 19.6. Depth of the GitLab Duo Code Review to run when the user is the GitLab Duo Code Review bot. Ignored for other users, and unless the duo_code_review_deep_flow feature flag is enabled for the current user. iidString!IID of the merge request to mutate. projectPathID!Project the merge request to mutate is in. userIdUserID!User ID for the user that has been requested for a new review.
mergeRequestReviewerRereview fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestSavedViewCreateCreates a saved view on the merge request dashboard. Available only when the mr_dashboard_saved_views feature flag is enabled.
Input type: MergeRequestSavedViewCreateInput
mergeRequestSavedViewCreate argumentsmergeRequestSavedViewCreate fieldsmergeRequestSavedViewDeleteDeletes a saved view from the merge request dashboard. Available only when the mr_dashboard_saved_views feature flag is enabled.
Input type: MergeRequestSavedViewDeleteInput
mergeRequestSavedViewDelete argumentsmergeRequestSavedViewDelete fieldsmergeRequestSavedViewUpdateUpdates a saved view on the merge request dashboard. Available only when the mr_dashboard_saved_views feature flag is enabled.
Input type: MergeRequestSavedViewUpdateInput
mergeRequestSavedViewUpdate argumentsmergeRequestSavedViewUpdate fieldsmergeRequestSetAssigneesInput type: MergeRequestSetAssigneesInput
mergeRequestSetAssignees argumentsName Type Description Default assigneeUsernames[String!]!Usernames to assign to the resource. Replaces existing assignees by default. iidString!IID of the merge request to mutate. operationModeMutationOperationModeOperation to perform. Defaults to REPLACE. REPLACEprojectPathID!Project the merge request to mutate is in.
mergeRequestSetAssignees fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestSetBlockingMergeRequestsInput type: MergeRequestSetBlockingMergeRequestsInput
mergeRequestSetBlockingMergeRequests argumentsName Type Description blockingMergeRequestReferences[String!]!Array of blocking merge request references (e.g., “!123”, “project!456”). iidString!IID of the merge request to mutate. projectPathID!Project the merge request to mutate is in.
mergeRequestSetBlockingMergeRequests fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestSetDraftInput type: MergeRequestSetDraftInput
mergeRequestSetDraft argumentsName Type Description draftBoolean!Whether or not to set the merge request as a draft. iidString!IID of the merge request to mutate. projectPathID!Project the merge request to mutate is in.
mergeRequestSetDraft fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestSetLabelsInput type: MergeRequestSetLabelsInput
mergeRequestSetLabels argumentsName Type Description iidString!IID of the merge request to mutate. labelIds[LabelID!]!Label IDs to set. Replaces existing labels by default. operationModeMutationOperationModeChanges the operation mode. Defaults to REPLACE. projectPathID!Project the merge request to mutate is in.
mergeRequestSetLabels fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestSetLockedInput type: MergeRequestSetLockedInput
mergeRequestSetLocked argumentsName Type Description iidString!IID of the merge request to mutate. lockedBoolean!Whether or not to lock the merge request. projectPathID!Project the merge request to mutate is in.
mergeRequestSetLocked fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestSetMilestoneInput type: MergeRequestSetMilestoneInput
mergeRequestSetMilestone argumentsName Type Description iidString!IID of the merge request to mutate. milestoneIdMilestoneIDMilestone to assign to the merge request. projectPathID!Project the merge request to mutate is in.
mergeRequestSetMilestone fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestSetReviewersInput type: MergeRequestSetReviewersInput
mergeRequestSetReviewers argumentsName Type Description Default iidString!IID of the merge request to mutate. operationModeMutationOperationModeOperation to perform. Defaults to REPLACE. REPLACEprojectPathID!Project the merge request to mutate is in. reviewerUsernames[String!]!Usernames of reviewers to assign. Replaces existing reviewers by default. Usernames that do not match a visible user are reported in errors and not assigned.
mergeRequestSetReviewers fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestSetSubscriptionInput type: MergeRequestSetSubscriptionInput
mergeRequestSetSubscription argumentsName Type Description iidString!IID of the merge request to mutate. projectPathID!Project the merge request to mutate is in. subscribedStateBoolean!Desired state of the subscription.
mergeRequestSetSubscription fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestUpdateUpdate attributes of a merge request.
Input type: MergeRequestUpdateInput
mergeRequestUpdate argumentsName Type Description descriptionStringDescription of the merge request (Markdown rendered as HTML for caching). iidString!IID of the merge request to mutate. mergeAfterTimeDate and time after which the merge request can be merged. mergeBeforeTimeIntroduced as an experiment in GitLab 19.6. Date and time before which the merge request can be merged. overrideRequestedChangesBooleanOverride all requested changes. Can only be set by users who have permissionto merge this merge request. projectPathID!Project the merge request to mutate is in. removeSourceBranchBooleanIndicates if the source branch of the merge request will be deleted after merge. stateMergeRequestNewStateAction to perform to change the state. targetBranchStringTarget branch of the merge request. timeEstimateStringEstimated time to complete the merge request. Use null or 0 to remove the current estimate. titleStringTitle of the merge request.
mergeRequestUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestUpdateApprovalRuleInput type: MergeRequestUpdateApprovalRuleInput
mergeRequestUpdateApprovalRule argumentsName Type Description Default approvalRuleIdInt!ID of an approval rule. approvalsRequiredInt!Number of required approvals for a given rule. groupIds[String!]IDs of groups as approvers. []iidString!IID of the merge request to mutate. nameString!Name of the approval rule. projectPathID!Project the merge request to mutate is in. removeHiddenGroupsBooleanWhether hidden groups should be removed. falseuserIds[String!]IDs of users as approvers. []
mergeRequestUpdateApprovalRule fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge request after mutation.
mergeRequestsCsvExportInput type: MergeRequestsCsvExportInput
mergeRequestsCsvExport argumentsName Type Description approvedBy[String!]Usernames of the approvers. approver[String!]Usernames of possible approvers. assigneeUsernameStringUsername of the assignee. assigneeUsernames[String!]Usernames of users assigned to the merge request. assigneeWildcardIdAssigneeWildcardIdFilter by assignee presence. Incompatible with assigneeUsernames and assigneeUsername. authorUsernameStringUsername of the author. blobPathStringIntroduced as an experiment in GitLab 17.7. Path of the blob changed in merge request. Requires state, targetBranches, and createdAfter arguments. closedAfterTimeMerge requests closed after the date. closedBeforeTimeMerge requests closed before the date. createdAfterTimeMerge requests created after the timestamp. createdBeforeTimeMerge requests created before the timestamp. deployedAfterTimeMerge requests deployed after the timestamp. deployedBeforeTimeMerge requests deployed before the timestamp. deploymentIdStringID of the deployment. draftBooleanLimit result to draft merge requests. environmentNameStringEnvironment merge requests have been deployed to. ignoredReviewerUsernameStringIntroduced as an experiment in GitLab 18.0. Username of the reviewer to ignore when searching by reviewer state. iids[String!]Array of IIDs of merge requests, for example [1, 2]. in[IssuableSearchableField!]Specify the fields to perform the search in. Defaults to [TITLE, DESCRIPTION]. Requires the search argument.’. labelName[String]Labels applied to the merge request. labels[String!]Deprecated in GitLab 17.1. Use labelName. mergedAfterTimeMerge requests merged after the date. mergedBeforeTimeMerge requests merged before the date. mergedByStringUsername of the merger. milestoneTitleStringTitle of the milestone. Incompatible with milestoneWildcardId. milestoneWildcardIdMilestoneWildcardIdFilter issues by milestone ID wildcard. Incompatible with milestoneTitle. myReactionEmojiStringFilter by your reaction emoji. notMergeRequestsResolverNegatedParamsList of negated arguments. Warning: this argument is experimental and a subject to change in future. orUnionedMergeRequestFilterInputList of arguments with inclusive OR. projectPathID!Full project path. releaseTagStringFilter by release tag. reviewStateMergeRequestReviewStateReviewer state of the merge request. reviewStates[MergeRequestReviewState!]Reviewer states of the merge request. reviewerUsernameStringUsername of the reviewer. reviewerWildcardIdReviewerWildcardIdFilter by reviewer presence. Incompatible with reviewerUsername. searchStringSearch query for title or description. sourceBranches[String!]Array of source branch names. All resolved merge requests will have one of these branches as their source. stateMergeRequestStateMerge request state. If provided, all resolved merge requests will have the state. subscribedSubscriptionStatusMerge requests the current user is subscribed to. targetBranches[String!]Array of target branch names. All resolved merge requests will have one of these branches as their target. updatedAfterTimeMerge requests updated after the timestamp. updatedBeforeTimeMerge requests updated before the timestamp.
mergeRequestsCsvExport fieldsName Type Description errors[String!]!Errors encountered during the mutation. messageStringExport request result message.
mergeTrainsDeleteCarInput type: MergeTrainsDeleteCarInput
mergeTrainsDeleteCar argumentsmergeTrainsDeleteCar fieldsName Type Description errors[String!]!Errors encountered during the mutation.
mlModelCreateInput type: MlModelCreateInput
mlModelCreate argumentsName Type Description descriptionStringDescription of the model. nameString!Name of the model. projectPathID!Project the model to mutate is in.
mlModelCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. modelMlModelModel after mutation.
mlModelDeleteInput type: MlModelDeleteInput
mlModelDelete argumentsName Type Description idMlModelID!Global ID of the model to be deleted. projectPathID!Project the model to mutate is in.
mlModelDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. modelMlModelModel after mutation.
mlModelDestroyInput type: MlModelDestroyInput
mlModelDestroy argumentsName Type Description idMlModelID!Global ID of the model to be deleted. projectPathID!Project the model to mutate is in.
mlModelDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation. messageStringModel deletion result message. modelMlModelModel after mutation.
mlModelEditInput type: MlModelEditInput
mlModelEdit argumentsName Type Description descriptionStringDescription of the model. modelIdIntId of the model. nameString!Name of the model. projectPathID!Project the model to mutate is in.
mlModelEdit fieldsName Type Description errors[String!]!Errors encountered during the mutation. modelMlModelModel after mutation.
mlModelVersionCreateInput type: MlModelVersionCreateInput
mlModelVersionCreate argumentsName Type Description candidateIdMlCandidateIDGlobal ID of a candidate to promote optionally. descriptionStringDescription of the model version. modelIdMlModelID!Global ID of the model the version belongs to. projectPathID!Project the model to mutate is in. versionStringModel version.
mlModelVersionCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. modelVersionMlModelVersionModel after mutation.
mlModelVersionDeleteInput type: MlModelVersionDeleteInput
mlModelVersionDelete argumentsmlModelVersionDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. modelVersionMlModelVersionDeleted model version.
mlModelVersionEditInput type: MlModelVersionEditInput
mlModelVersionEdit argumentsName Type Description descriptionString!Description of the model version. modelIdMlModelID!Global ID of the model the version belongs to. projectPathID!Project the model to mutate is in. versionString!Model version.
mlModelVersionEdit fieldsName Type Description errors[String!]!Errors encountered during the mutation. modelVersionMlModelVersionModel after mutation.
namespaceBanDestroyInput type: NamespaceBanDestroyInput
namespaceBanDestroy argumentsnamespaceBanDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation. namespaceBanNamespaceBanNamespace Ban.
namespaceCiCdSettingsUpdateInput type: NamespaceCiCdSettingsUpdateInput
namespaceCiCdSettingsUpdate argumentsName Type Description allowStaleRunnerPruningBooleanIndicates if stale runners directly belonging to the namespace should be periodically pruned. fullPathID!Full path of the namespace the settings belong to.
namespaceCiCdSettingsUpdate fieldsnamespaceCreateRemoteDevelopmentClusterAgentMappingInput type: NamespaceCreateRemoteDevelopmentClusterAgentMappingInput
namespaceCreateRemoteDevelopmentClusterAgentMapping argumentsName Type Description clusterAgentIdClustersAgentID!GlobalID of the cluster agent to be associated with the namespace. namespaceIdGroupID!GlobalID of the group to be associated with the cluster agent.
namespaceCreateRemoteDevelopmentClusterAgentMapping fieldsnamespaceDeleteRemoteDevelopmentClusterAgentMappingInput type: NamespaceDeleteRemoteDevelopmentClusterAgentMappingInput
namespaceDeleteRemoteDevelopmentClusterAgentMapping argumentsName Type Description clusterAgentIdClustersAgentID!GlobalID of the cluster agent to be un-associated from the namespace. namespaceIdGroupID!GlobalID of the group to be un-associated from the cluster agent.
namespaceDeleteRemoteDevelopmentClusterAgentMapping fieldsnamespaceSecretsManagerEnrollInput type: NamespaceSecretsManagerEnrollInput
namespaceSecretsManagerEnroll argumentsName Type Description namespacePathID!Full path of the namespace to enroll.
namespaceSecretsManagerEnroll fieldsnamespaceSecretsManagerUnenrollInput type: NamespaceSecretsManagerUnenrollInput
namespaceSecretsManagerUnenroll argumentsName Type Description namespacePathID!Full path of the namespace to unenroll.
namespaceSecretsManagerUnenroll fieldsnamespaceSettingsUpdateInput type: NamespaceSettingsUpdateInput
namespaceSettingsUpdate argumentsName Type Description fullPathID!Full path of the namespace the settings belong to. pipelineVariablesDefaultRolePipelineVariablesDefaultRoleTypeIndicates the default minimum role required to override pipeline variables in the namespace.
namespaceSettingsUpdate fieldsName Type Description ciCdSettingsCiCdSettings!Namespace CI/CD settings after mutation. errors[String!]!Errors encountered during the mutation.
namespacesRegenerateNewWorkItemEmailAddressInput type: NamespacesRegenerateNewWorkItemEmailAddressInput
namespacesRegenerateNewWorkItemEmailAddress argumentsName Type Description fullPathID!Full path of the namespace to regenerate the new work item email address for.
namespacesRegenerateNewWorkItemEmailAddress fieldsName Type Description errors[String!]!Errors encountered during the mutation. namespaceNamespaceNamespace after regenerating the new work item email address.
noteConvertToThreadConvert a standard comment to a resolvable thread.
Input type: NoteConvertToThreadInput
noteConvertToThread argumentsName Type Description idNoteID!Global ID of the Note to convert.
noteConvertToThread fieldsName Type Description errors[String!]!Errors encountered during the mutation. noteNoteNote after mutation. quickActionsStatusQuickActionsStatusStatus of quick actions after mutation.
oncallRotationCreateInput type: OncallRotationCreateInput
oncallRotationCreate argumentsoncallRotationCreate fieldsoncallRotationDestroyInput type: OncallRotationDestroyInput
oncallRotationDestroy argumentsName Type Description idIncidentManagementOncallRotationID!ID of the on-call rotation to remove. projectPathID!Project to remove the on-call schedule from. scheduleIidString!IID of the on-call schedule to the on-call rotation belongs to.
oncallRotationDestroy fieldsoncallRotationUpdateInput type: OncallRotationUpdateInput
oncallRotationUpdate argumentsoncallRotationUpdate fieldsoncallScheduleCreateInput type: OncallScheduleCreateInput
oncallScheduleCreate argumentsName Type Description descriptionStringDescription of the on-call schedule. nameString!Name of the on-call schedule. projectPathID!Project to create the on-call schedule in. timezoneString!Timezone of the on-call schedule.
oncallScheduleCreate fieldsoncallScheduleDestroyInput type: OncallScheduleDestroyInput
oncallScheduleDestroy argumentsName Type Description iidString!On-call schedule internal ID to remove. projectPathID!Project to remove the on-call schedule from.
oncallScheduleDestroy fieldsoncallScheduleUpdateInput type: OncallScheduleUpdateInput
oncallScheduleUpdate argumentsName Type Description descriptionStringDescription of the on-call schedule. iidString!On-call schedule internal ID to update. nameStringName of the on-call schedule. projectPathID!Project to update the on-call schedule in. timezoneStringTimezone of the on-call schedule.
oncallScheduleUpdate fieldsorbitExcludedGroupCreateInput type: OrbitExcludedGroupCreateInput
orbitExcludedGroupCreate argumentsName Type Description groupPathID!Full path of the top-level group to exclude.
orbitExcludedGroupCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. groupGroupExcluded group.
orbitExcludedGroupDestroyInput type: OrbitExcludedGroupDestroyInput
orbitExcludedGroupDestroy argumentsName Type Description groupPathID!Full path of the top-level group to remove from exclusions.
orbitExcludedGroupDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation. groupGroupGroup removed from exclusions.
orbitInstanceStartTrialInput type: OrbitInstanceStartTrialInput
orbitInstanceStartTrial fieldsName Type Description accessOrbitAccessInstance Orbit access state after starting the trial. errors[String!]!Errors encountered during the mutation.
orbitStartTrialInput type: OrbitStartTrialInput
orbitStartTrial argumentsName Type Description groupPathID!Full path of the top-level group.
orbitStartTrial fieldsName Type Description errors[String!]!Errors encountered during the mutation. groupGroupGroup the trial was requested for, also returned on error. Read orbit { enabled access { trial } } from it.
orbitUpdateInput type: OrbitUpdateInput
orbitUpdate argumentsName Type Description enabledBoolean!Whether to enable or disable the Knowledge Graph for the group. groupPathID!Full path of the group to update.
orbitUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. groupGroupGroup after mutation.
organizationConfirmInput type: OrganizationConfirmInput
organizationConfirm argumentsorganizationConfirm fieldsName Type Description errors[String!]!Errors encountered during the mutation. organizationOrganizationOrganization after mutation.
organizationCreateInput type: OrganizationCreateInput
organizationCreate argumentsName Type Description avatarUploadAvatar for the organization. descriptionStringDescription of the organization. nameString!Name for the organization. pathString!Path for the organization. visibilityOrganizationVisibilityVisibility for the organization.
organizationCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. organizationOrganizationOrganization after mutation.
organizationCreateClusterAgentMappingInput type: OrganizationCreateClusterAgentMappingInput
organizationCreateClusterAgentMapping argumentsName Type Description clusterAgentIdClustersAgentID!GlobalID of the cluster agent to be associated with the organization. organizationIdOrganizationsOrganizationID!GlobalID of the organization to be associated with the cluster agent.
organizationCreateClusterAgentMapping fieldsName Type Description errors[String!]!Errors encountered during the mutation.
organizationDeleteInput type: OrganizationDeleteInput
organizationDelete argumentsorganizationDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. organizationOrganizationSoft-deleted organization.
organizationDeleteClusterAgentMappingInput type: OrganizationDeleteClusterAgentMappingInput
organizationDeleteClusterAgentMapping argumentsName Type Description clusterAgentIdClustersAgentID!GlobalID of the cluster agent to be dissociated with the organization. organizationIdOrganizationsOrganizationID!GlobalID of the organization to be dissociated with the cluster agent.
organizationDeleteClusterAgentMapping fieldsName Type Description errors[String!]!Errors encountered during the mutation.
organizationRestoreInput type: OrganizationRestoreInput
organizationRestore argumentsorganizationRestore fieldsName Type Description errors[String!]!Errors encountered during the mutation. organizationOrganizationRestored organization.
organizationUpdateInput type: OrganizationUpdateInput
organizationUpdate argumentsName Type Description avatarUploadAvatar for the organization. descriptionStringDescription of the organization. idOrganizationsOrganizationID!ID of the organization to mutate. nameStringName for the organization. pathStringPath for the organization. policyStoreExperimentEnabledBooleanIntroduced as an experiment in GitLab 19.4. Opt the organization in to or out of the Policy Store experiment. Opting in returns an error when the experiment is not available to the organization; opting out is always accepted. visibilityOrganizationVisibilityVisibility for the organization.
organizationUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. organizationOrganizationOrganization after mutation.
organizationUserCreateInput type: OrganizationUserCreateInput
organizationUserCreate argumentsorganizationUserCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. organizationUserOrganizationUserIntroduced as an experiment in GitLab 19.3. Organization user added by the mutation.
organizationUserDeleteInput type: OrganizationUserDeleteInput
organizationUserDelete argumentsorganizationUserDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. organizationUserOrganizationUserIntroduced as an experiment in GitLab 19.3. Organization user that was deleted.
organizationUserUpdateInput type: OrganizationUserUpdateInput
organizationUserUpdate argumentsorganizationUserUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. organizationUserOrganizationUserIntroduced as an experiment in GitLab 17.5. Organization user after mutation.
pagesMarkOnboardingCompleteInput type: PagesMarkOnboardingCompleteInput
pagesMarkOnboardingComplete argumentsName Type Description projectPathID!Full path of the project.
pagesMarkOnboardingComplete fieldsName Type Description errors[String!]!Errors encountered during the mutation. onboardingCompleteBoolean!Indicates the new onboarding_complete state of the project’s Pages metadata.
personalAccessTokenCreateCreates a personal access token for the current user.
Input type: PersonalAccessTokenCreateInput
personalAccessTokenCreate argumentsName Type Description Default descriptionStringDescription of the token. expiresAtISO8601DateExpiration date of the token. granularScopes[GranularScopeInput!]!List of granular scopes to assign to the token. nameString!Name of the token. sudoBooleanWhether the token can impersonate other users with sudo. Requires the token owner to be an administrator. false
personalAccessTokenCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. tokenStringCreated personal access token.
personalAccessTokenRevokeRevokes a specified personal access token.
Input type: PersonalAccessTokenRevokeInput
personalAccessTokenRevoke argumentspersonalAccessTokenRevoke fieldsName Type Description errors[String!]!Errors encountered during the mutation.
personalAccessTokenRotateRotate a specified personal access token.
Input type: PersonalAccessTokenRotateInput
personalAccessTokenRotate argumentspersonalAccessTokenRotate fieldsName Type Description errors[String!]!Errors encountered during the mutation. tokenStringCreated personal access token.
pipelineCancelInput type: PipelineCancelInput
pipelineCancel argumentspipelineCancel fieldsName Type Description errors[String!]!Errors encountered during the mutation. pipelinePipelinePipeline after mutation.
pipelineCreateInput type: PipelineCreateInput
pipelineCreate argumentsName Type Description asyncBooleanIntroduced as an experiment in GitLab 17.8. When true, the request does not wait for the pipeline to be created, and returns a unique identifier that can be used to check the creation status. inputs[CiInputsInput!]Introduced as an experiment in GitLab 17.10. Inputs for the pipeline. mergeRequestIidStringIID of the merge request to create pipeline for. projectPathID!Full path of the project that is triggering the pipeline. refString!Ref on which to run the pipeline. Ignored when mergeRequestIid is provided; the merge request ref path is used instead. variables[CiVariableInput!]Variables for the pipeline.
pipelineCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. pipelinePipelinePipeline created after mutation. Null if async: true. requestIdStringIntroduced as an experiment in GitLab 17.8. ID for checking the pipeline creation status. Null if async: false.
pipelineDestroyInput type: PipelineDestroyInput
pipelineDestroy argumentspipelineDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation.
pipelineExecutionSchedulePolicyTestRunTriggers a test-run for a Scheduled Pipeline Execution Policy on a specific project.
Input type: PipelineExecutionSchedulePolicyTestRunInput
pipelineExecutionSchedulePolicyTestRun argumentsName Type Description policyIdSecurityPolicyID!Global ID of the pipeline execution schedule policy to test. projectPathID!Full path of the project to run the test on.
pipelineExecutionSchedulePolicyTestRun fieldspipelineRetryInput type: PipelineRetryInput
pipelineRetry argumentspipelineRetry fieldsName Type Description errors[String!]!Errors encountered during the mutation. pipelinePipelinePipeline after mutation.
pipelineScheduleCreateInput type: PipelineScheduleCreateInput
pipelineScheduleCreate argumentsName Type Description activeBooleanIndicates if the pipeline schedule should be active or not. cronString!Cron expression of the pipeline schedule. cronTimezoneStringCron time zone supported by ActiveSupport::TimeZone. For example: Pacific Time (US & Canada) (default: UTC). descriptionString!Description of the pipeline schedule. inputs[CiInputsInput!]Introduced as an experiment in GitLab 17.10. Inputs for the pipeline schedule. projectPathID!Full path of the project the pipeline schedule is associated with. refString!Ref of the pipeline schedule. variables[PipelineScheduleVariableInput!]Variables for the pipeline schedule.
pipelineScheduleCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. pipelineSchedulePipelineScheduleCreated pipeline schedule.
pipelineScheduleDeleteInput type: PipelineScheduleDeleteInput
pipelineScheduleDelete argumentspipelineScheduleDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
pipelineSchedulePlayInput type: PipelineSchedulePlayInput
pipelineSchedulePlay argumentspipelineSchedulePlay fieldsName Type Description errors[String!]!Errors encountered during the mutation. pipelineSchedulePipelineSchedulePipeline schedule after mutation.
pipelineScheduleTakeOwnershipInput type: PipelineScheduleTakeOwnershipInput
pipelineScheduleTakeOwnership argumentspipelineScheduleTakeOwnership fieldsName Type Description errors[String!]!Errors encountered during the mutation. pipelineSchedulePipelineScheduleUpdated pipeline schedule ownership.
pipelineScheduleUpdateInput type: PipelineScheduleUpdateInput
pipelineScheduleUpdate argumentsName Type Description activeBooleanIndicates if the pipeline schedule should be active or not. cronStringCron expression of the pipeline schedule. cronTimezoneStringCron time zone supported by ActiveSupport::TimeZone. For example: Pacific Time (US & Canada) (default: UTC). descriptionStringDescription of the pipeline schedule. idCiPipelineScheduleID!ID of the pipeline schedule to mutate. inputs[CiInputsInput!]Introduced as an experiment in GitLab 17.11. Inputs for the pipeline schedule. refStringRef of the pipeline schedule. variables[PipelineScheduleVariableInput!]Variables for the pipeline schedule.
pipelineScheduleUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. pipelineSchedulePipelineScheduleUpdated pipeline schedule.
pipelineTriggerCreateInput type: PipelineTriggerCreateInput
pipelineTriggerCreate argumentsName Type Description descriptionString!Description of the pipeline trigger token. expiresAtTimeTimestamp of when the pipeline trigger token expires. projectPathID!Full path of the project that the pipeline trigger token to mutate is in.
pipelineTriggerCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. pipelineTriggerPipelineTriggerMutated pipeline trigger token.
pipelineTriggerDeleteInput type: PipelineTriggerDeleteInput
pipelineTriggerDelete argumentsName Type Description idCiTriggerID!ID of the pipeline trigger token to delete.
pipelineTriggerDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
pipelineTriggerUpdateInput type: PipelineTriggerUpdateInput
pipelineTriggerUpdate argumentsName Type Description descriptionString!Description of the pipeline trigger token. idCiTriggerID!ID of the pipeline trigger token to update.
pipelineTriggerUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. pipelineTriggerPipelineTriggerMutated pipeline trigger token.
Input type: ProcessUserBillablePromotionRequestInput
Name Type Description statusMemberApprovalStatusType!Status for the member approval request (approved, denied, pending). userIdUserID!Global ID of user to be promoted.
Name Type Description errors[String!]!Errors encountered during the mutation. resultUserPromotionStatusTypeStatus of the user promotion process (success, partial_success, failed).
projectBlobsRemoveInput type: projectBlobsRemoveInput
projectBlobsRemove argumentsName Type Description blobOids[String!]!List of blob oids. projectPathID!Full path of the project to replace.
projectBlobsRemove fieldsName Type Description errors[String!]!Errors encountered during the mutation.
projectCiCdSettingsUpdateInput type: ProjectCiCdSettingsUpdateInput
projectCiCdSettingsUpdate argumentsName Type Description crossProjectPushForJobTokenAllowedBooleanIndicates the ability to push to this repository using a job token from an allowlisted project. displayPipelineVariablesBooleanIndicates whether pipeline variables can be displayed in the UI. fullPathID!Full Path of the project the settings belong to. groupRunnersEnabledBooleanIndicates whether group runners are enabled for the project. inboundJobTokenScopeEnabledBooleanIndicates whether CI/CD job tokens generated in other projects have restricted access to this project. jobTokenScopeEnabledBooleanDeprecated in GitLab 16.0. Outbound job token scope is being removed. This field can now only be set to false. keepLatestArtifactBooleanIndicates whether the latest artifact should be kept for the project. maxPipelinesPerMergeTrainIntMaximum number of parallel pipelines per merge train. mergePipelinesEnabledBooleanIndicates if merged results pipelines are enabled for the project. mergeTrainEnforcementMergeTrainEnforcementMerge train enforcement level for the project. mergeTrainsEnabledBooleanIndicates if merge trains are enabled for the project. mergeTrainsSkipTrainAllowedBooleanIndicates whether an option is allowed to merge without refreshing the merge train. Ignored unless the merge_trains_skip_train feature flag is also enabled. pipelineVariablesMinimumOverrideRoleStringMinimum role required to set variables when creating a pipeline or running a job. pushRepositoryForJobTokenAllowedBooleanIndicates the ability to push to the original project repository using a job token. resourceGroupDefaultProcessModeResourceGroupsProcessModeDefault process mode for resource groups in the project. skipBranchPipelinesForMrsBooleanIndicates whether branch pipelines are skipped if a merge request is open.
projectCiCdSettingsUpdate fieldsprojectCustomAttributeSetSets (creates or updates) a custom attribute on a project. Only available to admins.
Input type: ProjectCustomAttributeSetInput
projectCustomAttributeSet argumentsName Type Description keyString!Key of the custom attribute. projectPathID!Full path of the project. valueString!Value of the custom attribute.
projectCustomAttributeSet fieldsName Type Description customAttributeCustomAttributeCustom attribute after mutation. errors[String!]!Errors encountered during the mutation.
projectMemberBulkUpdateUpdates multiple members of a project. To use this mutation, you must have at least the Maintainer role.
Input type: ProjectMemberBulkUpdateInput
projectMemberBulkUpdate argumentsName Type Description accessLevelMemberAccessLevel!Access level to update the members to. expiresAtTimeDate and time the membership expires. projectIdProjectID!Global ID of the project. userIds[UserID!]!Global IDs of the members.
projectMemberBulkUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. projectMembers[ProjectMember!]Project members after mutation. queuedMemberApprovalsMemberApprovalConnectionList of queued pending members approvals. This field is a connection and accepts the four standard pagination arguments: before, after, first, last.
projectSavedReplyCreateInput type: ProjectSavedReplyCreateInput
projectSavedReplyCreate argumentsName Type Description contentString!Content of the saved reply. nameString!Name of the saved reply. projectIdProjectID!Project for the saved reply.
projectSavedReplyCreate fieldsprojectSavedReplyDestroyInput type: ProjectSavedReplyDestroyInput
projectSavedReplyDestroy argumentsprojectSavedReplyDestroy fieldsprojectSavedReplyUpdateInput type: ProjectSavedReplyUpdateInput
projectSavedReplyUpdate argumentsprojectSavedReplyUpdate fieldsprojectSecretCreateInput type: ProjectSecretCreateInput
projectSecretCreate argumentsName Type Description branchString!Branches that can access the secret. descriptionStringDescription of the project secret. environmentString!Environments that can access the secret. nameString!Name of the project secret. projectPathID!Project of the secret. rotationIntervalDaysIntNumber of days between rotation reminders for the secret. secretString!Value of the project secret.
projectSecretCreate fieldsprojectSecretDeleteInput type: ProjectSecretDeleteInput
projectSecretDelete argumentsName Type Description nameString!Name of the project secret. projectPathID!Project of the secret.
projectSecretDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. projectSecretProjectSecretDeleted project secret.
projectSecretUpdateInput type: ProjectSecretUpdateInput
projectSecretUpdate argumentsName Type Description branchStringNew branches that can access the secret. descriptionStringNew description of the project secret. environmentStringNew environments that can access the secret. metadataCasInt!This should match the current metadata version of the project secret being updated. nameString!Name of the project secret to update. projectPathID!Project of the secret. rotationIntervalDaysIntNumber of days between rotation reminders for the secret. secretStringNew value of the project secret.
projectSecretUpdate fieldsprojectSecretsManagerDeprovisionInput type: ProjectSecretsManagerDeprovisionInput
projectSecretsManagerDeprovision argumentsName Type Description projectPathID!Project of the secrets manager.
projectSecretsManagerDeprovision fieldsprojectSecretsManagerInitializeInput type: ProjectSecretsManagerInitializeInput
projectSecretsManagerInitialize argumentsName Type Description projectPathID!Project of the secrets manager.
projectSecretsManagerInitialize fieldsprojectSecretsPermissionDeleteInput type: ProjectSecretsPermissionDeleteInput
projectSecretsPermissionDelete argumentsName Type Description principalPrincipalInput!User/MemberRole/Role whose access is being removed. projectPathID!Project from which the permissions are removed.
projectSecretsPermissionDelete fieldsprojectSecretsPermissionUpdateInput type: ProjectSecretsPermissionUpdateInput
projectSecretsPermissionUpdate argumentsName Type Description actions[SecretsManagementAction!]!Actions that can be performed on secrets. expiredAtISO8601DateExpiration date for Secret Permission (optional). principalPrincipalInput!User/MemberRole/Role that is provided access. projectPathID!Project to which the permissions are added.
projectSecretsPermissionUpdate fieldsprojectSecurityExclusionCreateInput type: ProjectSecurityExclusionCreateInput
projectSecurityExclusionCreate argumentsName Type Description activeBoolean!Whether the exclusion is active. descriptionStringOptional description for the exclusion. projectPathID!Full path of the project the exclusion will be associated with. scannerExclusionScannerEnum!Scanner to ignore values for based on the exclusion. typeExclusionTypeEnum!Type of the exclusion. valueString!Value of the exclusion.
projectSecurityExclusionCreate fieldsprojectSecurityExclusionDeleteInput type: ProjectSecurityExclusionDeleteInput
projectSecurityExclusionDelete argumentsprojectSecurityExclusionDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
projectSecurityExclusionUpdateInput type: ProjectSecurityExclusionUpdateInput
projectSecurityExclusionUpdate argumentsprojectSecurityExclusionUpdate fieldsprojectSetComplianceFrameworkDeprecated in GitLab 17.11. Use mutation ProjectUpdateComplianceFrameworks instead of this.
Input type: ProjectSetComplianceFrameworkInput
projectSetComplianceFramework argumentsName Type Description complianceFrameworkIdComplianceManagementFrameworkIDID of the compliance framework to assign to the project. Set to null to unset. projectIdProjectID!ID of the project to change the compliance framework of.
projectSetComplianceFramework fieldsName Type Description errors[String!]!Errors encountered during the mutation. projectProjectProject after mutation.
projectSetContinuousVulnerabilityScanningDeprecated in GitLab 17.3. CVS has been enabled permanently. See this epic for more information.
Input type: ProjectSetContinuousVulnerabilityScanningInput
projectSetContinuousVulnerabilityScanning argumentsName Type Description enableBoolean!Desired status for continuous vulnerability scanning feature. projectPathID!Full path of the project.
projectSetContinuousVulnerabilityScanning fieldsName Type Description continuousVulnerabilityScanningEnabledBoolean!Whether feature is enabled. errors[String!]!Errors encountered during the mutation.
projectSetLockedInput type: ProjectSetLockedInput
projectSetLocked argumentsName Type Description filePathString!Full path to the file. lockBoolean!Whether or not to lock the file path. projectPathID!Full path of the project to mutate.
projectSetLocked fieldsName Type Description errors[String!]!Errors encountered during the mutation. projectProjectProject after mutation.
projectSettingsUpdateInput type: ProjectSettingsUpdateInput
projectSettingsUpdate argumentsName Type Description aiAuditEventsStorageEnabledBooleanIntroduced as an experiment in GitLab 19.2. Indicates whether AI audit events are stored for the project. duoAutoModeEnabledBooleanIndicates whether Duo Agent Platform auto mode is enabled for the project. duoContextExclusionSettingsDuoContextExclusionSettingsInputSettings for excluding files from Duo context. duoFeaturesEnabledBooleanIndicates whether GitLab Duo features are enabled for the project. duoSastFpDetectionEnabledBooleanIndicates whether SAST False Positive Detection is enabled for the project. duoSastVrWorkflowEnabledBooleanIndicates whether SAST Vulnerability Resolution workflow is enabled for the project. duoSecretDetectionFpEnabledBooleanIndicates whether Secret Detection False Positive Detection is enabled for the project. fullPathID!Full Path of the project the settings belong to. toolApprovalForSessionEnabledBooleanIndicates whether tool approval for Duo Workflow sessions is enabled for the project. webBasedCommitSigningEnabledBooleanIntroduced as an experiment in GitLab 18.2. Indicates whether web-based commit signing is enabled for the project.
projectSettingsUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. projectSettingsProjectSetting!Project settings after mutation.
projectSubscriptionCreateInput type: ProjectSubscriptionCreateInput
projectSubscriptionCreate argumentsName Type Description projectPathString!Full path of the downstream project of the Project Subscription. upstreamPathString!Full path of the upstream project of the Project Subscription.
projectSubscriptionCreate fieldsprojectSubscriptionDeleteInput type: ProjectSubscriptionDeleteInput
projectSubscriptionDelete argumentsprojectSubscriptionDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. projectProjectProject after mutation.
projectSyncForkInput type: ProjectSyncForkInput
projectSyncFork argumentsName Type Description projectPathID!Full path of the project to initialize. targetBranchString!Ref of the fork to fetch into.
projectSyncFork fieldsName Type Description detailsForkDetailsUpdated fork details. errors[String!]!Errors encountered during the mutation.
projectTargetBranchRuleCreateInput type: ProjectTargetBranchRuleCreateInput
projectTargetBranchRuleCreate argumentsName Type Description nameString!Name for the target branch rule. projectIdProjectID!Project ID for the target branch rule. targetBranchString!Target branch for the target branch rule.
projectTargetBranchRuleCreate fieldsprojectTargetBranchRuleDestroyInput type: ProjectTargetBranchRuleDestroyInput
projectTargetBranchRuleDestroy argumentsprojectTargetBranchRuleDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation.
projectTextReplaceInput type: projectTextReplaceInput
projectTextReplace argumentsName Type Description projectPathID!Full path of the project to replace. replacements[String!]!List of text patterns to replace project-wide.
projectTextReplace fieldsName Type Description errors[String!]!Errors encountered during the mutation.
projectTransferInput type: ProjectTransferInput
projectTransfer argumentsName Type Description idProjectID!Global ID of the project to transfer. namespaceIdNamespaceID!Global ID of the target namespace.
projectTransfer fieldsName Type Description errors[String!]!Errors encountered during the mutation. projectProjectProject after mutation.
projectUpdateComplianceFrameworksUpdate compliance frameworks for a project.
Input type: ProjectUpdateComplianceFrameworksInput
projectUpdateComplianceFrameworks argumentsprojectUpdateComplianceFrameworks fieldsName Type Description errors[String!]!Errors encountered during the mutation. projectProjectProject after mutation.
prometheusIntegrationCreateDeprecated in GitLab 18.2. Use HttpIntegrationCreate.
Input type: PrometheusIntegrationCreateInput
prometheusIntegrationCreate argumentsName Type Description Default activeBoolean!Whether the integration is receiving alerts. apiUrlStringDeprecated in GitLab 18.2. Feature removed in 16.0. nameStringName of the integration. "Prometheus"payloadAttributeMappings[AlertManagementPayloadAlertFieldInput!]Custom mapping of GitLab alert attributes to fields from the payload example. payloadExampleJsonStringExample of an alert payload. projectPathID!Project to create the integration in. typeAlertManagementIntegrationTypeType of integration to create. Cannot be changed after creation. HTTP
prometheusIntegrationCreate fieldsprometheusIntegrationResetTokenDeprecated in GitLab 18.2. Use HttpIntegrationResetToken.
Input type: PrometheusIntegrationResetTokenInput
prometheusIntegrationResetToken argumentsprometheusIntegrationResetToken fieldsprometheusIntegrationUpdateDeprecated in GitLab 18.2. Use HttpIntegrationUpdate.
Input type: PrometheusIntegrationUpdateInput
prometheusIntegrationUpdate argumentsprometheusIntegrationUpdate fieldsDeprecated in GitLab 17.5. Replaced by WorkItem type. For more information, see migration guide .
Input type: PromoteToEpicInput
Name Type Description groupPathIDGroup the promoted epic will belong to. iidString!IID of the issue to mutate. projectPathID!Project the issue to mutate is in.
Name Type Description epicEpicEpic after issue promotion. errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
refreshFindingTokenStatusInput type: RefreshFindingTokenStatusInput
refreshFindingTokenStatus argumentsName Type Description vulnerabilityIdVulnerabilityID!Global ID of the Vulnerability whose token status should be refreshed.
refreshFindingTokenStatus fieldsrefreshSecurityFindingTokenStatusInput type: RefreshSecurityFindingTokenStatusInput
refreshSecurityFindingTokenStatus argumentsName Type Description securityFindingUuidString!UUID of the Security::Finding whose token status should be refreshed (MR context).
refreshSecurityFindingTokenStatus fieldsrefreshStandardsAdherenceChecksInput type: RefreshStandardsAdherenceChecksInput
refreshStandardsAdherenceChecks argumentsName Type Description groupPathID!Group path.
refreshStandardsAdherenceChecks fieldsrefreshVulnerabilityFindingTokenStatusInput type: RefreshVulnerabilityFindingTokenStatusInput
refreshVulnerabilityFindingTokenStatus argumentsName Type Description vulnerabilityIdVulnerabilityID!Global ID of the Vulnerability whose token status should be refreshed.
refreshVulnerabilityFindingTokenStatus fieldsreleaseAssetLinkCreateInput type: ReleaseAssetLinkCreateInput
releaseAssetLinkCreate argumentsName Type Description Default directAssetPathStringRelative path for a direct asset link. linkTypeReleaseAssetLinkTypeType of the asset link. OTHERnameString!Name of the asset link. projectPathID!Full path of the project the asset link is associated with. tagNameString!Name of the associated release’s tag. urlString!URL of the asset link.
releaseAssetLinkCreate fieldsreleaseAssetLinkDeleteInput type: ReleaseAssetLinkDeleteInput
releaseAssetLinkDelete argumentsName Type Description idReleasesLinkID!ID of the release asset link to delete.
releaseAssetLinkDelete fieldsreleaseAssetLinkUpdateInput type: ReleaseAssetLinkUpdateInput
releaseAssetLinkUpdate argumentsreleaseAssetLinkUpdate fieldsreleaseCreateInput type: ReleaseCreateInput
releaseCreate argumentsName Type Description assetsReleaseAssetsInputAssets associated to the release. descriptionStringDescription (also known as “release notes”) of the release. milestones[String!]Title of each milestone the release is associated with. GitLab Premium customers can specify group milestones. nameStringName of the release. projectPathID!Full path of the project the release is associated with. refStringCommit SHA or branch name to use if creating a new tag. releasedAtTimeDate and time for the release. Defaults to the current time. Expected in ISO 8601 format (2019-03-15T08:00:00Z). Only provide this field if creating an upcoming or historical release. tagMessageStringMessage to use if creating a new annotated tag. tagNameString!Name of the tag to associate with the release.
releaseCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. releaseReleaseRelease after mutation.
releaseDeleteInput type: ReleaseDeleteInput
releaseDelete argumentsName Type Description projectPathID!Full path of the project the release is associated with. tagNameString!Name of the tag associated with the release to delete.
releaseDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. releaseReleaseDeleted release.
releaseUpdateInput type: ReleaseUpdateInput
releaseUpdate argumentsName Type Description descriptionStringDescription (release notes) of the release. milestones[String!]Title of each milestone the release is associated with. GitLab Premium customers can specify group milestones. nameStringName of the release. projectPathID!Full path of the project the release is associated with. releasedAtTimeRelease date. tagNameString!Name of the tag associated with the release.
releaseUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. releaseReleaseRelease after mutation.
removeProjectFromSecurityDashboardInput type: RemoveProjectFromSecurityDashboardInput
removeProjectFromSecurityDashboard argumentsName Type Description idProjectID!ID of the project to remove from the Instance Security Dashboard.
removeProjectFromSecurityDashboard fieldsName Type Description errors[String!]!Errors encountered during the mutation.
repositionImageDiffNoteRepositions a DiffNote on an image (a Note where the position.positionType is "image").
Input type: RepositionImageDiffNoteInput
repositionImageDiffNote argumentsrepositionImageDiffNote fieldsName Type Description errors[String!]!Errors encountered during the mutation. noteNoteNote after mutation. quickActionsStatusQuickActionsStatusStatus of quick actions after mutation.
restorePagesDeploymentRestores a Pages deployment that has been scheduled for deletion.
Input type: RestorePagesDeploymentInput
restorePagesDeployment argumentsrestorePagesDeployment fieldsName Type Description errors[String!]!Errors encountered during the mutation. pagesDeploymentPagesDeployment!Restored Pages Deployment.
resyncSecurityPoliciesTriggers a resynchronization of security policies linked to the given project or group (full_path).
Input type: ResyncSecurityPoliciesInput
resyncSecurityPolicies argumentsName Type Description Default fullPathString!Full path of the project or group. relationshipRelationshipTypeRelationship of the policies to resync. DIRECT
resyncSecurityPolicies fieldsName Type Description errors[String!]!Errors encountered during the mutation.
runnerAssignToProjectInput type: RunnerAssignToProjectInput
runnerAssignToProject argumentsName Type Description projectPathID!Full path of the project to which the runner will be assigned. runnerIdCiRunnerID!ID of the runner to assign to the project .
runnerAssignToProject fieldsName Type Description errors[String!]!Errors encountered during the mutation.
runnerBulkPauseInput type: RunnerBulkPauseInput
runnerBulkPause argumentsName Type Description ids[CiRunnerID!]!IDs of the runners to pause or unpause. pausedBoolean!Indicates the runner is not allowed to receive jobs.
runnerBulkPause fieldsName Type Description errors[String!]!Errors encountered during the mutation. updatedCountIntNumber of records effectively updated. Only present if operation was performed synchronously. updatedRunners[CiRunner!]Runners after mutation.
runnerCacheClearInput type: RunnerCacheClearInput
runnerCacheClear argumentsName Type Description projectIdProjectID!Global ID of the project that will have its runner cache cleared.
runnerCacheClear fieldsName Type Description errors[String!]!Errors encountered during the mutation.
runnerCreateInput type: RunnerCreateInput
runnerCreate argumentsName Type Description accessLevelCiRunnerAccessLevelAccess level of the runner. descriptionStringDescription of the runner. groupIdGroupIDGlobal ID of the group that the runner is created in (valid only for group runner). lockedBooleanIndicates the runner is locked. maintenanceNoteStringRunner’s maintenance notes. maximumTimeoutIntMaximum timeout (in seconds) for jobs processed by the runner. pausedBooleanIndicates the runner is not allowed to receive jobs. privateProjectsMinutesCostFactorFloatIntroduced as an experiment in GitLab 17.7. Private projects’ “compute cost factor” associated with the runner (GitLab.com only). projectIdProjectIDGlobal ID of the project that the runner is created in (valid only for project runner). publicProjectsMinutesCostFactorFloatIntroduced as an experiment in GitLab 17.7. Public projects’ “compute cost factor” associated with the runner (GitLab.com only). runUntaggedBooleanIndicates the runner is able to run untagged jobs. runnerTypeCiRunnerType!Type of the runner to create. tagList[String!]Tags associated with the runner. tokenExpiresAtTimeToken expiration time (ISO 8601 format). Must be between 5 minutes and 21 days in the future, and cannot exceed instance/group/project limits. tokenRotationDeadlineTimeIntroduced as an experiment in GitLab 18.10. Deadline for token rotation (ISO 8601 format). Requires tokenExpiresAt. Must be <= tokenExpiresAt. Setting both to the same value disables token rotation.
runnerCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. runnerCiRunnerRunner after mutation.
runnerDeleteInput type: RunnerDeleteInput
runnerDelete argumentsName Type Description idCiRunnerID!ID of the runner to delete.
runnerDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation.
runnerUnassignFromProjectInput type: RunnerUnassignFromProjectInput
runnerUnassignFromProject argumentsName Type Description projectPathID!Full path of the project from which the runner will be unassigned. runnerIdCiRunnerID!ID of the runner to unassign from the project.
runnerUnassignFromProject fieldsName Type Description errors[String!]!Errors encountered during the mutation.
runnerUpdateInput type: RunnerUpdateInput
runnerUpdate argumentsName Type Description accessLevelCiRunnerAccessLevelAccess level of the runner. activeBooleanDeprecated in GitLab 14.8. Renamed. Use paused instead. associatedProjects[ProjectID!]Projects associated with the runner. Available only for project runners. descriptionStringDescription of the runner. idCiRunnerID!ID of the runner to update. lockedBooleanIndicates the runner is locked. maintenanceNoteStringRunner’s maintenance notes. maximumTimeoutIntMaximum timeout (in seconds) for jobs processed by the runner. pausedBooleanIndicates the runner is not allowed to receive jobs. privateProjectsMinutesCostFactorFloatIntroduced as an experiment in GitLab 17.7. Private projects’ “compute cost factor” associated with the runner (GitLab.com only). publicProjectsMinutesCostFactorFloatIntroduced as an experiment in GitLab 17.7. Public projects’ “compute cost factor” associated with the runner (GitLab.com only). runUntaggedBooleanIndicates the runner is able to run untagged jobs. tagList[String!]Tags associated with the runner.
runnerUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. runnerCiRunnerRunner after mutation.
runnersExportUsageInput type: RunnersExportUsageInput
runnersExportUsage argumentsName Type Description Default fromDateISO8601DateUTC start date of the period to report on. Defaults to the start of last full month. fullPathIDFilter jobs by the full path of the group or project they belong to. For example, gitlab-org or gitlab-org/gitlab. Available only to administrators and users with the Maintainer role for the group (when a group is specified), or project (when a project is specified). Limited to runners from 5000 child projects. maxProjectCountIntMaximum number of projects to return. All other runner usage will be attributed to an <Other projects> entry. Defaults to 1000 projects. 1000runnerTypeCiRunnerTypeScope of the runners to include in the report. toDateISO8601DateUTC end date of the period to report on. " \ “Defaults to the end of the month specified by fromDate.
runnersExportUsage fieldsName Type Description errors[String!]!Errors encountered during the mutation.
runnersRegistrationTokenResetDeprecated in GitLab 17.7. Underlying feature was deprecated in 15.6 and will be removed in 18.0.
Input type: RunnersRegistrationTokenResetInput
runnersRegistrationTokenReset argumentsName Type Description idIDID of the project or group to reset the token for. Omit if resetting instance runner token. typeCiRunnerType!Scope of the object to reset the token for.
runnersRegistrationTokenReset fieldsName Type Description errors[String!]!Errors encountered during the mutation. tokenStringRunner token after mutation.
safeDisablePipelineVariablesInput type: SafeDisablePipelineVariablesInput
safeDisablePipelineVariables argumentsName Type Description fullPathID!Full path of the group to disable pipeline variables for.
safeDisablePipelineVariables fieldsName Type Description errors[String!]!Errors encountered during the mutation. successBoolean!Indicates whether the migration was successfully enqueued.
savedReplyCreateInput type: SavedReplyCreateInput
savedReplyCreate argumentsName Type Description contentString!Content of the saved reply. nameString!Name of the saved reply.
savedReplyCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. savedReplySavedReplySaved reply after mutation.
savedReplyDestroyInput type: SavedReplyDestroyInput
savedReplyDestroy argumentssavedReplyDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation. savedReplySavedReplySaved reply after mutation.
savedReplyUpdateInput type: SavedReplyUpdateInput
savedReplyUpdate argumentssavedReplyUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. savedReplySavedReplySaved reply after mutation.
scanExecutionPolicyCommitCommits the policy_yaml content to the assigned security policy project for the given project (full_path).
Input type: ScanExecutionPolicyCommitInput
scanExecutionPolicyCommit argumentsName Type Description fullPathStringFull path of the project. nameString!Name of the policy. If the name is null, the name field from policy_yaml is used. operationModeMutationOperationMode!Changes the operation mode. policyYamlString!YAML snippet of the policy. projectPathIDDeprecated in GitLab 14.10. Use fullPath.
scanExecutionPolicyCommit fieldsName Type Description branchStringName of the branch to which the policy changes are committed. errors[String!]!Errors encountered during the mutation. validationErrors[SecurityPolicyValidationError!]Validation errors encountered during execution of the mutation.
secretsManagerEnableAddOnInput type: SecretsManagerEnableAddOnInput
secretsManagerEnableAddOn argumentsName Type Description groupPathID!Full path of the top-level group to enable the Secrets Manager add-on for.
secretsManagerEnableAddOn fieldsName Type Description entitlementSecretsManagerEntitlementSecrets Manager entitlement state after enabling the add-on. Null when enabling failed; see errors for the reason. errors[String!]!Errors encountered during the mutation.
secretsManagerInstanceEnableAddOnInput type: SecretsManagerInstanceEnableAddOnInput
secretsManagerInstanceEnableAddOn fieldsName Type Description entitlementSecretsManagerEntitlementInstance-level Secrets Manager entitlement state after enabling the add-on. Null when enabling failed; see errors for the reason. errors[String!]!Errors encountered during the mutation.
secretsManagerInstanceRefreshEntitlementInput type: SecretsManagerInstanceRefreshEntitlementInput
secretsManagerInstanceRefreshEntitlement fieldsName Type Description entitlementSecretsManagerEntitlementInstance-wide Secrets Manager entitlement state as the subscription service reports it now. Null when refreshing failed; see errors for the reason. errors[String!]!Errors encountered during the mutation.
secretsManagerInstanceStartTrialInput type: SecretsManagerInstanceStartTrialInput
secretsManagerInstanceStartTrial fieldsName Type Description entitlementSecretsManagerEntitlementInstance-wide Secrets Manager entitlement state after starting the trial. Null when the post-trial state cannot be resolved; query secretsManagerInstanceEntitlement instead. errors[String!]!Errors encountered during the mutation.
secretsManagerRefreshEntitlementInput type: SecretsManagerRefreshEntitlementInput
secretsManagerRefreshEntitlement argumentsName Type Description groupPathID!Full path of the top-level group to refresh the Secrets Manager entitlement for.
secretsManagerRefreshEntitlement fieldsName Type Description entitlementSecretsManagerEntitlementSecrets Manager entitlement state as the subscription service reports it now. Null when the subscription service could not be reached; see errors. errors[String!]!Errors encountered during the mutation.
secretsManagerStartTrialInput type: SecretsManagerStartTrialInput
secretsManagerStartTrial argumentsName Type Description groupPathID!Full path of the top-level group to start a Secrets Manager trial for.
secretsManagerStartTrial fieldsName Type Description entitlementSecretsManagerEntitlementSecrets Manager entitlement state after starting the trial. Null when the post-trial state cannot be resolved; query the group entitlement directly instead. errors[String!]!Errors encountered during the mutation.
securityAttributeCreateInput type: SecurityAttributeCreateInput
securityAttributeCreate argumentssecurityAttributeCreate fieldssecurityAttributeDestroyInput type: SecurityAttributeDestroyInput
securityAttributeDestroy argumentssecurityAttributeDestroy fieldsName Type Description deletedAttributeGidSecurityAttributeIDGlobal ID of the destroyed security attribute. errors[String!]!Errors encountered during the mutation.
securityAttributeProjectUpdateInput type: SecurityAttributeProjectUpdateInput
securityAttributeProjectUpdate argumentssecurityAttributeProjectUpdate fieldsName Type Description addedCountIntNumber of attributes added. errors[String!]!Errors encountered during the mutation. projectProjectUpdated project. removedCountIntNumber of attributes removed.
securityAttributeUpdateInput type: SecurityAttributeUpdateInput
securityAttributeUpdate argumentsName Type Description colorColorColor of the security attribute. descriptionStringDescription of the security attribute. idSecurityAttributeID!Global ID of the security attribute. nameStringName of the security attribute.
securityAttributeUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. securityAttributeSecurityAttributeUpdated security attribute.
securityCategoryCreateInput type: SecurityCategoryCreateInput
securityCategoryCreate argumentsName Type Description descriptionStringDescription of the security category. multipleSelectionBooleanWhether multiple attributes can be selected. nameString!Name of the security category. namespaceIdNamespaceID!Global ID of the category namespace.
securityCategoryCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. securityCategorySecurityCategoryCreated security category.
securityCategoryDestroyInput type: SecurityCategoryDestroyInput
securityCategoryDestroy argumentssecurityCategoryDestroy fieldssecurityCategoryUpdateInput type: SecurityCategoryUpdateInput
securityCategoryUpdate argumentsName Type Description descriptionStringDescription of the security category. idSecurityCategoryID!Global ID of the security category. nameStringName of the security category. namespaceIdNamespaceID!Global ID of the category namespace.
securityCategoryUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. securityCategorySecurityCategoryUpdated security category.
securityFindingCreateIssueInput type: SecurityFindingCreateIssueInput
securityFindingCreateIssue argumentsName Type Description projectProjectID!ID of the project to attach the issue to. uuidString!UUID of the security finding to be used to create an issue.
securityFindingCreateIssue fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue created after mutation.
securityFindingCreateMergeRequestInput type: SecurityFindingCreateMergeRequestInput
securityFindingCreateMergeRequest argumentsName Type Description uuidString!UUID of the security finding to be used to create a merge request.
securityFindingCreateMergeRequest fieldsName Type Description errors[String!]!Errors encountered during the mutation. mergeRequestMergeRequestMerge Request created after mutation.
securityFindingCreateVulnerabilityInput type: SecurityFindingCreateVulnerabilityInput
securityFindingCreateVulnerability argumentsName Type Description uuidString!UUID of the security finding to be used to create a vulnerability.
securityFindingCreateVulnerability fieldsName Type Description errors[String!]!Errors encountered during the mutation. vulnerabilityVulnerabilityVulnerability created after mutation.
securityFindingDismissInput type: SecurityFindingDismissInput
securityFindingDismiss argumentssecurityFindingDismiss fieldssecurityFindingExternalIssueLinkCreateInput type: SecurityFindingExternalIssueLinkCreateInput
securityFindingExternalIssueLinkCreate argumentssecurityFindingExternalIssueLinkCreate fieldsInput type: SecurityFindingJiraIssueFormUrlCreateInput
Name Type Description projectProjectID!ID of the project to attach the issue to. uuidString!UUID of the security finding to be used to create an issue.
Name Type Description errors[String!]!Errors encountered during the mutation. jiraIssueFormUrlStringURL to Jira issue creation form with pre-filled vulnerability data.
securityFindingRevertToDetectedInput type: SecurityFindingRevertToDetectedInput
securityFindingRevertToDetected argumentsName Type Description commentStringComment that explains why finding was reverted to detected status. uuidString!UUID of the finding to be dismissed.
securityFindingRevertToDetected fieldssecurityFindingSeverityOverrideInput type: SecurityFindingSeverityOverrideInput
securityFindingSeverityOverride argumentssecurityFindingSeverityOverride fieldssecurityPolicyProjectAssignAssigns the specified project(security_policy_project_id) as security policy project for the given project(full_path). If the project already has a security policy project, this reassigns the project’s security policy project with the given security_policy_project_id.
Input type: SecurityPolicyProjectAssignInput
securityPolicyProjectAssign argumentsName Type Description fullPathStringFull path of the project or group. projectPathIDDeprecated in GitLab 14.10. Use fullPath. securityPolicyProjectIdProjectID!ID of the security policy project.
securityPolicyProjectAssign fieldsName Type Description errors[String!]!Errors encountered during the mutation.
securityPolicyProjectCreateCreates and assigns a security policy project for the given project or group (full_path).
Input type: SecurityPolicyProjectCreateInput
securityPolicyProjectCreate argumentsName Type Description fullPathStringFull path of the project or group. projectPathIDDeprecated in GitLab 14.10. Use fullPath.
securityPolicyProjectCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. projectProjectSecurity Policy Project that was created.
securityPolicyProjectCreateAsyncCreates and assigns a security policy project for the given project or group (full_path) async.
Input type: SecurityPolicyProjectCreateAsyncInput
securityPolicyProjectCreateAsync argumentsName Type Description fullPathString!Full path of the project or group.
securityPolicyProjectCreateAsync fieldsName Type Description errors[String!]!Errors encountered during the mutation.
securityPolicyProjectUnassignUnassigns the security policy project for the given project (full_path).
Input type: SecurityPolicyProjectUnassignInput
securityPolicyProjectUnassign argumentsName Type Description fullPathStringFull path of the project or group. projectPathIDDeprecated in GitLab 14.10. Use fullPath.
securityPolicyProjectUnassign fieldsName Type Description errors[String!]!Errors encountered during the mutation.
securityRefsTrackInput type: SecurityRefsTrackInput
securityRefsTrack argumentssecurityRefsTrack fieldssecurityRefsUntrackInput type: SecurityRefsUntrackInput
securityRefsUntrack argumentssecurityRefsUntrack fieldsName Type Description errors[String!]!Errors encountered during the mutation. untrackedRefIds[ID!]Global IDs of refs that were successfully untracked.
securityScanProfileAttachInput type: SecurityScanProfileAttachInput
securityScanProfileAttach argumentssecurityScanProfileAttach fieldsName Type Description errors[String!]!Errors encountered during the mutation.
securityScanProfileCreateInput type: SecurityScanProfileCreateInput
securityScanProfileCreate argumentsName Type Description Default descriptionString!Description of the scan profile. nameString!Name of the scan profile. namespaceIdNamespaceID!Global ID of the top level namespace to create the scan profile for. scanTypeSecurityScanProfileType!Type of the scan profile. stripDefaultsBooleanWhen true, trigger configuration values equal to the defaults are removed before storage so only overrides are persisted. When false, the configuration is stored as provided, ignoring defaults. truetriggers[SecurityScanProfileTriggerInput!]!Triggers with optional configuration for the scan profile. At least one is required.
securityScanProfileCreate fieldssecurityScanProfileDeleteInput type: SecurityScanProfileDeleteInput
securityScanProfileDelete argumentssecurityScanProfileDelete fieldssecurityScanProfileDetachInput type: SecurityScanProfileDetachInput
securityScanProfileDetach argumentsName Type Description Default groupIds[GroupID!]Group IDs to detach the profile from. []projectIds[ProjectID!]Project IDs to detach the profile from. []securityScanProfileIdSecurityScanProfileID!Security scan profile ID to detach.
securityScanProfileDetach fieldsName Type Description errors[String!]!Errors encountered during the mutation.
securityScanProfileUpdateInput type: SecurityScanProfileUpdateInput
securityScanProfileUpdate argumentsName Type Description Default descriptionStringDescription of the scan profile. idSecurityScanProfileID!Global ID of the scan profile to update. nameStringName of the scan profile. stripDefaultsBooleanWhen true, trigger configuration values equal to the defaults are removed before storage so only overrides are persisted. When false, the configuration is stored as provided, ignoring defaults. truetriggers[SecurityScanProfileTriggerInput!]Complete set of triggers with optional configuration for the scan profile. When provided, triggers omitted from the list are removed, and a trigger sent without a configuration has its existing configuration removed.
securityScanProfileUpdate fieldssecurityTrainingUpdateInput type: SecurityTrainingUpdateInput
securityTrainingUpdate argumentsName Type Description isEnabledBoolean!Sets the training provider as enabled for the project. isPrimaryBooleanSets the training provider as primary for the project. projectPathID!Full path of the project. providerIdSecurityTrainingProviderID!ID of the provider.
securityTrainingUpdate fieldssetContainerScanningForRegistryEnable/disable container scanning for registry for the given project.
Input type: SetContainerScanningForRegistryInput
setContainerScanningForRegistry argumentsName Type Description enableBoolean!Desired status for container scanning for registry feature. namespacePathID!Full path of the namespace (project).
setContainerScanningForRegistry fieldsName Type Description containerScanningForRegistryEnabledBooleanWhether the feature is enabled. errors[String!]!Errors encountered during the mutation.
setCvsForContainerScanningEnable or disable continuous vulnerability scanning for container scanning for the given project.
Input type: SetCvsForContainerScanningInput
setCvsForContainerScanning argumentsName Type Description enableBoolean!Desired status for CVS for container scanning. projectPathID!Full path of the project.
setCvsForContainerScanning fieldsName Type Description cvsForContainerScanningEnabledBooleanWhether CVS for container scanning is enabled. errors[String!]!Errors encountered during the mutation.
setCvsForDependencyScanningEnable or disable continuous vulnerability scanning for dependency scanning for the given project.
Input type: SetCvsForDependencyScanningInput
setCvsForDependencyScanning argumentsName Type Description enableBoolean!Desired status for CVS for dependency scanning. projectPathID!Full path of the project.
setCvsForDependencyScanning fieldsName Type Description cvsForDependencyScanningEnabledBooleanWhether CVS for dependency scanning is enabled. errors[String!]!Errors encountered during the mutation.
setGroupCustomAttributeCreates or updates a custom attribute on a group. Only available to admins.
Input type: SetGroupCustomAttributeInput
setGroupCustomAttribute argumentsName Type Description groupPathID!Full path of the group. keyString!Key of the custom attribute. valueString!Value of the custom attribute.
setGroupCustomAttribute fieldsName Type Description customAttributeCustomAttributeCustom attribute after mutation. errors[String!]!Errors encountered during the mutation.
setGroupSecretPushProtectionEnable or disable secret push protection for a group.
Input type: SetGroupSecretPushProtectionInput
setGroupSecretPushProtection argumentsName Type Description namespacePathID!Full path of the group. projectsToExclude[Int!]IDs of projects to exclude from the feature. secretPushProtectionEnabledBoolean!Whether to enable the feature.
setGroupSecretPushProtection fieldsName Type Description errors[String!]!Errors encountered during the mutation.
setGroupValidityChecksEnable or disable Validity Checks for a group.
Input type: SetGroupValidityChecksInput
setGroupValidityChecks argumentsName Type Description namespacePathID!Full path of the group. projectsToExclude[Int!]IDs of projects to exclude from validity checks configuration. validityChecksEnabledBoolean!Whether to enable validity checks for all projects in the group.
setGroupValidityChecks fieldsName Type Description errors[String!]!Errors encountered during the mutation. validityChecksEnabledBoolean!Indicates whether validity checks have been enabled for the group.
setLicenseConfigurationSourceSet the license information source for a given project.
Input type: SetLicenseConfigurationSourceInput
setLicenseConfigurationSource argumentssetLicenseConfigurationSource fieldssetLicenseScanningForCyclonedxEnable/disable license scanning for CycloneDX SBOM files for the given project.
Input type: SetLicenseScanningForCyclonedxInput
setLicenseScanningForCyclonedx argumentsName Type Description enableBoolean!Desired status for license scanning for CycloneDX files. projectPathID!Full path of the project.
setLicenseScanningForCyclonedx fieldsName Type Description errors[String!]!Errors encountered during the mutation. licenseScanningForCyclonedxEnabledBooleanWhether license scanning for CycloneDX files is enabled.
setPagesForceHttpsInput type: SetPagesForceHttpsInput
setPagesForceHttps argumentsName Type Description projectPathID!Path of the project to set the pages force HTTPS. valueBoolean!Indicates user wants to enforce HTTPS on their pages.
setPagesForceHttps fieldsName Type Description errors[String!]!Errors encountered during the mutation. projectProjectProject that was updated.
setPagesUseUniqueDomainInput type: SetPagesUseUniqueDomainInput
setPagesUseUniqueDomain argumentsName Type Description projectPathID!Path of the project to set the pages to use unique domains. valueBoolean!Indicates user wants to use unique subdomains for their pages.
setPagesUseUniqueDomain fieldsName Type Description errors[String!]!Errors encountered during the mutation. projectProjectProject that was updated.
setPreReceiveSecretDetectionEnable/disable secret push protection for the given project.
Input type: SetPreReceiveSecretDetectionInput
setPreReceiveSecretDetection argumentsName Type Description enableBoolean!Desired status for secret push protection feature. namespacePathID!Full path of the namespace (project).
setPreReceiveSecretDetection fieldsName Type Description errors[String!]!Errors encountered during the mutation. preReceiveSecretDetectionEnabledBooleanWhether the feature is enabled. secretPushProtectionEnabledBooleanWhether the feature is enabled.
setSecretPushProtectionEnable/disable secret push protection for the given project.
Input type: SetSecretPushProtectionInput
setSecretPushProtection argumentsName Type Description enableBoolean!Desired status for secret push protection feature. namespacePathID!Full path of the namespace (project).
setSecretPushProtection fieldsName Type Description errors[String!]!Errors encountered during the mutation. preReceiveSecretDetectionEnabledBooleanWhether the feature is enabled. secretPushProtectionEnabledBooleanWhether the feature is enabled.
setValidityChecksEnable/disable secret detection validity checks for the given project.
Input type: SetValidityChecksInput
setValidityChecks argumentsName Type Description enableBoolean!Desired status for validity checks feature. namespacePathID!Full path of the namespace (project).
setValidityChecks fieldsName Type Description errors[String!]!Errors encountered during the mutation. validityChecksEnabledBooleanWhether the feature is enabled.
starProjectInput type: StarProjectInput
starProject argumentsName Type Description projectIdProjectID!Full path of the project to star or unstar. starredBoolean!Indicates whether to star or unstar the project.
starProject fieldsName Type Description countString!Number of stars for the project. errors[String!]!Errors encountered during the mutation.
startVulnerabilityWorkflowCreates and starts a vulnerability workflow execution.
Input type: StartVulnerabilityWorkflowInput
startVulnerabilityWorkflow argumentsstartVulnerabilityWorkflow fieldstagCreateCreates a tag in a project repository.
Rate limited per project by the tags_create_limit application setting.
Input type: TagCreateInput
tagCreate argumentsName Type Description Default messageStringTagging message. ""nameString!Name of the tag. projectPathID!Project full path the branch is associated with. refString!Tag name or commit SHA to create tag from.
tagCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. tagTagTag after mutation.
tagDeleteInput type: TagDeleteInput
tagDelete argumentsName Type Description nameString!Name of the tag. projectPathID!Project full path the branch is associated with.
tagDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. tagTagTag after mutation.
Input type: TerraformStateDeleteInput
Name Type Description errors[String!]!Errors encountered during the mutation.
Input type: TerraformStateLockInput
Name Type Description errors[String!]!Errors encountered during the mutation.
Restores a soft-deleted Terraform state. The state is not restored when terraform_state_delayed_deletion is disabled.
Input type: TerraformStateRestoreInput
Name Type Description errors[String!]!Errors encountered during restore. terraformStateTerraformStateTerraform state after restore.
Input type: TerraformStateUnlockInput
Name Type Description errors[String!]!Errors encountered during the mutation.
timelineEventCreateInput type: TimelineEventCreateInput
timelineEventCreate argumentsName Type Description incidentIdIssueID!Incident ID of the timeline event. noteString!Text note of the timeline event. occurredAtTime!Timestamp of when the event occurred. timelineEventTagNames[String!]Tags for the incident timeline event.
timelineEventCreate fieldstimelineEventDestroyInput type: TimelineEventDestroyInput
timelineEventDestroy argumentstimelineEventDestroy fieldsInput type: TimelineEventPromoteFromNoteInput
Name Type Description noteIdNoteID!Note ID from which the timeline event promoted.
timelineEventTagCreateInput type: TimelineEventTagCreateInput
timelineEventTagCreate argumentsName Type Description nameString!Name of the tag. projectPathID!Project to create the timeline event tag in.
timelineEventTagCreate fieldstimelineEventUpdateInput type: TimelineEventUpdateInput
timelineEventUpdate argumentstimelineEventUpdate fieldstimelogCreateInput type: TimelogCreateInput
timelogCreate argumentsName Type Description issuableIdIssuableID!Global ID of the issuable (Issue, WorkItem or MergeRequest). spentAtTimeTimestamp of when the time was spent. If empty, defaults to current time. summaryString!Summary of time spent. timeSpentString!Amount of time spent.
timelogCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. timelogTimelogTimelog.
timelogDeleteInput type: TimelogDeleteInput
timelogDelete argumentsName Type Description idTimelogID!Global ID of the timelog.
timelogDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. timelogTimelogTimelog.
todoCreateInput type: TodoCreateInput
todoCreate argumentsName Type Description noteIdNoteIDIntroduced as an experiment in GitLab 19.5. Global ID of a comment on the target to associate with the to-do item. Ignored when the todo_for_comment feature flag is disabled. targetIdTodoableID!Global ID of the to-do item’s parent. Issues, merge requests, designs, and epics are supported.
todoCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. todoTodoTo-do item created.
todoDeleteAllDoneInput type: TodoDeleteAllDoneInput
todoDeleteAllDone argumentsName Type Description updatedBeforeTimeTo-do items marked as done before the timestamp will be deleted.
todoDeleteAllDone fieldsName Type Description errors[String!]!Errors encountered during the mutation.
todoDeleteManyInput type: TodoDeleteManyInput
todoDeleteMany argumentsName Type Description ids[TodoID!]!Global IDs of the to-do items to process (a maximum of 100 is supported at once).
todoDeleteMany fieldsName Type Description errors[String!]!Errors encountered during the mutation.
todoMarkDoneInput type: TodoMarkDoneInput
todoMarkDone argumentsName Type Description idTodoID!Global ID of the to-do item to mark as done.
todoMarkDone fieldsName Type Description errors[String!]!Errors encountered during the mutation. todoTodo!Requested to-do item.
todoResolveManyInput type: TodoResolveManyInput
todoResolveMany argumentsName Type Description ids[TodoID!]!Global IDs of the to-do items to process (a maximum of 100 is supported at once).
todoResolveMany fieldsName Type Description errors[String!]!Errors encountered during the mutation. todos[Todo!]!Resolved to-do items.
todoRestoreInput type: TodoRestoreInput
todoRestore argumentsName Type Description idTodoID!Global ID of the to-do item to restore.
todoRestore fieldsName Type Description errors[String!]!Errors encountered during the mutation. todoTodo!Requested to-do item.
todoRestoreManyInput type: TodoRestoreManyInput
todoRestoreMany argumentsName Type Description ids[TodoID!]!Global IDs of the to-do items to process (a maximum of 100 is supported at once).
todoRestoreMany fieldsName Type Description errors[String!]!Errors encountered during the mutation. todos[Todo!]!Restored to-do items.
todoSnoozeInput type: TodoSnoozeInput
todoSnooze argumentsName Type Description idTodoID!Global ID of the to-do item to be snoozed. snoozeUntilTime!Time until which the todo should be snoozed.
todoSnooze fieldsName Type Description errors[String!]!Errors encountered during the mutation. todoTodo!Requested to-do item.
todoSnoozeManyInput type: TodoSnoozeManyInput
todoSnoozeMany argumentsName Type Description ids[TodoID!]!Global IDs of the to-do items to process (a maximum of 100 is supported at once). snoozeUntilTime!Time until which the todos should be snoozed.
todoSnoozeMany fieldsName Type Description errors[String!]!Errors encountered during the mutation. todos[Todo!]!Snoozed to-do items.
todoUnSnoozeInput type: TodoUnSnoozeInput
todoUnSnooze argumentsName Type Description idTodoID!Global ID of the to-do item to be snoozed.
todoUnSnooze fieldsName Type Description errors[String!]!Errors encountered during the mutation. todoTodo!Requested to-do item.
todoUnsnoozeManyInput type: TodoUnsnoozeManyInput
todoUnsnoozeMany argumentsName Type Description ids[TodoID!]!Global IDs of the to-do items to process (a maximum of 100 is supported at once).
todoUnsnoozeMany fieldsName Type Description errors[String!]!Errors encountered during the mutation. todos[Todo!]!Unsnoozed to-do items.
todosMarkAllDoneInput type: TodosMarkAllDoneInput
todosMarkAllDone argumentsName Type Description action[TodoActionEnum!]Action to be filtered. authorId[ID!]ID of an author. groupId[ID!]ID of a group. projectId[ID!]ID of a project. targetIdTodoableIDGlobal ID of the to-do item’s parent. Issues, merge requests, designs, and epics are supported. If argument is omitted, all pending to-do items of the current user are marked as done. type[TodoTargetEnum!]Type of the todo.
todosMarkAllDone fieldsName Type Description errors[String!]!Errors encountered during the mutation. todos[Todo!]!Updated to-do items.
unlinkProjectComplianceViolationIssueInput type: UnlinkProjectComplianceViolationIssueInput
unlinkProjectComplianceViolationIssue argumentsunlinkProjectComplianceViolationIssue fieldsUpdates the permission settings for an AI tool rule.
Input type: UpdateAiToolRuleInput
Name Type Description backgroundAccessAiBackgroundToolPermissionIntroduced as an experiment in GitLab 19.3. Permission mode for the background-flow surface. fullPathID!Full path of the root namespace to update the tool rule for. localAccessAiToolPermissionPermission mode for local or IDE surface. projectPathIDFull path of the project to update the tool rule for. When provided, creates a project-level rule that can only be stricter than the namespace rule. toolIdString!Tool name string identifying the tool to update. For example, “create_issue”. unsetAccessTypes[AiToolAccessType!]Introduced as an experiment in GitLab 19.5. Access types to clear so they fall back to their defaults. The rule is deleted when every access type is unset. webAccessAiToolPermissionPermission mode for web surface.
Name Type Description errors[String!]!Errors encountered during the mutation. toolRuleAiToolRuleUpdated tool rule after mutation.
updateAlertStatusInput type: UpdateAlertStatusInput
updateAlertStatus argumentsupdateAlertStatus fieldsupdateBoardInput type: UpdateBoardInput
updateBoard argumentsName Type Description assigneeIdUserIDID of user to be assigned to the board. hideBacklogListBooleanWhether or not backlog list is hidden. hideClosedListBooleanWhether or not closed list is hidden. idBoardID!Board global ID. iterationCadenceIdIterationsCadenceIDID of iteration cadence to be assigned to the board. iterationIdIterationIDID of iteration to be assigned to the board. labelIds[LabelID!]IDs of labels to be added to the board. labels[String!]Labels of the issue. milestoneIdMilestoneIDID of milestone to be assigned to the board. nameStringBoard name. weightIntWeight value to be assigned to the board.
updateBoard fieldsName Type Description boardBoardBoard after mutation. errors[String!]!Errors encountered during the mutation.
updateBoardEpicUserPreferencesDeprecated in GitLab 17.5. Replaced by WorkItem type.
Input type: UpdateBoardEpicUserPreferencesInput
updateBoardEpicUserPreferences argumentsName Type Description boardIdBoardID!Board global ID. collapsedBoolean!Whether the epic should be collapsed in the board. epicIdEpicID!ID of an epic to set preferences for.
updateBoardEpicUserPreferences fieldsName Type Description epicUserPreferencesBoardEpicUserPreferencesUser preferences for the epic in the board after mutation. errors[String!]!Errors encountered during the mutation.
updateBoardListInput type: UpdateBoardListInput
updateBoardList argumentsName Type Description collapsedBooleanIndicates if the list is collapsed for the user. listIdListID!Global ID of the list. positionIntPosition of list within the board.
updateBoardList fieldsName Type Description errors[String!]!Errors encountered during the mutation. listBoardListMutated list.
updateComplianceFrameworkInput type: UpdateComplianceFrameworkInput
updateComplianceFramework argumentsupdateComplianceFramework fieldsName Type Description complianceFrameworkComplianceFrameworkCompliance framework after mutation. errors[String!]!Errors encountered during the mutation.
updateComplianceRequirementInput type: UpdateComplianceRequirementInput
updateComplianceRequirement argumentsupdateComplianceRequirement fieldsupdateComplianceRequirementsControlInput type: UpdateComplianceRequirementsControlInput
updateComplianceRequirementsControl argumentsupdateComplianceRequirementsControl fieldsupdateContainerExpirationPolicyInput type: UpdateContainerExpirationPolicyInput
updateContainerExpirationPolicy argumentsupdateContainerExpirationPolicy fieldsupdateContainerProtectionRepositoryRuleUpdates a container repository protection rule that controls who can modify container images based on user roles.
Input type: UpdateContainerProtectionRepositoryRuleInput
updateContainerProtectionRepositoryRule argumentsName Type Description idContainerRegistryProtectionRuleID!Global ID of the container repository protection rule to be updated. minimumAccessLevelForDeleteContainerProtectionRepositoryRuleAccessLevelIntroduced as an experiment in GitLab 17.11. Minimum GitLab access level required to delete container images from the container repository. Valid values include MAINTAINER, OWNER, or ADMIN. If the value is nil, the default minimum access level is DEVELOPER. Valid only when feature flag container_registry_protected_containers_delete is enabled. minimumAccessLevelForPushContainerProtectionRepositoryRuleAccessLevelMinimum GitLab access level required to push container images to the container repository. Valid values include MAINTAINER, OWNER, or ADMIN. If the value is nil, the default minimum access level is DEVELOPER. repositoryPathPatternStringContainer repository path pattern protected by the protection rule. Must start with the project’s full path. For example: my-project/*-prod-*. Wildcard character * is allowed anywhere after the project’s full path.
updateContainerProtectionRepositoryRule fieldsupdateContainerProtectionTagRuleUpdates a protection rule that controls which user roles can modify container image tags matching a specified pattern.
Input type: UpdateContainerProtectionTagRuleInput
updateContainerProtectionTagRule argumentsName Type Description idContainerRegistryProtectionTagRuleID!Global ID of the tag protection rule to update. minimumAccessLevelForDeleteContainerProtectionTagRuleAccessLevelMinimum GitLab access level required to delete container image tags from the container repository. Valid values include MAINTAINER, OWNER, or ADMIN. If the value is nil, no access level can delete tags. minimumAccessLevelForPushContainerProtectionTagRuleAccessLevelMinimum GitLab access level required to push container image tags to the container repository. Valid values include MAINTAINER, OWNER, or ADMIN. If the value is nil, no access level can push tags. tagNamePatternStringThe pattern that matches container image tags to protect. For example, v1.*. Wildcard character * allowed.
updateContainerProtectionTagRule fieldsName Type Description containerProtectionTagRuleContainerProtectionTagRuleProtection rule for container image tags after creation. errors[String!]!Errors encountered during the mutation.
updateCustomDashboardUpdates a custom dashboard.
Input type: UpdateCustomDashboardInput
updateCustomDashboard argumentsupdateCustomDashboard fieldsupdateDependencyProxyImageTtlGroupPolicyThese settings can be adjusted only by the group Owner.
Input type: UpdateDependencyProxyImageTtlGroupPolicyInput
updateDependencyProxyImageTtlGroupPolicy argumentsName Type Description enabledBooleanIndicates whether the policy is enabled or disabled. groupPathID!Group path for the group dependency proxy image TTL policy. ttlIntNumber of days to retain a cached image file.
updateDependencyProxyImageTtlGroupPolicy fieldsupdateDependencyProxyPackagesSettingsUpdates or creates dependency proxy for packages settings.
Requires the packages and dependency proxy to be enabled in the config.
Requires the packages feature to be enabled at the project level.
Input type: UpdateDependencyProxyPackagesSettingsInput
updateDependencyProxyPackagesSettings argumentsName Type Description enabledBooleanIndicates whether the dependency proxy for packages is enabled for the project. mavenExternalRegistryPasswordStringPassword for the external Maven packages registry. Introduced in 16.5: This feature is an Experiment. It can be changed or removed at any time. mavenExternalRegistryUrlStringURL for the external Maven packages registry. mavenExternalRegistryUsernameStringUsername for the external Maven packages registry. projectPathID!Project path for the dependency proxy for packages settings.
updateDependencyProxyPackagesSettings fieldsupdateDependencyProxySettingsThese settings can be adjusted only by the group Owner.
Input type: UpdateDependencyProxySettingsInput
updateDependencyProxySettings argumentsName Type Description enabledBooleanIndicates whether the policy is enabled or disabled. groupPathID!Group path for the group dependency proxy. identityStringIdentity credential used to authenticate with Docker Hub when pulling images. Can be a username (for password or personal access token (PAT)) or organization name (for organization access token (OAT)). secretStringSecret credential used to authenticate with Docker Hub when pulling images. Can be a password, personal access token (PAT), or organization access token (OAT).
updateDependencyProxySettings fieldsName Type Description dependencyProxySettingDependencyProxySettingGroup dependency proxy settings after mutation. errors[String!]!Errors encountered during the mutation.
updateDuoWorkflowAgentPrivilegesInput type: UpdateDuoWorkflowAgentPrivilegesInput
updateDuoWorkflowAgentPrivileges argumentsName Type Description agentPrivileges[Int!]Replaces the set of actions the agent is allowed to perform. preApprovedAgentPrivileges[Int!]Replaces the set of actions the agent can perform without asking for approval. workflowIdAiDuoWorkflowsWorkflowID!Global ID of the workflow to update.
updateDuoWorkflowAgentPrivileges fieldsInput type: UpdateDuoWorkflowToolCallApprovalsInput
Name Type Description errors[String!]!Errors encountered during update. workflowDuoWorkflowUpdated workflow with new tool approvals.
updateDuoWorkflowWebSearchInput type: UpdateDuoWorkflowWebSearchInput
updateDuoWorkflowWebSearch argumentsName Type Description webSearchEnabledBoolean!Whether web search should be enabled for the session. workflowIdAiDuoWorkflowsWorkflowID!Global ID of the workflow to update.
updateDuoWorkflowWebSearch fieldsupdateEpicDeprecated in GitLab 17.5. Replaced by WorkItem type. For more information, see migration guide .
Input type: UpdateEpicInput
updateEpic argumentsName Type Description addLabelIds[ID!]IDs of labels to be added to the epic. addLabels[String!]Array of labels to be added to the epic. colorColorColor of the epic. confidentialBooleanIndicates if the epic is confidential. descriptionStringDescription of the epic. dueDateFixedStringEnd date of the epic. dueDateIsFixedBooleanIndicates end date should be sourced from due_date_fixed field not the issue milestones. groupPathID!Group the epic to mutate is in. iidID!IID of the epic to mutate. removeLabelIds[ID!]IDs of labels to be removed from the epic. removeLabels[String!]Array of labels to be removed from the epic. startDateFixedStringStart date of the epic. startDateIsFixedBooleanIndicates start date should be sourced from start_date_fixed field not the issue milestones. stateEventEpicStateEventState event for the epic. titleStringTitle of the epic.
updateEpic fieldsName Type Description epicEpicEpic after mutation. errors[String!]!Errors encountered during the mutation.
updateEpicBoardListDeprecated in GitLab 17.5. Replaced by WorkItem type.
Input type: UpdateEpicBoardListInput
updateEpicBoardList argumentsName Type Description collapsedBooleanIndicates if the list is collapsed for the user. listIdBoardsEpicListID!Global ID of the epic list. positionIntPosition of list within the board.
updateEpicBoardList fieldsName Type Description errors[String!]!Errors encountered during the mutation. listEpicListMutated epic list.
updateImageDiffNoteUpdates a DiffNote on an image (a Note where the position.positionType is "image").
If the body of the Note contains only quick actions,
the Note will be destroyed during an update, and no Note will be
returned.
Input type: UpdateImageDiffNoteInput
updateImageDiffNote argumentsupdateImageDiffNote fieldsName Type Description errors[String!]!Errors encountered during the mutation. noteNoteNote after mutation. quickActionsStatusQuickActionsStatusStatus of quick actions after mutation.
updateIssueInput type: UpdateIssueInput
updateIssue argumentsName Type Description addLabelIds[ID!]IDs of labels to be added to the issue. confidentialBooleanIndicates the issue is confidential. descriptionStringDescription of the issue. dueDateISO8601DateDue date of the issue. epicIdEpicIDDeprecated in GitLab 17.5. This will be replaced by WorkItem hierarchyWidget. healthStatusHealthStatusDesired health status. iidString!IID of the issue to mutate. labelIds[ID!]IDs of labels to be set. Replaces existing issue labels. lockedBooleanIndicates discussion is locked on the issue. milestoneIdIDID of the milestone to assign to the issue. Accepts either a global ID, for example "gid://gitlab/Milestone/42", or a numeric ID, for example "42". On update milestone will be removed if set to null. projectPathID!Project the issue to mutate is in. removeLabelIds[ID!]IDs of labels to be removed from the issue. stateEventIssueStateEventClose or reopen an issue. timeEstimateStringEstimated time to complete the issue. Use null or 0 to remove the current estimate. titleStringTitle of the issue. typeIssueTypeType of the issue. weightIntWeight of the issue.
updateIssue fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue after mutation.
updateIterationInput type: UpdateIterationInput
updateIteration argumentsName Type Description descriptionStringDescription of the iteration. dueDateStringEnd date of the iteration. groupPathID!Group of the iteration. idID!Global ID of the iteration. startDateStringStart date of the iteration. titleStringTitle of the iteration.
updateIteration fieldsName Type Description errors[String!]!Errors encountered during the mutation. iterationIterationUpdated iteration.
updateNamespacePackageSettingsThese settings can be adjusted only by the group Owner.
Input type: UpdateNamespacePackageSettingsInput
updateNamespacePackageSettings argumentsName Type Description auditEventsEnabledBooleanIndicates whether audit events are created when publishing or deleting a package in the namespace (Premium and Ultimate only). genericDuplicateExceptionRegexUntrustedRegexpWhen generic_duplicates_allowed is false, you can publish duplicate packages with names or versions that match this regex. When generic_duplicates_allowed is true, duplicate packages with names or versions that match this regex are rejected. genericDuplicatesAllowedBooleanIndicates whether duplicate generic packages are allowed for the namespace. lockMavenPackageRequestsForwardingBooleanIndicates whether Maven package forwarding is locked for all descendent namespaces. lockNpmPackageRequestsForwardingBooleanIndicates whether npm package forwarding is locked for all descendent namespaces. lockPypiPackageRequestsForwardingBooleanIndicates whether PyPI package forwarding is locked for all descendent namespaces. lockRubygemsPackageRequestsForwardingBooleanIndicates whether RubyGems package forwarding is locked for all descendent namespaces. mavenDuplicateExceptionRegexUntrustedRegexpWhen maven_duplicates_allowed is false, you can publish duplicate packages with names or versions that match this regex. When maven_duplicates_allowed is true, duplicate packages with names or versions that match this regex are rejected. mavenDuplicatesAllowedBooleanIndicates whether duplicate Maven packages are allowed for the namespace. mavenPackageRequestsForwardingBooleanIndicates whether Maven package forwarding is allowed for the namespace. namespacePathID!Namespace path where the namespace package setting is located. npmPackageRequestsForwardingBooleanIndicates whether npm package forwarding is allowed for the namespace. nugetDuplicateExceptionRegexUntrustedRegexpWhen nuget_duplicates_allowed is false, you can publish duplicate packages with names or versions that match this regex. When nuget_duplicates_allowed is true, duplicate packages with names or versions that match this regex are rejected. nugetDuplicatesAllowedBooleanIndicates whether duplicate NuGet packages are allowed for the namespace. nugetSymbolServerEnabledBooleanIndicates whether the NuGet symbol server is enabled for the namespace. pypiPackageRequestsForwardingBooleanIndicates whether PyPI package forwarding is allowed for the namespace. rubygemsPackageRequestsForwardingBooleanIndicates whether RubyGems package forwarding is allowed for the namespace. terraformModuleDuplicateExceptionRegexUntrustedRegexpWhen terraform_module_duplicates_allowed is false, you can publish duplicate packages with names that match this regex. When terraform_module_duplicates_allowed is true, duplicate packages with names that match this regex are rejected. terraformModuleDuplicatesAllowedBooleanIndicates whether duplicate Terraform packages are allowed for the namespace.
updateNamespacePackageSettings fieldsName Type Description errors[String!]!Errors encountered during the mutation. packageSettingsPackageSettingsNamespace package setting after mutation.
updateNoteUpdates a Note.
If the body of the Note contains only quick actions,
the Note will be destroyed during an update, and no Note will be
returned.
Input type: UpdateNoteInput
updateNote argumentsName Type Description bodyStringContent of the note. idNoteID!Global ID of the note to update.
updateNote fieldsName Type Description errors[String!]!Errors encountered during the mutation. noteNoteNote after mutation. quickActionsStatusQuickActionsStatusStatus of quick actions after mutation.
updatePackagesCleanupPolicyInput type: UpdatePackagesCleanupPolicyInput
updatePackagesCleanupPolicy argumentsupdatePackagesCleanupPolicy fieldsName Type Description errors[String!]!Errors encountered during the mutation. packagesCleanupPolicyPackagesCleanupPolicyPackages cleanup policy after mutation.
updatePackagesProtectionRuleUpdates a package protection rule to restrict access to project packages. You can prevent users without certain permissions from altering packages.
Input type: UpdatePackagesProtectionRuleInput
updatePackagesProtectionRule argumentsName Type Description idPackagesProtectionRuleID!Global ID of the package protection rule to be updated. minimumAccessLevelForDeletePackagesProtectionRuleAccessLevelForDeleteIntroduced as an experiment in GitLab 17.10. Minimum GitLab access required to delete packages from the package registry. Valid values include OWNER or ADMIN. If the value is nil, the default minimum access level is MAINTAINER. Available only when feature flag packages_protected_packages_delete is enabled. minimumAccessLevelForPushPackagesProtectionRuleAccessLevelMinimum GitLab access required to push packages to the package registry. Valid values include MAINTAINER, OWNER, or ADMIN. If the value is nil, the default minimum access level is DEVELOPER. packageNamePatternStringPackage name protected by the protection rule. For example, @my-scope/my-package-*. Wildcard character * allowed. packageTypePackagesProtectionRulePackageTypePackage type protected by the protection rule. For example, NPM, PYPI.
updatePackagesProtectionRule fieldsupdateProjectComplianceViolationInput type: UpdateProjectComplianceViolationInput
updateProjectComplianceViolation argumentsupdateProjectComplianceViolation fieldsupdateRequirementInput type: UpdateRequirementInput
updateRequirement argumentsName Type Description descriptionStringDescription of the requirement. iidStringDeprecated in GitLab 15.8. Use work_item_iid instead. lastTestReportStateTestReportStateCreates a test report for the requirement with the given state. projectPathID!Full project path the requirement is associated with. stateRequirementStateState of the requirement. titleStringTitle of the requirement. workItemIidStringIID of the requirement work item to update.
updateRequirement fieldsName Type Description errors[String!]!Errors encountered during the mutation. requirementRequirementRequirement after mutation.
updateSnippetInput type: UpdateSnippetInput
updateSnippet argumentsupdateSnippet fieldsName Type Description errors[String!]!Errors encountered during the mutation. snippetSnippetSnippet after mutation.
Updates a protection rule for a Terraform state backend.
Input type: UpdateTerraformStateProtectionRuleInput
Name Type Description allowedFromTerraformStateProtectionRuleAllowedFromIntroduced as an experiment in GitLab 18.11. Restriction on the source of write requests. ANYWHERE allows all sources, CI_ONLY requires a CI job token, CI_ON_PROTECTED_BRANCH_ONLY requires a CI job on a protected branch. idTerraformStateProtectionRuleID!Global ID of the Terraform state protection rule to update. minimumAccessLevelForWriteTerraformStateProtectionRuleAccessLevelIntroduced as an experiment in GitLab 18.11. Minimum GitLab access level required to perform write operations on the Terraform state. Valid values include DEVELOPER, MAINTAINER, OWNER, or ADMIN. stateNameStringIntroduced as an experiment in GitLab 18.11. Terraform state name protected by the rule.
updateVirtualRegistriesSettingUpdates or creates virtual registries settings for a root group.
Input type: UpdateVirtualRegistriesSettingInput
updateVirtualRegistriesSetting argumentsName Type Description enabledBooleanEnable or disable the virtual registries. fullPathID!Group path for the group virtual registries.
updateVirtualRegistriesSetting fieldsuploadCreateCreates an upload (uploads a file to a project or group for use in Markdown).
Input type: UploadCreateInput
uploadCreate argumentsName Type Description fileUpload!File to upload. groupPathIDFull path of the group with which the resource is associated. projectPathIDFull path of the project with which the resource is associated.
uploadCreate fieldsName Type Description altStringAlt text for the uploaded file. Usually the name of the file. errors[String!]!Errors encountered during the mutation. fullPathStringFull path to the file. markdownStringMarkdown-formatted link to the file. uploadFileUploadUploaded file. urlStringURL to access the file.
uploadDeleteDeletes an upload.
Input type: UploadDeleteInput
uploadDelete argumentsName Type Description filenameString!Upload filename. groupPathIDFull path of the group with which the resource is associated. projectPathIDFull path of the project with which the resource is associated. secretString!Secret part of upload path.
uploadDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. uploadFileUploadDeleted upload.
upsertFlatUserCapUpdate the flat per-user budget cap for a subscription.
Input type: UpsertFlatUserCapInput
upsertFlatUserCap argumentsName Type Description flatUserCapFloat!Default per-user budget cap applied to all users. flatUserCapEnabledBoolean!Whether the flat per-user budget cap is enabled. namespacePathStringPath of the top-level group namespace. Omit for self-managed instance scope.
upsertFlatUserCap fieldsName Type Description errors[String!]!Errors encountered during the mutation. flatUserCapFloatUpdated flat per-user budget cap. flatUserCapEnabledBooleanWhether the flat per-user budget cap is enabled.
upsertUserBudgetCapOverridesBulk upsert per-user budget cap overrides.
Input type: UpsertUserBudgetCapOverridesInput
upsertUserBudgetCapOverrides argumentsName Type Description namespacePathStringPath of the top-level group namespace. Omit for self-managed instance scope. overrides[BudgetCapUserOverrideInput!]!List of per-user budget cap overrides to upsert.
upsertUserBudgetCapOverrides fieldsuserAchievementPrioritiesUpdateInput type: UserAchievementPrioritiesUpdateInput
userAchievementPrioritiesUpdate argumentsName Type Description userAchievementIds[AchievementsUserAchievementID!]!Global IDs of the user achievements being prioritized, ordered from highest to lowest priority.
userAchievementPrioritiesUpdate fieldsuserAchievementsDeleteInput type: UserAchievementsDeleteInput
userAchievementsDelete argumentsuserAchievementsDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. userAchievementUserAchievementDeleted user achievement.
userAchievementsUpdateInput type: UserAchievementsUpdateInput
userAchievementsUpdate argumentsName Type Description awardMessageStringMessage to associate with the awarded achievement. showOnProfileBooleanIndicates whether or not the user achievement is visible on the profile. userAchievementIdAchievementsUserAchievementID!Global ID of the user achievement being updated.
userAchievementsUpdate fieldsuserAddOnAssignmentBulkCreateInput type: UserAddOnAssignmentBulkCreateInput
userAddOnAssignmentBulkCreate argumentsuserAddOnAssignmentBulkCreate fieldsName Type Description addOnPurchaseAddOnPurchaseAddOnPurchase state after mutation. errors[String!]!Errors encountered during the mutation. usersAddOnUserConnectionUsers who the add-on purchase was assigned to. This field is a connection and accepts the four standard pagination arguments: before, after, first, last.
userAddOnAssignmentBulkRemoveInput type: UserAddOnAssignmentBulkRemoveInput
userAddOnAssignmentBulkRemove argumentsuserAddOnAssignmentBulkRemove fieldsName Type Description addOnPurchaseAddOnPurchaseAddOnPurchase state after mutation. errors[String!]!Errors encountered during the mutation. usersAddOnUserConnectionUsers who was unassigned from the add-on purchase. This field is a connection and accepts the four standard pagination arguments: before, after, first, last.
userAddOnAssignmentCreateInput type: UserAddOnAssignmentCreateInput
userAddOnAssignmentCreate argumentsuserAddOnAssignmentCreate fieldsName Type Description addOnPurchaseAddOnPurchaseAddOnPurchase state after mutation. errors[String!]!Errors encountered during the mutation. userAddOnUserUser who the add-on purchase was assigned to.
userAddOnAssignmentRemoveInput type: UserAddOnAssignmentRemoveInput
userAddOnAssignmentRemove argumentsuserAddOnAssignmentRemove fieldsName Type Description addOnPurchaseAddOnPurchaseAddOnPurchase state after mutation. errors[String!]!Errors encountered during the mutation. userAddOnUserUser that the add-on was removed from.
userCalloutCreateInput type: UserCalloutCreateInput
userCalloutCreate argumentsName Type Description featureNameString!Feature name you want to dismiss the callout for.
userCalloutCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. userCalloutUserCallout!User callout dismissed.
userCustomAttributeSetCreates or updates a custom attribute on a user. Only available to admins.
Input type: UserCustomAttributeSetInput
userCustomAttributeSet argumentsName Type Description keyString!Key of the custom attribute. userIdUserID!Global ID of the user. valueString!Value of the custom attribute.
userCustomAttributeSet fieldsName Type Description customAttributeCustomAttributeCustom attribute after mutation. errors[String!]!Errors encountered during the mutation.
userGroupCalloutCreateInput type: UserGroupCalloutCreateInput
userGroupCalloutCreate argumentsName Type Description featureNameString!Feature name you want to dismiss the callout for. groupIdGroupID!Group for the callout.
userGroupCalloutCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. userGroupCalloutUserGroupCallout!User group callout dismissed.
userPreferencesUpdateInput type: UserPreferencesUpdateInput
userPreferencesUpdate argumentsName Type Description duoDefaultNamespaceIdIntDefault namespace context for Duo features when namespace can not be inferred. emojiSkinToneEmojiSkinToneIntroduced as an experiment in GitLab 19.6. Default skin tone for emoji that have skin tone variants. extensionsMarketplaceOptInStatusExtensionsMarketplaceOptInStatusStatus of the Web IDE Extension Marketplace opt-in for the user. firstDayOfWeekUserFirstDayOfWeekFirst day of the week in calendars and date pickers. Set to null to use the instance default. issuesSortIssueSortSort order for issue lists. knowledgeGraphGoverningNamespaceIdIntGoverning and billing namespace for Orbit. mergeRequestDashboardListTypeMergeRequestsDashboardListTypeMerge request dashboard list rendering type. mergeRequestDashboardShowDraftsBooleanShow draft merge requests on the merge request dashboard. mergeRequestsSortMergeRequestSortSort order for issue lists. orbitSettingsJSONIntroduced as an experiment in GitLab 19.0. Orbit agent settings, e.g.: “{ enabled: false }”. organizationGroupsProjectsDisplayOrganizationGroupProjectDisplayIntroduced as an experiment in GitLab 17.2. Default list view for organization groups and projects. organizationGroupsProjectsSortOrganizationGroupProjectSortIntroduced as an experiment in GitLab 17.2. Sort order for organization groups and projects. projectsSortProjectSortSort order for projects. sidebarNavigationModeSidebarNavigationModeIntroduced as an experiment in GitLab 19.6. Navigation mode of the left sidebar. Applies only when the hide_unpinned_sidebar_items feature flag is enabled; otherwise the sidebar shows all navigation categories. useWorkItemsViewBooleanDeprecated in GitLab 19.5. Work item view is always used. visibilityPipelineIdTypeVisibilityPipelineIdTypeDetermines whether the pipeline list shows ID or IID. wikiUseAutoCommitMessageBooleanIntroduced as an experiment in GitLab 18.10. Whether to skip the commit message modal and use the auto-generated commit message when saving changes to a wiki document. workItemsDisplaySettingsJSONIntroduced as an experiment in GitLab 18.1. Display settings for the work item lists, e.g.: “{ shouldOpenItemsInSidePanel: false }”.
userPreferencesUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. userPreferencesUserPreferencesUser preferences after mutation.
userSetNamespaceCommitEmailInput type: UserSetNamespaceCommitEmailInput
userSetNamespaceCommitEmail argumentsName Type Description emailIdEmailIDID of the email to set. namespaceIdNamespaceID!ID of the namespace to set the namespace commit email for.
userSetNamespaceCommitEmail fieldsName Type Description errors[String!]!Errors encountered during the mutation. namespaceCommitEmailNamespaceCommitEmailUser namespace commit email after mutation.
valueStreamCreateCreates a value stream.
Input type: ValueStreamCreateInput
valueStreamCreate argumentsvalueStreamCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. valueStreamValueStreamCreated value stream.
valueStreamDestroyDestroy a value stream.
Input type: ValueStreamDestroyInput
valueStreamDestroy argumentsvalueStreamDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation. valueStreamValueStreamValue stream deleted after mutation.
valueStreamUpdateUpdates a value stream.
Input type: ValueStreamUpdateInput
valueStreamUpdate argumentsvalueStreamUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. valueStreamValueStreamUpdated value stream.
verifiedNamespaceCreateCreate a verified namespace and mark all child catalog resources with the passed verification level info.
Input type: VerifiedNamespaceCreateInput
verifiedNamespaceCreate argumentsverifiedNamespaceCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation.
virtualRegistriesCleanupPolicyUpsertCreate or update virtual registries cleanup policy for a root group.
Input type: VirtualRegistriesCleanupPolicyUpsertInput
virtualRegistriesCleanupPolicyUpsert argumentsName Type Description cadenceIntJob cadence for the cleanup process. Allowed values are 1, 7, 14, 30, 90. Default is 7. enabledBooleanEnable or disable the virtual registries cleanup policy. Default is false. fullPathID!Group path for the group virtual registries. keepNDaysAfterDownloadIntKeep packages for the period after download. Range is 1-365. Default is 30. notifyOnFailureBooleanWhether to notify group owners when cleanup runs fail. Default is false. notifyOnSuccessBooleanWhether to notify group owners when cleanup runs succeed. Default is false.
virtualRegistriesCleanupPolicyUpsert fieldsvulnerabilitiesArchiveInput type: VulnerabilitiesArchiveInput
vulnerabilitiesArchive argumentsName Type Description dateDate!Last update date of vulnerabilities being archived. projectIdProjectID!ID of the project to attach the vulnerability to.
vulnerabilitiesArchive fieldsName Type Description errors[String!]!Errors encountered during the mutation. statusString!Status of the action.
vulnerabilitiesCreateIssueInput type: VulnerabilitiesCreateIssueInput
vulnerabilitiesCreateIssue argumentsName Type Description projectProjectID!ID of the project to attach the issue to. vulnerabilityIds[VulnerabilityID!]!IDs of vulnerabilities to link to the given issue. Up to 100 can be provided.
vulnerabilitiesCreateIssue fieldsName Type Description errors[String!]!Errors encountered during the mutation. issueIssueIssue created after mutation.
vulnerabilitiesDismissInput type: VulnerabilitiesDismissInput
vulnerabilitiesDismiss argumentsName Type Description commentStringComment why vulnerability was dismissed (maximum 50,000 characters). dismissalReasonVulnerabilityDismissalReasonReason why vulnerability should be dismissed. vulnerabilityIds[VulnerabilityID!]!IDs of the vulnerabilities to be dismissed (maximum 100 entries).
vulnerabilitiesDismiss fieldsName Type Description errors[String!]!Errors encountered during the mutation. vulnerabilities[Vulnerability!]!Vulnerabilities after state change.
vulnerabilitiesRemoveAllFromProjectRemove all Vulnerabilities and related information from a given project. Introduced in GitLab 16.7.
Input type: VulnerabilitiesRemoveAllFromProjectInput
vulnerabilitiesRemoveAllFromProject argumentsName Type Description projectIds[ProjectID!]!IDs of project for which all Vulnerabilities should be removed. The deletion will happen in the background so the changes will not be visible immediately. resolvedOnDefaultBranchBooleanWhen set as true, deletes only the vulnerabilities no longer detected. When set as false, deletes only the vulnerabilities still detected.
vulnerabilitiesRemoveAllFromProject fieldsName Type Description errors[String!]!Errors encountered during the mutation. projects[Project!]!Projects for which the deletion was scheduled.
vulnerabilitiesSeverityOverrideInput type: vulnerabilitiesSeverityOverrideInput
vulnerabilitiesSeverityOverride argumentsName Type Description commentString!Comment why vulnerability severity was changed (maximum 50,000 characters). severityVulnerabilitySeverity!New severity value for the severities. vulnerabilityIds[VulnerabilityID!]!IDs of the vulnerabilities for which severity needs to be changed (maximum 100 entries).
vulnerabilitiesSeverityOverride fieldsName Type Description errors[String!]!Errors encountered during the mutation. vulnerabilities[Vulnerability!]!Vulnerabilities after severity change.
Triggers automated remediation for a single vulnerability. Currently supports dependency (SCA) vulnerabilities, where a remediation merge request is created asynchronously when a fix is available; other report types return UNSUPPORTED.
Input type: VulnerabilityAutoRemediationInput
Name Type Description vulnerabilityIdVulnerabilityID!ID of the vulnerability to remediate.
vulnerabilityConfirmInput type: VulnerabilityConfirmInput
vulnerabilityConfirm argumentsName Type Description commentStringComment why vulnerability was confirmed (maximum 50,000 characters). idVulnerabilityID!ID of the vulnerability to be confirmed.
vulnerabilityConfirm fieldsName Type Description errors[String!]!Errors encountered during the mutation. vulnerabilityVulnerabilityVulnerability after state change.
vulnerabilityCreateInput type: VulnerabilityCreateInput
vulnerabilityCreate argumentsName Type Description Default confirmedAtTimeTimestamp of when the vulnerability state changed to confirmed (defaults to creation time if status is confirmed). descriptionString!Long text section that describes the vulnerability in more detail. detectedAtTimeTimestamp of when the vulnerability was first detected (defaults to creation time). dismissedAtTimeTimestamp of when the vulnerability state changed to dismissed (defaults to creation time if status is dismissed). identifiers[VulnerabilityIdentifierInput!]!Array of CVE or CWE identifiers for the vulnerability. nameString!Name of the vulnerability. projectProjectID!ID of the project to attach the vulnerability to. projectTrackedContextProjectTrackedContextInputTracked context to associate with the vulnerability. resolvedAtTimeTimestamp of when the vulnerability state changed to resolved (defaults to creation time if status is resolved). scannerVulnerabilityScannerInput!Information about the scanner used to discover the vulnerability. severityVulnerabilitySeveritySeverity of the vulnerability (defaults to unknown). UNKNOWNsolutionStringInstructions for how to fix the vulnerability. stateVulnerabilityStateState of the vulnerability (defaults to detected). DETECTED
vulnerabilityCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. vulnerabilityVulnerabilityVulnerability created.
vulnerabilityDismissInput type: VulnerabilityDismissInput
vulnerabilityDismiss argumentsvulnerabilityDismiss fieldsName Type Description errors[String!]!Errors encountered during the mutation. vulnerabilityVulnerabilityVulnerability after state change.
vulnerabilityDismissFalsePositiveFlagDismiss a vulnerability false positive flag.
Input type: VulnerabilityDismissFalsePositiveFlagInput
vulnerabilityDismissFalsePositiveFlag argumentsName Type Description idVulnerabilityID!ID of the vulnerability to dismiss false positive flag for.
vulnerabilityDismissFalsePositiveFlag fieldsName Type Description errors[String!]!Errors encountered during the mutation. vulnerabilityVulnerabilityVulnerability after dismissing false positive flag.
vulnerabilityExternalIssueLinkCreateInput type: VulnerabilityExternalIssueLinkCreateInput
vulnerabilityExternalIssueLinkCreate argumentsvulnerabilityExternalIssueLinkCreate fieldsvulnerabilityExternalIssueLinkDestroyInput type: VulnerabilityExternalIssueLinkDestroyInput
vulnerabilityExternalIssueLinkDestroy argumentsvulnerabilityExternalIssueLinkDestroy fieldsName Type Description errors[String!]!Errors encountered during the mutation.
vulnerabilityIssueLinkCreateInput type: VulnerabilityIssueLinkCreateInput
vulnerabilityIssueLinkCreate argumentsName Type Description issueIdIssueID!ID of the issue to link to. vulnerabilityIds[VulnerabilityID!]!IDs of vulnerabilities to link to the given issue. Up to 100 can be provided.
vulnerabilityIssueLinkCreate fieldsvulnerabilityLinkMergeRequestLink a merge request to a vulnerability.
Input type: VulnerabilityLinkMergeRequestInput
vulnerabilityLinkMergeRequest argumentsName Type Description mergeRequestIdMergeRequestID!ID of the merge request. readinessScoreFloatConfidence rating representing the estimated accuracy of the fix in the AI generated merge request. Decimal value between 0 and 1, with 1 being the highest. vulnerabilityIdVulnerabilityID!ID of the vulnerability.
vulnerabilityLinkMergeRequest fieldsName Type Description errors[String!]!Errors encountered during the mutation. vulnerabilityVulnerabilityUpdated vulnerability.
vulnerabilityResolveInput type: VulnerabilityResolveInput
vulnerabilityResolve argumentsName Type Description commentStringComment why vulnerability was resolved (maximum 50,000 characters). idVulnerabilityID!ID of the vulnerability to be resolved.
vulnerabilityResolve fieldsName Type Description errors[String!]!Errors encountered during the mutation. vulnerabilityVulnerabilityVulnerability after state change.
vulnerabilityRevertToDetectedInput type: VulnerabilityRevertToDetectedInput
vulnerabilityRevertToDetected argumentsName Type Description commentStringComment why vulnerability was reverted to detected (maximum 50,000 characters). idVulnerabilityID!ID of the vulnerability to be reverted to detected.
vulnerabilityRevertToDetected fieldsName Type Description errors[String!]!Errors encountered during the mutation. vulnerabilityVulnerabilityVulnerability after state change.
vulnerabilityUnlinkMergeRequestUnlink a merge request from a vulnerability.
Input type: VulnerabilityUnlinkMergeRequestInput
vulnerabilityUnlinkMergeRequest argumentsvulnerabilityUnlinkMergeRequest fieldsName Type Description errors[String!]!Errors encountered during the mutation. vulnerabilityVulnerabilityUpdated vulnerability.
wikiPageSubscribeInput type: WikiPageSubscribeInput
wikiPageSubscribe argumentsName Type Description idWikiPageMetaID!Global ID of the wiki page meta record. subscribedBoolean!Desired state of the subscription.
wikiPageSubscribe fieldsName Type Description errors[String!]!Errors encountered during the mutation. wikiPageWikiPageWiki page after mutation.
workItemAddClosingMergeRequestAdds a closing merge request to a work item.
Input type: WorkItemAddClosingMergeRequestInput
workItemAddClosingMergeRequest argumentsName Type Description contextNamespacePathIDFull path of the context namespace (project or group). Only project full paths are used to find a merge request using a short reference syntax like !1. Ignored for full references and URLs. Defaults to the namespace of the work item if not provided. idWorkItemID!Global ID of the work item. mergeRequestReferenceString!Merge request reference (short, full or URL). Example: !1, project_full_path!1 or https://gitlab.com/gitlab-org/gitlab/-/merge_requests/1.
workItemAddClosingMergeRequest fieldsworkItemAddLinkedItemsAdd linked items to the work item.
Input type: WorkItemAddLinkedItemsInput
workItemAddLinkedItems argumentsworkItemAddLinkedItems fieldsName Type Description errors[String!]!Errors encountered during the mutation. messageStringLinked items update result message. workItemWorkItemUpdated work item.
workItemAvailabilityToggleEnables or disables a work item type for a namespace.
Input type: WorkItemAvailabilityToggleInput
workItemAvailabilityToggle argumentsworkItemAvailabilityToggle fieldsName Type Description errors[String!]!Errors encountered during the mutation. workItemTypeWorkItemTypeWork item type after the availability change.
workItemBulkMoveMoves work items between projects or groups.
Input type: WorkItemBulkMoveInput
workItemBulkMove argumentsName Type Description ids[WorkItemID!]!Global ID array of the work items that will be moved. IDs that the user can’t move will be ignored. A max of 100 can be provided. sourceFullPathString!Full path of the source namespace. For example, gitlab-org/gitlab-foss. targetFullPathString!Full path of the target namespace. For example, gitlab-org/gitlab-foss. User paths are not supported.
workItemBulkMove fieldsName Type Description errors[String!]!Errors encountered during the mutation. movedWorkItemCountIntNumber of work items that were successfully moved.
workItemBulkUpdateAllows updating several properties for a set of work items.
Input type: WorkItemBulkUpdateInput
workItemBulkUpdate argumentsworkItemBulkUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. updatedWorkItemCountIntNumber of work items that were successfully updated.
workItemConvertConverts the work item to a new type.
Input type: WorkItemConvertInput
workItemConvert argumentsworkItemConvert fieldsName Type Description errors[String!]!Errors encountered during the mutation. workItemWorkItemUpdated work item.
workItemCreateCreates a work item.
Input type: WorkItemCreateInput
workItemCreate argumentsworkItemCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. workItemWorkItemCreated work item.
workItemCreateFromTaskCreates a work item from a task in another work item’s description.
Input type: WorkItemCreateFromTaskInput
workItemCreateFromTask argumentsworkItemCreateFromTask fieldsName Type Description errors[String!]!Errors encountered during the mutation. newWorkItemWorkItemNew work item created from task. workItemWorkItemUpdated work item.
workItemDecisionArchiveArchives a resolved decision in the decision log of a work item. The decision is kept but marked as archived. Open decisions cannot be archived, and archiving cannot be undone.
Input type: WorkItemDecisionArchiveInput
workItemDecisionArchive argumentsworkItemDecisionArchive fieldsworkItemDecisionCreateRecords a decision in the decision log of a work item.
Input type: WorkItemDecisionCreateInput
workItemDecisionCreate argumentsName Type Description descriptionStringContext of the decision. discussionIdDiscussionIDGlobal ID of the originating discussion thread. options[WorkItemDecisionOptionInput!]Candidate options of the decision. Maximum of 5 options. Incompatible with resolution. questionStringQuestion being decided. Required unless resolution is provided. resolutionWorkItemDecisionResolutionInputWhen present, records the decision as resolved at creation. Incompatible with options. sourceLinkStringURL of the comment, discussion, or external resource that prompted the decision. titleStringDeprecated in GitLab 19.6. Use question. workItemIdWorkItemID!Global ID of the work item.
workItemDecisionCreate fieldsworkItemDecisionDeleteDeletes an open decision from the decision log of a work item. Resolved or archived decisions cannot be deleted; archive resolved decisions instead.
Input type: WorkItemDecisionDeleteInput
workItemDecisionDelete argumentsworkItemDecisionDelete fieldsworkItemDecisionResolveResolves a decision in the decision log of a work item.
Input type: WorkItemDecisionResolveInput
workItemDecisionResolve argumentsName Type Description idWorkItemsDecisionID!Global ID of the decision. resolutionRationaleStringReasoning for the resolution. resolvingNoteIdNoteIDGlobal ID of the comment that resolved the decision. selectedOptionContentStringContent of a custom option, added as the only selected option of the decision while every existing option is deselected. Incompatible with selectedOptionIds. selectedOptionIds[WorkItemsDecisionOptionID!]Global IDs of the selected options. Maximum of 5 options.
workItemDecisionResolve fieldsworkItemDecisionUpdateUpdates a decision in the decision log of a work item.
Input type: WorkItemDecisionUpdateInput
workItemDecisionUpdate argumentsName Type Description descriptionStringContext of the decision. discussionIdDiscussionIDGlobal ID of the originating discussion thread. idWorkItemsDecisionID!Global ID of the decision. options[WorkItemDecisionOptionUpdateInput!]Existing options of the decision to update. Maximum of 6 options. questionStringQuestion being decided. resolutionRationaleStringReasoning for the resolution. Can only be updated on resolved decisions. resolvedByIdUserIDGlobal ID of the user who resolved the decision. Can only be updated on resolved decisions. resolvingNoteIdNoteIDGlobal ID of the comment that resolved the decision. Can only be updated on resolved decisions. selectedOptionContentStringContent of the selected option. Unless exactly one option is selected, a new selected option with this content is added and any selected options are deselected. Can only be updated on resolved decisions. sourceLinkStringURL of the comment, discussion, or external resource that prompted the decision. titleStringDeprecated in GitLab 19.6. Use question.
workItemDecisionUpdate fieldsworkItemDeleteDeletes a work item.
Input type: WorkItemDeleteInput
workItemDelete argumentsName Type Description idWorkItemID!Global ID of the work item.
workItemDelete fieldsName Type Description errors[String!]!Errors encountered during the mutation. namespaceNamespaceNamespace the deleted work item belonged to. projectProjectDeprecated in GitLab 16.9. Use namespace.
workItemEnableAiPlanningEnables AI planning for a work item. Once enabled, AI planning cannot be disabled.
Input type: WorkItemEnableAiPlanningInput
workItemEnableAiPlanning argumentsName Type Description idWorkItemID!Global ID of the work item.
workItemEnableAiPlanning fieldsName Type Description errors[String!]!Errors encountered during the mutation. workItemWorkItemWork item after mutation.
workItemExportDeprecated in GitLab 18.0. Use WorkItemsCsvExport.
Input type: WorkItemExportInput
workItemExport argumentsName Type Description assigneeUsernames[String!]Usernames of users assigned to the work item (maximum is 100 usernames). assigneeWildcardIdAssigneeWildcardIdFilter by assignee wildcard. Incompatible with assigneeUsernames. authorUsernameStringFilter work items by author username. closedAfterTimeWork items closed after the date. closedBeforeTimeWork items closed before the date. confidentialBooleanFilter for confidential work items. If false, excludes confidential work items. If true, returns only confidential work items. createdAfterTimeWork items created after the timestamp. createdBeforeTimeWork items created before the timestamp. crmContactIdStringFilter by ID of CRM contact. crmOrganizationIdStringFilter by ID of CRM contact organization. dueAfterTimeWork items due after the timestamp. dueBeforeTimeWork items due before the timestamp. healthStatusFilterHealthStatusFilterIntroduced as an experiment in GitLab 18.2. Health status of the work items, “none” and “any” values are supported. hierarchyFiltersHierarchyFilterInputIntroduced as an experiment in GitLab 18.3. Filtering options related to the work item hierarchy. ids[WorkItemID!]Filter by global IDs of work items (maximum is 100 IDs). iids[String!]List of IIDs of work items. For example, ["1", "2"] (maximum is 100 IIDs). in[IssuableSearchableField!]Specify the fields to perform the search in. Defaults to [TITLE, DESCRIPTION]. Requires the search argument.'. includeDescendantWorkItemsBooleanIntroduced as an experiment in GitLab 18.3. Whether to include work items of descendant parents when filtering by parent_ids. iterationCadenceId[IterationsCadenceID!]Introduced as an experiment in GitLab 18.2. Filter by a list of iteration cadence IDs. iterationId[ID]Introduced as an experiment in GitLab 18.2. List of iteration Global IDs applied to the work items. iterationWildcardIdIterationWildcardIdIntroduced as an experiment in GitLab 18.2. Filter by iteration ID wildcard. labelName[String!]Labels applied to the work item (maximum is 100 labels). milestoneTitle[String!]Milestone applied to the work item (maximum is 100 milestones). milestoneWildcardIdMilestoneWildcardIdFilter by milestone ID wildcard. Incompatible with milestoneTitle. myReactionEmojiStringFilter by reaction emoji applied by the current user. Wildcard values NONE and ANY are supported. notNegatedWorkItemFilterInputNegated work item arguments. orUnionedWorkItemFilterInputList of arguments with inclusive OR. parentIds[WorkItemID!]Filter work items by global IDs of their parent items (maximum is 100 IDs). parentWildcardIdWorkItemParentWildcardIdIntroduced as an experiment in GitLab 18.5. Filter by parent ID wildcard. Incompatible with parentIds. projectPathID!Full project path. releaseTag[String!]Release tag associated with the work item’s milestone (maximum is 100 tags). Ignored when parent is a group. releaseTagWildcardIdReleaseTagWildcardIdFilter by release tag wildcard. searchStringSearch query for title or description. selectedFields[AvailableExportFields!]List of selected fields to be exported. Omit to export all available fields. stateIssuableStateCurrent state of the work item. statusWorkItemWidgetStatusFilterInputIntroduced as an experiment in GitLab 18.7. Filter by status. subscribedSubscriptionStatusWork items the current user is subscribed to. types[IssueType!]Filter work items by the given work item types. updatedAfterTimeWork items updated after the timestamp. updatedBeforeTimeWork items updated before the timestamp. weightStringIntroduced as an experiment in GitLab 18.2. Weight applied to the work item, “none” and “any” values are supported. weightWildcardIdWeightWildcardIdIntroduced as an experiment in GitLab 18.2. Filter by weight ID wildcard. Incompatible with weight. workItemTypeIds[WorkItemsTypeID!]Filter work items by work item type global IDs.
workItemExport fieldsName Type Description errors[String!]!Errors encountered during the mutation. messageStringExport request result message.
workItemGenerateReadinessScoreScores the readiness of a work item asynchronously through a Duo Agent Platform flow, instead of Duo Chat. Available only when the workplan_score feature flag is enabled; returns an error otherwise.
Input type: WorkItemGenerateReadinessScoreInput
workItemGenerateReadinessScore argumentsName Type Description idWorkItemID!Global ID of the work item to score readiness for.
workItemGenerateReadinessScore fieldsName Type Description errors[String!]!Errors encountered during the mutation. workflowDuoWorkflowDuo Agent Platform workflow started to score the readiness.
workItemGenerateWorkplanGenerates a workplan for a work item asynchronously through a Duo Agent Platform flow. Available only when the workplan feature flag is enabled; returns an error otherwise.
Input type: WorkItemGenerateWorkplanInput
workItemGenerateWorkplan argumentsName Type Description idWorkItemID!Global ID of the work item to generate a workplan for.
workItemGenerateWorkplan fieldsName Type Description errors[String!]!Errors encountered during the mutation. workflowDuoWorkflowDuo Agent Platform workflow started to generate the workplan.
workItemHierarchyAddChildrenItemsAdds children to a given work item’s hierarchy by Global ID.
Input type: WorkItemHierarchyAddChildrenItemsInput
workItemHierarchyAddChildrenItems argumentsworkItemHierarchyAddChildrenItems fieldsName Type Description addedChildren[WorkItem!]!Work items that were added as children. errors[String!]!Errors encountered during the mutation.
workItemRemoveLinkedItemsRemove items linked to the work item.
Input type: WorkItemRemoveLinkedItemsInput
workItemRemoveLinkedItems argumentsName Type Description idWorkItemID!Global ID of the work item. workItemsIds[WorkItemID!]!Global IDs of the items to unlink. Maximum number of IDs you can provide: 10.
workItemRemoveLinkedItems fieldsName Type Description errors[String!]!Errors encountered during the mutation. messageStringLinked items update result message. workItemWorkItemUpdated work item.
workItemResumeWorkplanResumes a paused workplan generation flow that is awaiting input, sending the replies left on the questions the flow asked. Available only when the workplan feature flag is enabled; returns an error otherwise.
Input type: WorkItemResumeWorkplanInput
workItemResumeWorkplan argumentsName Type Description idWorkItemID!Global ID of the work item whose workplan generation to resume.
workItemResumeWorkplan fieldsName Type Description errors[String!]!Errors encountered during the mutation. workflowDuoWorkflowDuo Agent Platform workflow that was resumed.
workItemSavedViewCreateCreates a saved view.
Input type: WorkItemSavedViewCreateInput
workItemSavedViewCreate argumentsName Type Description descriptionStringDescription of the saved view. displaySettingsJSON!Display settings associated with the saved view. filtersWorkItemSavedViewFilterInput!Filters associated with the saved view. isPrivateBooleanWhether the saved view is private. Default is true. nameString!Name of the saved view. namespacePathID!Full path of the namespace to create the saved view in. privateBooleanDeprecated in GitLab 18.10. Replaced by isPrivate argument. sortWorkItemSort!Sort option associated with the saved view.
workItemSavedViewCreate fieldsworkItemSavedViewDeleteDeletes a saved view.
Input type: WorkItemSavedViewDeleteInput
workItemSavedViewDelete argumentsworkItemSavedViewDelete fieldsworkItemSavedViewReorderReorders a saved view for the current user.
Input type: WorkItemSavedViewReorderInput
workItemSavedViewReorder argumentsworkItemSavedViewReorder fieldsworkItemSavedViewSubscribeSubscribes the current user to a saved view.
Input type: WorkItemSavedViewSubscribeInput
workItemSavedViewSubscribe argumentsworkItemSavedViewSubscribe fieldsworkItemSavedViewUnsubscribeUnsubscribes the current user from a saved view.
Input type: WorkItemSavedViewUnsubscribeInput
workItemSavedViewUnsubscribe argumentsworkItemSavedViewUnsubscribe fieldsworkItemSavedViewUpdateUpdates a saved view.
Input type: WorkItemSavedViewUpdateInput
workItemSavedViewUpdate argumentsworkItemSavedViewUpdate fieldsworkItemSettingsUpdateUpdates work item settings for a root group or organization. Omit fullPath to update settings for the current organization.
Input type: WorkItemSettingsUpdateInput
workItemSettingsUpdate argumentsName Type Description customizableTypeVisibilityBooleanWhether namespace admins can configure per-type work item visibility. fullPathIDFull path of the root group. Omit to use the current organization.
workItemSettingsUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. workItemSettingsWorkItemSettingsWork item settings after mutation.
workItemSubscribeInput type: WorkItemSubscribeInput
workItemSubscribe argumentsName Type Description idWorkItemID!Global ID of the work item. subscribedBoolean!Desired state of the subscription.
workItemSubscribe fieldsName Type Description errors[String!]!Errors encountered during the mutation. workItemWorkItemWork item after mutation.
workItemTypeCreateInput type: WorkItemTypeCreateInput
workItemTypeCreate argumentsName Type Description enabledByDefaultForNewNamespacesBooleanIndicates the type is enabled by default for new child namespaces. fullPathStringFull path of the root group. iconNameString!Icon name for the work item type. Use the workItemTypeIconDefinitions query to retrieve the list of available icon names. nameString!Name for the work item type.
workItemTypeCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. workItemTypeWorkItemTypeWork item type that was created.
workItemTypeUpdateInput type: WorkItemTypeUpdateInput
workItemTypeUpdate argumentsName Type Description archiveBooleanWhether to archive the work item type. enabledByDefaultForNewNamespacesBooleanIndicates the type is enabled by default for new child namespaces. fullPathStringFull path of the root group. iconNameStringIcon name for the work item type. Use the workItemTypeIconDefinitions query to retrieve the list of available icon names. idWorkItemsTypeID!Global ID of the work item type to update. nameStringNew name for the work item type.
workItemTypeUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. workItemTypeWorkItemTypeWork item type that was updated.
workItemUpdateUpdates a work item by Global ID.
Input type: WorkItemUpdateInput
workItemUpdate argumentsworkItemUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. workItemWorkItemUpdated work item.
workItemUserPreferenceUpdateCreate or Update user preferences for a work item type and namespace.
Input type: WorkItemUserPreferenceUpdateInput
workItemUserPreferenceUpdate argumentsName Type Description Default displaySettingsJSONDisplay settings for the work item lists. namespacePathID!Full path of the namespace on which the preference is set. sortWorkItemSortSort order for work item lists. CREATED_ASCworkItemTypeIdWorkItemsTypeIDGlobal ID of a work item type.
workItemUserPreferenceUpdate fieldsworkItemsCsvExportInput type: WorkItemsCsvExportInput
workItemsCsvExport argumentsName Type Description assigneeUsernames[String!]Usernames of users assigned to the work item (maximum is 100 usernames). assigneeWildcardIdAssigneeWildcardIdFilter by assignee wildcard. Incompatible with assigneeUsernames. authorUsernameStringFilter work items by author username. closedAfterTimeWork items closed after the date. closedBeforeTimeWork items closed before the date. confidentialBooleanFilter for confidential work items. If false, excludes confidential work items. If true, returns only confidential work items. createdAfterTimeWork items created after the timestamp. createdBeforeTimeWork items created before the timestamp. crmContactIdStringFilter by ID of CRM contact. crmOrganizationIdStringFilter by ID of CRM contact organization. dueAfterTimeWork items due after the timestamp. dueBeforeTimeWork items due before the timestamp. healthStatusFilterHealthStatusFilterIntroduced as an experiment in GitLab 18.2. Health status of the work items, “none” and “any” values are supported. hierarchyFiltersHierarchyFilterInputIntroduced as an experiment in GitLab 18.3. Filtering options related to the work item hierarchy. ids[WorkItemID!]Filter by global IDs of work items (maximum is 100 IDs). iids[String!]List of IIDs of work items. For example, ["1", "2"] (maximum is 100 IIDs). in[IssuableSearchableField!]Specify the fields to perform the search in. Defaults to [TITLE, DESCRIPTION]. Requires the search argument.'. includeDescendantWorkItemsBooleanIntroduced as an experiment in GitLab 18.3. Whether to include work items of descendant parents when filtering by parent_ids. iterationCadenceId[IterationsCadenceID!]Introduced as an experiment in GitLab 18.2. Filter by a list of iteration cadence IDs. iterationId[ID]Introduced as an experiment in GitLab 18.2. List of iteration Global IDs applied to the work items. iterationWildcardIdIterationWildcardIdIntroduced as an experiment in GitLab 18.2. Filter by iteration ID wildcard. labelName[String!]Labels applied to the work item (maximum is 100 labels). milestoneTitle[String!]Milestone applied to the work item (maximum is 100 milestones). milestoneWildcardIdMilestoneWildcardIdFilter by milestone ID wildcard. Incompatible with milestoneTitle. myReactionEmojiStringFilter by reaction emoji applied by the current user. Wildcard values NONE and ANY are supported. notNegatedWorkItemFilterInputNegated work item arguments. orUnionedWorkItemFilterInputList of arguments with inclusive OR. parentIds[WorkItemID!]Filter work items by global IDs of their parent items (maximum is 100 IDs). parentWildcardIdWorkItemParentWildcardIdIntroduced as an experiment in GitLab 18.5. Filter by parent ID wildcard. Incompatible with parentIds. projectPathID!Full project path. releaseTag[String!]Release tag associated with the work item’s milestone (maximum is 100 tags). Ignored when parent is a group. releaseTagWildcardIdReleaseTagWildcardIdFilter by release tag wildcard. searchStringSearch query for title or description. selectedFields[AvailableExportFields!]List of selected fields to be exported. Omit to export all available fields. stateIssuableStateCurrent state of the work item. statusWorkItemWidgetStatusFilterInputIntroduced as an experiment in GitLab 18.7. Filter by status. subscribedSubscriptionStatusWork items the current user is subscribed to. types[IssueType!]Filter work items by the given work item types. updatedAfterTimeWork items updated after the timestamp. updatedBeforeTimeWork items updated before the timestamp. weightStringIntroduced as an experiment in GitLab 18.2. Weight applied to the work item, “none” and “any” values are supported. weightWildcardIdWeightWildcardIdIntroduced as an experiment in GitLab 18.2. Filter by weight ID wildcard. Incompatible with weight. workItemTypeIds[WorkItemsTypeID!]Filter work items by work item type global IDs.
workItemsCsvExport fieldsName Type Description errors[String!]!Errors encountered during the mutation. messageStringExport request result message.
workItemsCsvImportInput type: WorkItemsCsvImportInput
workItemsCsvImport argumentsName Type Description fileUpload!CSV file to import work items from. projectPathID!Full project path.
workItemsCsvImport fieldsName Type Description errors[String!]!Errors encountered during the mutation. messageStringImport request result message.
workItemsHierarchyReorderReorder a work item in the hierarchy tree.
Input type: workItemsHierarchyReorderInput
workItemsHierarchyReorder argumentsName Type Description adjacentWorkItemIdWorkItemIDID of the work item to move next to. For example, the item above or below. idWorkItemID!Global ID of the work item to be reordered. parentIdWorkItemIDGlobal ID of the new parent work item. relativePositionRelativePositionTypePosition relative to the adjacent work item. Valid values are BEFORE or AFTER.
workItemsHierarchyReorder fieldsName Type Description adjacentWorkItemWorkItemAdjacent work item after mutation. errors[String!]!Errors encountered during the mutation. parentWorkItemWorkItemWork item’s parent after mutation. workItemWorkItemWork item after mutation.
workItemsReorderReorders a work item.
Input type: workItemsReorderInput
workItemsReorder argumentsName Type Description idWorkItemID!Global ID of the work item to be reordered. moveAfterIdWorkItemIDGlobal ID of a work item that should be placed after the work item. moveBeforeIdWorkItemIDGlobal ID of a work item that should be placed before the work item.
workItemsReorder fieldsName Type Description errors[String!]!Errors encountered during the mutation. workItemWorkItemWork item after mutation.
workspaceCreateInput type: WorkspaceCreateInput
workspaceCreate argumentsName Type Description Default clusterAgentIdClustersAgentID!GlobalID of the cluster agent the created workspace will be associated with. desiredStateString!Desired state of the created workspace. devfilePathStringProject path containing the devfile used to configure the workspace. If not provided, the GitLab default devfile is used. nulldevfileRefStringDeprecated in GitLab 17.8. Argument is renamed to project_ref. editorStringDeprecated in GitLab 17.5. Argument is not used. maxHoursBeforeTerminationIntDeprecated in GitLab 17.9. Field is not used. projectIdProjectID!ID of the project that will provide the Devfile for the created workspace. projectRefStringProject repo git ref. variables[WorkspaceVariableInput!]Deprecated in GitLab 18.0. Argument is renamed to workspace_variables. []workspaceVariables[WorkspaceVariableInput!]Introduced as an experiment in GitLab 18.0. Variables to inject into the workspace. []
workspaceCreate fieldsName Type Description errors[String!]!Errors encountered during the mutation. workspaceWorkspaceCreated workspace.
workspaceUpdateInput type: WorkspaceUpdateInput
workspaceUpdate argumentsworkspaceUpdate fieldsName Type Description errors[String!]!Errors encountered during the mutation. workspaceWorkspaceCreated workspace.