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

# Estimate Group Definition

> A `GET` to the `/groups/definitions/{group}/estimate` endpoint counts the
profiles a dynamic group's database rules select (inclusions minus
exclusions). Context rules are applied per profile during a snapshot and
can only reduce the count; `context_rules` says how many the group has.



## OpenAPI

````yaml get /v3/groups/definitions/{group}/estimate
openapi: 3.1.0
info:
  title: Omneo
  version: 0.0.1
servers:
  - url: https://api.{tenant}.getomneo.com/api
    variables:
      tenant:
        default: example
security: []
paths:
  /v3/groups/definitions/{group}/estimate:
    get:
      tags:
        - Group Estimate
      summary: Estimate Group Definition
      description: >-
        A `GET` to the `/groups/definitions/{group}/estimate` endpoint counts
        the

        profiles a dynamic group's database rules select (inclusions minus

        exclusions). Context rules are applied per profile during a snapshot and

        can only reduce the count; `context_rules` says how many the group has.
      operationId: groups.definitions.estimate
      parameters:
        - name: group
          in: path
          required: true
          description: The group ID
          schema:
            type: integer
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      count:
                        type: string
                      timed_out:
                        type: string
                      upper_bound:
                        anyOf:
                          - type: 'null'
                          - type: integer
                          - type: number
                      scan:
                        type: string
                        enum:
                          - profiles
                          - index
                      context_rules:
                        type: string
                    required:
                      - count
                      - timed_out
                      - upper_bound
                      - scan
                      - context_rules
                required:
                  - data
        '401':
          $ref: '#/components/responses/AuthenticationException'
        '403':
          $ref: '#/components/responses/AuthorizationException'
        '404':
          $ref: '#/components/responses/ModelNotFoundException'
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    AuthorizationException:
      description: Authorization error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ModelNotFoundException:
      description: Not found
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors

````

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