GitLab API icon

GitLab API

Gitlab

Actions1062

Projects → getApiV4ProjectsIdCustomAttributesKey

AI-generated

Summary

Retrieve a custom attribute identified by its key from a specific GitLab project using the GitLab API v4.

Inputs

  • id (required) — The ID of the GitLab project from which to fetch the custom attribute.
  • key (required) — The key of the custom attribute to retrieve.
  • baseUrl — Optional base URL of the GitLab instance; defaults to https://gitlab.com.
  • skipAuthentication — Set to true to skip authentication; defaults to false.
  • method — HTTP method to use; defaults to GET.

Output shape

a single custom attribute object corresponding to the specified key for the given project ID

Returns the custom attribute data as provided by GitLab API; authentication is required unless 'Skip Authentication' is set. No pagination applies.

Examples

Example 1: Fetch the custom attribute with key 'release_date' from project ID 123

Set 'id' to 123, 'key' to 'release_date', and use default 'method' GET.

Links

Discussion