# PoliciesResponse **Type:** GraphQL objects **Description:** Response type for policies query containing items and total count ## Fields - items (Policy, Not Null): List of policies matching the filter - id (ID): Unique identifier for the policy - name (String): Policy name - description (String): Detailed description of what the policy does - mode (PolicyMode): Current enforcement mode of the policy - status (PolicyStatus): Current status of the policy - trigger (PolicyTrigger): Event that triggers policy evaluation - conditions (PolicyConditionGroup): Conditions that must be met for the policy to match - actions (PolicyAction): Actions to execute when policy conditions match - autoResolve (Boolean): Automatically resolve issues when conditions are no longer met - isDefault (Boolean): Indicates if this policy is a system default or custom/modified by the tenant - issuesCount (Int): Number of issues created by this policy - lastExecutedAt (DateTime): When the policy was last executed - createdAt (DateTime): When the policy was created - updatedAt (DateTime): When the policy was last updated - createdBy (Owner): User who created the policy - updatedBy (Owner): User who last updated the policy - version (Int): Version number, incremented on each update - deletedAt (DateTime): When the policy was soft-deleted (null if active) - environmentTypes (EnvironmentType): Effective environment types where this policy applies. Returns specific environments if conditions include environment filters, or all environments (Prod, Sandbox, Dev) if no environment filter is specified. - total (Int): Total count of policies matching the filter (ignoring pagination) - aggregations (PolicyAggregations): Aggregated statistics for the filtered policies (computed lazily via field resolver) - total (Int): Total number of policies matching the filter - productionCoverage (Float): Percentage of production environments covered by policies (includes Unspecified) - byStatus (StatusDistribution): Distribution of policies by status (Active/Disabled) - byEnvironmentType (EnvironmentTypeDistribution): Distribution of policies across environment types - byEnvironment (EnvironmentDistribution): Distribution of policies across specific environment names