GitLab CI/CD avatars API

Operations about avatars

Operations 3

GET /api/v4/groups/{id}/avatar Download the group avatar #
GET /api/v4/projects/{id}/avatar Download a project avatar #
GET /api/v4/avatar #

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-avatars-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-avatars-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GitLab access_requests Avatars API
  version: v4
  description: Operations related to access requests
servers:
- url: https://gitlab.com
tags:
- name: avatars
  description: Operations about avatars
paths:
  /api/v4/groups/{id}/avatar:
    get:
      summary: Download the group avatar
      description: This feature was introduced in GitLab 14.0
      parameters:
      - in: path
        name: id
        description: The ID of the group
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Download the group avatar
      tags:
      - avatars
      operationId: getApiV4GroupsIdAvatar
  /api/v4/projects/{id}/avatar:
    get:
      summary: Download a project avatar
      description: This feature was introduced in GitLab 16.9
      parameters:
      - in: path
        name: id
        description: ID or URL-encoded path of the project
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Download a project avatar
      tags:
      - avatars
      operationId: getApiV4ProjectsIdAvatar
  /api/v4/avatar:
    get:
      description: Return avatar url for a user
      parameters:
      - in: query
        name: email
        description: Public email address of the user
        required: true
        schema:
          type: string
      - in: query
        name: size
        description: Single pixel dimension for Gravatar images
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Return avatar url for a user
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/API_Entities_Avatar'
      tags:
      - avatars
      operationId: getApiV4Avatar
components:
  schemas:
    API_Entities_Avatar:
      type: object
      properties:
        avatar_url:
          type: string
      required:
      - avatar_url
      description: API_Entities_Avatar model
  securitySchemes:
    access_token_header:
      type: apiKey
      name: PRIVATE-TOKEN
      in: header
    access_token_query:
      type: apiKey
      name: private_token
      in: query