GitLab CI/CD custom_attributes API

Operations about custom_attributes

Operations 8

GET /api/v4/groups/{id}/custom_attributes #
GET /api/v4/groups/{id}/custom_attributes/{key} #
PUT /api/v4/groups/{id}/custom_attributes/{key} #
DELETE /api/v4/groups/{id}/custom_attributes/{key} #
GET /api/v4/projects/{id}/custom_attributes #
GET /api/v4/projects/{id}/custom_attributes/{key} #
PUT /api/v4/projects/{id}/custom_attributes/{key} #
DELETE /api/v4/projects/{id}/custom_attributes/{key} #

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-custom-attributes-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-custom-attributes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GitLab access_requests Custom Attributes API
  version: v4
  description: Operations related to access requests
servers:
- url: https://gitlab.com
tags:
- name: custom_attributes
  description: Operations about custom_attributes
paths:
  /api/v4/groups/{id}/custom_attributes:
    get:
      description: Get all custom attributes on a group
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Get all custom attributes on a group
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/API_Entities_CustomAttribute'
      tags:
      - custom_attributes
      operationId: getApiV4GroupsIdCustomAttributes
  /api/v4/groups/{id}/custom_attributes/{key}:
    get:
      description: Get a custom attribute on a group
      parameters:
      - in: path
        name: key
        description: The key of the custom attribute
        required: true
        schema:
          type: string
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Get a custom attribute on a group
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/API_Entities_CustomAttribute'
      tags:
      - custom_attributes
      operationId: getApiV4GroupsIdCustomAttributesKey
    put:
      description: Set a custom attribute on a group
      parameters:
      - in: path
        name: key
        description: The key of the custom attribute
        required: true
        schema:
          type: string
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Set a custom attribute on a group
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/API_Entities_CustomAttribute'
      tags:
      - custom_attributes
      operationId: putApiV4GroupsIdCustomAttributesKey
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/putApiV4GroupsIdCustomAttributesKey'
        required: true
    delete:
      description: Delete a custom attribute on a group
      parameters:
      - in: path
        name: key
        description: The key of the custom attribute
        required: true
        schema:
          type: string
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '204':
          description: Delete a custom attribute on a group
      tags:
      - custom_attributes
      operationId: deleteApiV4GroupsIdCustomAttributesKey
  /api/v4/projects/{id}/custom_attributes:
    get:
      description: Get all custom attributes on a project
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Get all custom attributes on a project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/API_Entities_CustomAttribute'
      tags:
      - custom_attributes
      operationId: getApiV4ProjectsIdCustomAttributes
  /api/v4/projects/{id}/custom_attributes/{key}:
    get:
      description: Get a custom attribute on a project
      parameters:
      - in: path
        name: key
        description: The key of the custom attribute
        required: true
        schema:
          type: string
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Get a custom attribute on a project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/API_Entities_CustomAttribute'
      tags:
      - custom_attributes
      operationId: getApiV4ProjectsIdCustomAttributesKey
    put:
      description: Set a custom attribute on a project
      parameters:
      - in: path
        name: key
        description: The key of the custom attribute
        required: true
        schema:
          type: string
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Set a custom attribute on a project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/API_Entities_CustomAttribute'
      tags:
      - custom_attributes
      operationId: putApiV4ProjectsIdCustomAttributesKey
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/putApiV4ProjectsIdCustomAttributesKey'
        required: true
    delete:
      description: Delete a custom attribute on a project
      parameters:
      - in: path
        name: key
        description: The key of the custom attribute
        required: true
        schema:
          type: string
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '204':
          description: Delete a custom attribute on a project
      tags:
      - custom_attributes
      operationId: deleteApiV4ProjectsIdCustomAttributesKey
components:
  schemas:
    putApiV4GroupsIdCustomAttributesKey:
      type: object
      properties:
        value:
          type: string
          description: The value of the custom attribute
      required:
      - value
      description: Set a custom attribute on a group
    putApiV4ProjectsIdCustomAttributesKey:
      type: object
      properties:
        value:
          type: string
          description: The value of the custom attribute
      required:
      - value
      description: Set a custom attribute on a project
    API_Entities_CustomAttribute:
      type: object
      properties:
        key:
          type: string
          example: foo
        value:
          type: string
          example: bar
      required:
      - key
      - value
      description: API_Entities_CustomAttribute model
  securitySchemes:
    access_token_header:
      type: apiKey
      name: PRIVATE-TOKEN
      in: header
    access_token_query:
      type: apiKey
      name: private_token
      in: query