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

# Count decisions



## OpenAPI

````yaml get /v1/decisions/counts
openapi: 3.0.0
info:
  title: Decision APIs Specification
  description: Section for description
  version: '1.0'
  contact: {}
servers:
  - url: https://staging.api.us.aptlydone.com/decision
  - url: https://staging.api.eu.aptlydone.com/decision
  - url: https://api.us.aptlydone.com/decision
  - url: https://api.eu.aptlydone.com/decision
security: []
tags: []
paths:
  /v1/decisions/counts:
    get:
      tags:
        - decisions
      summary: Count decisions
      operationId: DecisionController_getDecisionCounts_v1
      parameters:
        - name: tenantId
          required: true
          in: query
          description: Tenant ID
          schema:
            example: 105fa115-52d0-4466-baff-740447a60774
            type: string
      responses:
        '200':
          description: Decision counts retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DecisionCountsResponseDtoResponse'
      security:
        - accessToken: []
components:
  schemas:
    DecisionCountsResponseDtoResponse:
      type: object
      properties:
        statusCode:
          type: number
          description: HTTP Status code
          example: 200
        timestamp:
          type: string
          description: Timestamp of the response
          example: '2026-01-08T06:33:50.384Z'
        message:
          type: string
          description: Response message
          example: Success
        data:
          description: Response data
          allOf:
            - $ref: '#/components/schemas/DecisionCountsResponseDto'
      required:
        - statusCode
        - timestamp
        - message
        - data
    DecisionCountsResponseDto:
      type: object
      properties:
        active:
          type: number
          example: 5
          description: Count of active decisions (status = PUBLISHED)
        inactive:
          type: number
          example: 10
          description: Count of inactive decisions (status = DRAFT or ARCHIVED)
        all:
          type: number
          example: 20
          description: Count of all decisions (status value can be any including DELETED)
      required:
        - active
        - inactive
        - all
  securitySchemes:
    accessToken:
      scheme: bearer
      bearerFormat: JWT
      type: http

````