GitLab CI/CD unleash API

Operations about unleashes

Operations 5

GET /api/v4/feature_flags/unleash/{project_id} #
GET /api/v4/feature_flags/unleash/{project_id}/features Get a list of features (v2 client support) #
GET /api/v4/feature_flags/unleash/{project_id}/client/features #
POST /api/v4/feature_flags/unleash/{project_id}/client/register #
POST /api/v4/feature_flags/unleash/{project_id}/client/metrics #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gitlab-ci-unleash-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gitlab-ci-unleash-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GitLab access_requests Unleash API
  version: v4
  description: Operations related to access requests
servers:
- url: https://gitlab.com
tags:
- name: unleash
  description: Operations about unleashes
paths:
  /api/v4/feature_flags/unleash/{project_id}:
    get:
      description: Get Unleash features
      parameters:
      - in: path
        name: project_id
        description: The ID of a project
        required: true
        schema:
          type: string
      - in: query
        name: instance_id
        description: The instance ID of Unleash Client
        required: false
        schema:
          type: string
      - in: query
        name: app_name
        description: The application name of Unleash Client
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Get Unleash features
      tags:
      - unleash
      operationId: getApiV4FeatureFlagsUnleashProjectId
  /api/v4/feature_flags/unleash/{project_id}/features:
    get:
      summary: Get a list of features (v2 client support)
      description: Deprecated in GitLab 15.6
      parameters:
      - in: path
        name: project_id
        description: The ID of a project
        required: true
        schema:
          type: string
      - in: query
        name: instance_id
        description: The instance ID of Unleash Client
        required: false
        schema:
          type: string
      - in: query
        name: app_name
        description: The application name of Unleash Client
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Get a list of features (v2 client support)
      tags:
      - unleash
      operationId: getApiV4FeatureFlagsUnleashProjectIdFeatures
      deprecated: true
  /api/v4/feature_flags/unleash/{project_id}/client/features:
    get:
      description: Get a list of features
      parameters:
      - in: path
        name: project_id
        description: The ID of a project
        required: true
        schema:
          type: string
      - in: query
        name: instance_id
        description: The instance ID of Unleash Client
        required: false
        schema:
          type: string
      - in: query
        name: app_name
        description: The application name of Unleash Client
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Get a list of features
      tags:
      - unleash
      operationId: getApiV4FeatureFlagsUnleashProjectIdClientFeatures
  /api/v4/feature_flags/unleash/{project_id}/client/register:
    post:
      description: Register Unleash client
      parameters:
      - in: path
        name: project_id
        description: The ID of a project
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Register Unleash client
      tags:
      - unleash
      operationId: postApiV4FeatureFlagsUnleashProjectIdClientRegister
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/postApiV4FeatureFlagsUnleashProjectIdClientRegister'
        required: true
  /api/v4/feature_flags/unleash/{project_id}/client/metrics:
    post:
      description: Report Unleash client metrics
      parameters:
      - in: path
        name: project_id
        description: The ID of a project
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Report Unleash client metrics
      tags:
      - unleash
      operationId: postApiV4FeatureFlagsUnleashProjectIdClientMetrics
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/postApiV4FeatureFlagsUnleashProjectIdClientMetrics'
        required: true
components:
  schemas:
    postApiV4FeatureFlagsUnleashProjectIdClientMetrics:
      type: object
      properties:
        instance_id:
          type: string
          description: The instance ID of Unleash Client
        app_name:
          type: string
          description: The application name of Unleash Client
      description: Report Unleash client metrics
    postApiV4FeatureFlagsUnleashProjectIdClientRegister:
      type: object
      properties:
        instance_id:
          type: string
          description: The instance ID of Unleash Client
        app_name:
          type: string
          description: The application name of Unleash Client
      description: Register Unleash client
  securitySchemes:
    access_token_header:
      type: apiKey
      name: PRIVATE-TOKEN
      in: header
    access_token_query:
      type: apiKey
      name: private_token
      in: query