> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galtea.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the analytics impact of a revision

> Count the results and products affected if this revision is excluded from analytics. The count covers this revision alone. A caller limited to the products its user groups grant gets counts for those products only. The id is a revision id. A metric id answers 404.



## OpenAPI

````yaml /openapi.json get /v2/revisions/{id}/analytics-exclusion-impact
openapi: 3.0.0
info:
  version: 1.0.0
  title: Product Management Service API
  description: API documentation for Product Management Service
  contact:
    name: Galtea AI
servers:
  - url: https://api.galtea.ai
security:
  - bearerAuth: []
tags: []
externalDocs:
  description: Galtea Platform Documentation
  url: https://docs.galtea.ai
paths:
  /v2/revisions/{id}/analytics-exclusion-impact:
    get:
      tags:
        - revisions
      summary: Get the analytics impact of a revision
      description: >-
        Count the results and products affected if this revision is excluded
        from analytics. The count covers this revision alone. A caller limited
        to the products its user groups grant gets counts for those products
        only. The id is a revision id. A metric id answers 404.
      operationId: getRevisionAnalyticsExclusionImpact
      parameters:
        - schema:
            type: string
            minLength: 1
            description: >-
              Revision ID. A metric ID answers 404; read a metric under
              /v2/metrics.
            example: revision_123
          required: true
          description: >-
            Revision ID. A metric ID answers 404; read a metric under
            /v2/metrics.
          name: id
          in: path
      responses:
        '200':
          description: Revision analytics exclusion impact
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MetricAnalyticsExclusionImpactResponse'
        '400':
          description: >-
            A revision of a Galtea metric, or of a metric of another
            organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The caller may not update this revision
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Revision not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    MetricAnalyticsExclusionImpactResponse:
      type: object
      properties:
        resultCount:
          type: integer
          minimum: 0
        products:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              resultCount:
                type: integer
                minimum: 0
            required:
              - id
              - name
              - resultCount
      required:
        - resultCount
        - products
    Error:
      type: object
      properties:
        error:
          type: string
          example: Error type
        message:
          type: string
          example: Error message description
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authorization. Pass your API key in the Authorization header as
        a Bearer token. Both new (`gsk_*`) and legacy (`gsk-`) API keys are
        accepted, e.g. `Authorization: Bearer gsk_...` or `Authorization: Bearer
        gsk-...`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.