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

# Count of members matching the filters

> Number of members matching the same filters as the users list — the filtered total the
paginated list response can't carry itself, so the console can size its pager range and page
count to the active filters. Filters compose (AND) exactly as on the list.



## OpenAPI

````yaml https://app.podero.com/api/partners/v2.0/openapi.json get /api/partners/v2.0/org/{org_id}/users/count
openapi: 3.1.0
info:
  title: Podero Partner API
  version: '2.0'
  description: >-
    This API provides a unified interaction point for Podero's partner
    companies.


    The goal of this API is to give partners easily integratable endpoints that
    don't require extensive software

    development. For this reason, the endpoints focus around user and device
    management, setting of preferences

    and high level device controls.


    While direct control of devices is implemented for special use cases such as
    pause power, we abstract away low level

    direct device steering so developers and partners can focus on delivering
    maximum value to end users.
  termsOfService: https://www.podero.com/terms-and-conditions
servers: []
security: []
paths:
  /api/partners/v2.0/org/{org_id}/users/count:
    get:
      tags:
        - Users
      summary: Count of members matching the filters
      description: >-
        Number of members matching the same filters as the users list — the
        filtered total the

        paginated list response can't carry itself, so the console can size its
        pager range and page

        count to the active filters. Filters compose (AND) exactly as on the
        list.
      operationId: >-
        integrations_api_api_v2_organizations_users_router_count_organization_users
      parameters:
        - in: path
          name: org_id
          schema:
            description: The organization ID of the requested users
            format: uuid
            title: Org Id
            type: string
          required: true
          description: The organization ID of the requested users
        - in: query
          name: q
          schema:
            description: Search by name, email, external user id, town, or exact member id
            title: Q
            type: string
          required: false
          description: Search by name, email, external user id, town, or exact member id
        - in: query
          name: status
          schema:
            anyOf:
              - items:
                  enum:
                    - disabled
                    - communication-error
                    - steering-error
                    - actions-required
                    - troubleshooting
                    - communication-warning
                    - steering-warning
                    - normal
                  type: string
                type: array
              - type: 'null'
            description: >-
              Only members whose operational status is one of these buckets
              (repeatable)
            title: Status
          required: false
          description: >-
            Only members whose operational status is one of these buckets
            (repeatable)
        - in: query
          name: role
          schema:
            allOf:
              - enum:
                  - admin
                  - staff
                  - user
                  - guest
                title: Role
                type: string
            description: Only members with this organization role
          required: false
          description: Only members with this organization role
        - in: query
          name: device_kind
          schema:
            description: >-
              Only members owning a device of this kind (`any` = at least one
              device)
            enum:
              - any
              - ev
              - hp
              - inv
              - wb
            title: Device Kind
            type: string
          required: false
          description: >-
            Only members owning a device of this kind (`any` = at least one
            device)
        - in: query
          name: device_steering
          schema:
            description: >-
              Only members owning an operational device that is steered (`on`)
              or not (`off`). Composes with `device_kind` as a same-device
              condition: both must hold for one and the same device, so a member
              with a steered EV and an unsteered inverter matches
              `device_kind=inv&device_steering=off` but not
              `device_kind=ev&device_steering=off`. A member with no devices
              matches neither value.
            enum:
              - 'on'
              - 'off'
            title: Device Steering
            type: string
          required: false
          description: >-
            Only members owning an operational device that is steered (`on`) or
            not (`off`). Composes with `device_kind` as a same-device condition:
            both must hold for one and the same device, so a member with a
            steered EV and an unsteered inverter matches
            `device_kind=inv&device_steering=off` but not
            `device_kind=ev&device_steering=off`. A member with no devices
            matches neither value.
        - in: query
          name: manufacturer
          schema:
            description: Only members owning an operational device from this manufacturer
            title: Manufacturer
            type: string
          required: false
          description: Only members owning an operational device from this manufacturer
        - in: query
          name: joined_after
          schema:
            description: Only members who joined on or after this UTC day
            format: date
            title: Joined After
            type: string
          required: false
          description: Only members who joined on or after this UTC day
        - in: query
          name: joined_before
          schema:
            description: Only members who joined on or before this UTC day
            format: date
            title: Joined Before
            type: string
          required: false
          description: Only members who joined on or before this UTC day
        - in: query
          name: include_deleted
          schema:
            default: false
            description: If true, includes soft-deleted
            title: Include Deleted
            type: boolean
          required: false
          description: If true, includes soft-deleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsersCountOutput'
      security:
        - OAuth2: []
components:
  schemas:
    UsersCountOutput:
      description: >-
        Number of members matching the users-list filters — the filtered total
        the paginated list

        can't report itself, so the console can size its pager range and page
        count to the active

        filters instead of the org-wide total.
      properties:
        total:
          title: Total
          type: integer
      required:
        - total
      title: UsersCountOutput
      type: object
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        password:
          tokenUrl: /api/partners/v2.0/auth/token
          scopes: {}
        clientCredentials:
          tokenUrl: /api/partners/v2.0/auth/token
          scopes: {}

````