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

# Conversation counts for a record

> Open and total conversation counts for a record, so a tab can show a real
number instead of the size of whatever page happens to be loaded.



## OpenAPI

````yaml https://api.gleap.io/api-docs.json get /records/{recordType}/{recordId}/counts
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /records/{recordType}/{recordId}/counts:
    get:
      tags:
        - Records
      summary: Conversation counts for a record
      description: >-
        Open and total conversation counts for a record, so a tab can show a
        real

        number instead of the size of whatever page happens to be loaded.
      operationId: Counts
      parameters:
        - in: path
          name: recordType
          required: true
          schema:
            type: string
        - in: path
          name: recordId
          required: true
          schema:
            type: string
        - in: header
          name: project
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                properties:
                  total:
                    type: number
                    format: double
                  open:
                    type: number
                    format: double
                required:
                  - total
                  - open
                type: object
      security:
        - jwt: []
components:
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT

````