GitLab CI/CD error_tracking API

Operations about error_trackings

Operations 6

GET /api/v4/projects/{id}/error_tracking/client_keys List project client keys #
POST /api/v4/projects/{id}/error_tracking/client_keys Create a client key #
DELETE /api/v4/projects/{id}/error_tracking/client_keys/{key_id} Delete a client key #
GET /api/v4/projects/{id}/error_tracking/settings Get Error Tracking settings #
PATCH /api/v4/projects/{id}/error_tracking/settings Enable or disable the Error Tracking project settings #
PUT /api/v4/projects/{id}/error_tracking/settings Update Error Tracking project settings. Available in GitLab 15.10 and later. #

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-error-tracking-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-error-tracking-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GitLab access_requests Error Tracking API
  version: v4
  description: Operations related to access requests
servers:
- url: https://gitlab.com
tags:
- name: error_tracking
  description: Operations about error_trackings
paths:
  /api/v4/projects/{id}/error_tracking/client_keys:
    get:
      summary: List project client keys
      description: List all client keys. This feature was introduced in GitLab 14.3.
      parameters:
      - in: path
        name: id
        description: The ID or URL-encoded path of the project owned by the authenticated user
        required: true
        schema:
          type: string
      responses:
        '200':
          description: List project client keys
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/API_Entities_ErrorTracking_ClientKey'
      tags:
      - error_tracking
      operationId: getApiV4ProjectsIdErrorTrackingClientKeys
    post:
      summary: Create a client key
      description: Creates a new client key for a project. The public key attribute is generated automatically.This feature was introduced in GitLab 14.3.
      parameters:
      - in: path
        name: id
        description: The ID or URL-encoded path of the project owned by the authenticated user
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Create a client key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/API_Entities_ErrorTracking_ClientKey'
      tags:
      - error_tracking
      operationId: postApiV4ProjectsIdErrorTrackingClientKeys
  /api/v4/projects/{id}/error_tracking/client_keys/{key_id}:
    delete:
      summary: Delete a client key
      description: Removes a client key from the project. This feature was introduced in GitLab 14.3.
      parameters:
      - in: path
        name: id
        description: The ID or URL-encoded path of the project owned by the authenticated user
        required: true
        schema:
          type: string
      - in: path
        name: key_id
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '204':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      tags:
      - error_tracking
      operationId: deleteApiV4ProjectsIdErrorTrackingClientKeysKeyId
  /api/v4/projects/{id}/error_tracking/settings:
    get:
      summary: Get Error Tracking settings
      description: Get error tracking settings for the project. This feature was introduced in GitLab 12.7.
      parameters:
      - in: path
        name: id
        description: The ID or URL-encoded path of the project owned by the authenticated user
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Get Error Tracking settings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/API_Entities_ErrorTracking_ProjectSetting'
      tags:
      - error_tracking
      operationId: getApiV4ProjectsIdErrorTrackingSettings
    patch:
      summary: Enable or disable the Error Tracking project settings
      description: The API allows you to enable or disable the Error Tracking settings for a project.Only for users with the Maintainer role for the project.
      parameters:
      - in: path
        name: id
        description: The ID or URL-encoded path of the project owned by the authenticated user
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Enable or disable the Error Tracking project settings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/API_Entities_ErrorTracking_ProjectSetting'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      tags:
      - error_tracking
      operationId: patchApiV4ProjectsIdErrorTrackingSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/patchApiV4ProjectsIdErrorTrackingSettings'
        required: true
    put:
      summary: Update Error Tracking project settings. Available in GitLab 15.10 and later.
      description: Update Error Tracking settings for a project. Only for users with Maintainer role for the project.
      parameters:
      - in: path
        name: id
        description: The ID or URL-encoded path of the project owned by the authenticated user
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Update Error Tracking project settings. Available in GitLab 15.10 and later.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/API_Entities_ErrorTracking_ProjectSetting'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Not found
      tags:
      - error_tracking
      operationId: putApiV4ProjectsIdErrorTrackingSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/putApiV4ProjectsIdErrorTrackingSettings'
        required: true
components:
  schemas:
    API_Entities_ErrorTracking_ClientKey:
      type: object
      properties:
        id:
          type: integer
          format: int32
          example: 1
        active:
          type: boolean
        public_key:
          type: string
          example: glet_aa77551d849c083f76d0bc545ed053a3
        sentry_dsn:
          type: string
          example: https://glet_aa77551d849c083f76d0bc545ed053a3@example.com/errortracking/api/v1/projects/5
      required:
      - id
      - active
      - public_key
      - sentry_dsn
      description: API_Entities_ErrorTracking_ClientKey model
    putApiV4ProjectsIdErrorTrackingSettings:
      type: object
      properties:
        active:
          type: boolean
          description: Pass true to enable the configured Error Tracking settings or false to disable it.
        integrated:
          type: boolean
          description: Pass true to enable the integrated Error Tracking backend.
      required:
      - active
      - integrated
      description: Update Error Tracking project settings. Available in GitLab 15.10 and later.
    patchApiV4ProjectsIdErrorTrackingSettings:
      type: object
      properties:
        active:
          type: boolean
          description: Pass true to enable the already configured Error Tracking settings or false to disable it.
        integrated:
          type: boolean
          description: Pass true to enable the integrated Error Tracking backend. Available in GitLab 14.2 and later.
      required:
      - active
      description: Enable or disable the Error Tracking project settings
    API_Entities_ErrorTracking_ProjectSetting:
      type: object
      properties:
        active:
          type: boolean
        project_name:
          type: string
          example: sample sentry project
        sentry_external_url:
          type: string
          example: https://sentry.io/myawesomeproject/project
        api_url:
          type: string
          example: https://sentry.io/api/0/projects/myawesomeproject/project
        integrated:
          type: boolean
      required:
      - active
      - project_name
      - sentry_external_url
      - api_url
      - integrated
      description: API_Entities_ErrorTracking_ProjectSetting model
  securitySchemes:
    access_token_header:
      type: apiKey
      name: PRIVATE-TOKEN
      in: header
    access_token_query:
      type: apiKey
      name: private_token
      in: query