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

# Get Resource Counts

> Returns the count of each resource type (schema definition) for the authenticated tenant. Useful for monitoring data syncing and comparing numbers with partner databases.



## OpenAPI

````yaml GET /api/resources/counts
openapi: 3.0.0
info:
  title: Reach API
  version: 1.0.0
  description: API documentation for Reach platform
servers:
  - url: https://api.embedreach.com
    description: Production server
security: []
paths:
  /api/resources/counts:
    get:
      tags:
        - Partner Resources
      summary: Get Resource Counts
      description: >-
        Returns the count of each resource type (schema definition) for the
        authenticated tenant. Useful for monitoring data syncing and comparing
        numbers with partner databases.
      parameters:
        - name: reach-tenant-id
          in: header
          required: false
          schema:
            type: string
            description: >-
              If using a platform scoped JWT, you can pass in a header to
              impersonate a specific tenant to impersonate the request as.
      responses:
        '200':
          description: Status 200 response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      counts:
                        type: array
                        items:
                          type: object
                          properties:
                            schemaDefinitionId:
                              type: string
                              format: uuid
                              description: The ID of the schema definition
                            schemaDefinitionName:
                              type: string
                              description: The name of the schema definition
                            count:
                              type: number
                              description: The count of resources for this schema
                          required:
                            - schemaDefinitionId
                            - schemaDefinitionName
                            - count
                        description: Array of resource counts grouped by schema definition
                    required:
                      - counts
                required:
                  - success
        '400':
          description: Bad Request - Validation or request error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                    default: false
                  message:
                    type: string
                    description: Error message describing what went wrong
                  errors:
                    type: array
                    items:
                      type: string
                    description: Optional array of specific validation errors
                required:
                  - message

````