---
title: "StatsSearchModel"
url: "https://developers.zinnia.com/apis/case-management-1-0-0/versions/0091226b-6452-4e75-93ce-4bbfe022aad5/schemas/StatsSearchModel"
---

> Full API specification: https://developers.zinnia.com/apis/case-management-1-0-0/versions/0091226b-6452-4e75-93ce-4bbfe022aad5.md

# StatsSearchModel

Search criteria for case status comparison

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Case Management API
  version: 1.0.0
servers:
  - url: https://dev.api.zinnia.io/
    description: Dev Environment
  - url: https://qa.api.zinnia.io/
    description: QA Environment
  - url: https://uat.api.zinnia.io/
    description: UAT Environment
  - url: https://api.zinnia.io/
    description: PROD Environment
components:
  schemas:
    StatsSearchModel:
      type: object
      description: Search criteria for case status comparison
      required:
        - carrier
        - groupBy
      properties:
        carrier:
          type: array
          items:
            type: string
          description: List of carriers to filter by
          example:
            - ELIC
            - SBUL
        groupBy:
          type: array
          items:
            type: string
            enum:
              - caseStatus
          description: Must be set to caseStatus for this endpoint
          example:
            - caseStatus
```
