---
title: "PendingApplicationStatsRequestModel"
url: "https://developers.zinnia.com/apis/policy-service-0-1-0/versions/8306e031-b41c-452a-a7ed-d73d65602086/schemas/PendingApplicationStatsRequestModel"
---

> Full API specification: https://developers.zinnia.com/apis/policy-service-0-1-0/versions/8306e031-b41c-452a-a7ed-d73d65602086.md

# PendingApplicationStatsRequestModel

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Policy Service
  version: 0.0.21
servers:
  - url: https://qa.api.zinnia.io
components:
  schemas:
    PendingApplicationStatsRequestModel:
      type: object
      properties:
        productName:
          description: List of product names to filter by
          type: array
          items:
            type: string
        carrier:
          description: List of carriers to filter by
          example:
            - EVGL
          type: array
          items:
            type: string
        caseStatus:
          description: List of case statuses to filter by
          type: array
          items:
            type: string
        caseIds:
          description: List of case IDs to search for
          example:
            - CASE123
            - CASE456
          type: array
          items:
            type: string
        isIncludeSecondary:
          type: boolean
          description: Whether to include secondary cases
          example: true
        caseGroups:
          description: List of case groups to search for
          type: array
          items:
            type: string
        maxAgeInDays:
          type: number
          description: 'Age in days at which bucketing stops. Returns exactly this many
            buckets: a final open-ended bucket holding everything at least
            maxAgeInDays days old (so 6 gives a "6+" bucket of cases 6 or more
            days old), preceded by one-day buckets. The first bucket is two days
            wide so cases less than a day old are still counted.'
          example: 6
          minimum: 2
          maximum: 31
        groupBy:
          type: array
          description: Dimensions to additionally group the total count by. Age bucketing
            always happens regardless of this field.
          example:
            - caseStatus
          items:
            type: string
            enum:
              - carrier
              - productName
              - caseStatus
      required:
        - maxAgeInDays
```
