GitLab API

GitlabTool

Actions1095

Projects → getApiV4ProjectsIdCustomAttributesKey

AI-generated

Summary

Retrieve a specific custom attribute of a GitLab project by its project ID and custom attribute key.

Inputs

  • id (required) — The numeric ID of the GitLab project from which to fetch the custom attribute.
  • key (required) — The key of the custom attribute to retrieve from the specified project.
  • skipAuthentication — Whether to skip authentication for the API request (default false).
  • baseUrl — The base URL of the GitLab instance; defaults to https://gitlab.com.
  • method — HTTP method to use; defaults to GET and should remain GET for this operation.

Output shape

a single JSON object representing the custom attribute value of the specified project key

Requires authentication unless 'Skip Authentication' is set. The response corresponds to the GET request at endpoint /api/v4/projects/{id}/custom_attributes/{key}.

Links

Discussion