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

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

# ActivityFeedFilters

## 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:
    ActivityFeedAction:
      type: string
      enum:
        - CREATED
        - STATUS_CHANGE
        - ASSIGNMENT
        - UNASSIGNMENT
      description: Type of action performed on the entity
    ActivityFeedFilters:
      type: object
      properties:
        entityType:
          type: string
          description: >
            Type of entity to filter by (e.g. STAGE, STEP). When combined with
            includeHierarchicalEntities, feeds whose

            entity matches this type act as seeds; descendant feeds under those
            entities may be included.
          example: STAGE
        entityIds:
          type: array
          description: >
            Entity ids to match (e.g. stage or step id). When
            includeHierarchicalEntities is true, feeds under these

            entities in the case hierarchy may also be returned.
          items:
            type: string
          example:
            - policyValidation
            - policyValidation.childStep
        instanceInfoIds:
          type: array
          description: >
            Instance-info identifiers (e.g. from entityInstanceInfo on a step)
            used to narrow feeds; hierarchical rules

            apply when includeHierarchicalEntities is true.
          items:
            type: string
          example:
            - inst-search-cuke-60
        includeHierarchicalEntities:
          type: boolean
          default: false
          description: >
            When true, expands results to include descendant feeds in the
            activity hierarchy for the selected entity ids,

            entity type, or instance-info scope. When false, only directly
            matching feeds are considered before other filters.
          example: true
        action:
          $ref: "#/components/schemas/ActivityFeedAction"
        startDate:
          type: string
          format: date-time
          description: Start date for filtering activity feed records
          example: 2025-12-29T00:00:00Z
        endDate:
          type: string
          format: date-time
          description: End date for filtering activity feed records
          example: 2025-12-29T23:59:59Z
```
