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

# POST /v0/admin/sv/voteresults/count

> Count all vote results matching the request filters.



## OpenAPI

````yaml /openapi/splice/scan/scan.yaml post /v0/admin/sv/voteresults/count
openapi: 3.0.0
info:
  title: Scan API
  version: 0.0.1
servers:
  - url: https://scan.sv-1.global.canton.network.sync.global/api/scan
security: []
tags:
  - name: external
    description: >
      These endpoints are intended for public usage and will remain
      backward-compatible.
  - name: internal
    description: >
      For internal usage only, not guaranteed to be stable or
      backward-compatible.
  - name: deprecated
    description: |
      These endpoints are deprecated and will be removed in a future release.
  - name: scan
    description: |
      The internal and external endpoints.
  - name: pre-alpha
    description: |
      Still under active development, highly unstable. Do not use in production.
paths:
  /v0/admin/sv/voteresults/count:
    post:
      tags:
        - internal
        - scan
      summary: POST /v0/admin/sv/voteresults/count
      description: Count all vote results matching the request filters.
      operationId: countVoteRequestResults
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CountVoteResultsRequest'
      responses:
        '200':
          description: ok
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CountVoteResultsResponse'
components:
  schemas:
    CountVoteResultsRequest:
      description: |
        Filters for counting vote results. Same semantics as the corresponding
        fields on `ListVoteResultsRequest`.
      type: object
      properties:
        actionName:
          type: string
        accepted:
          type: boolean
        requester:
          type: string
        effectiveFrom:
          type: string
        effectiveTo:
          type: string
    CountVoteResultsResponse:
      type: object
      required:
        - count
      properties:
        count:
          type: integer
          format: int64
          description: Total number of vote results matching the request filters.

````