Actions71
- Branch Actions
- File Actions
- Group Actions
- Issue Actions
- Merge Request Actions
- Pipeline Actions
- Project Actions
- Raw API Actions
- Release Actions
- Tag Actions
Merge Request → Get
AI-generatedSummary
Retrieve detailed information about a specific merge request within a GitLab project by specifying its IID and project identification.
Inputs
- Authentication — Choose to authenticate using saved credentials or custom fields. Defaults to saved credentials.
- GitLab Server — Base URL of the GitLab instance, required if using custom authentication. Defaults to https://gitlab.com.
- Access Token — Personal access token with the necessary API permissions, used when custom authentication is selected.
- Project Locator — Select how to identify the project: by numeric ID or by path (namespace/owner and project name). Defaults to ID.
- Project ID — Numeric ID of the project, used if Project Locator is set to ID.
- Project Owner — Project namespace or owner, used if Project Locator is set to Path.
- Project Name — Project slug or name, used if Project Locator is set to Path.
- Merge Request IID (required) — Internal ID (IID) of the merge request in the project to retrieve; must be a positive number.
Output shape
a single object representing the merge request's details
Returns the JSON response from GitLab's API for the specified merge request, including fields like title, description, state, author, and more.
Examples
Example 1: Get merge request with IID 42 from project by ID 12345 using credentials
Authentication set to Credential; Project Locator set to ID; Project ID set to 12345; Merge Request IID set to 42.