GitLab API icon

GitLab API

Gitlab

Actions1062

Unleash_api → getApiV4FeatureFlagsUnleashProjectIdFeatures

AI-generated

Summary

Retrieves Unleash feature flags for a specific GitLab project ID.

Inputs

  • project_id (required) — The ID of the GitLab project.
  • instance_id — The instance ID of the Unleash Client (optional query parameter).
  • app_name — The application name of the Unleash Client (optional query parameter).
  • skipAuthentication — Skip GitLab API authentication (defaults to false).
  • baseUrl — Base URL for the GitLab instance (defaults to 'https://gitlab.com').

Output shape

An array of feature flag objects.

Returns data conforming to the GitLab Unleash API response structure.

Examples

Example 1: List flags for project 12345

Set project_id to 12345, leave instance_id and app_name empty.

Example 2: Filter flags for a specific Unleash app

Set project_id to 12345, app_name to 'my-app', and instance_id to 'my-instance'.

Links

Discussion