---
title: "Query alert settings"
method: POST
path: "/alerts/setting/search"
tags: ["AlertSettings"]
---

# Query alert settings

`POST /alerts/setting/search`

List or search alert settings. Returns a paginated list.

## Request body

- TypesAlertSettingsFilter
  - `enabled` boolean
  - `end_time` string, date-time
  - `entity_id` string
  - `entity_ids` string[]
  - `entity_type` 'wallet' | 'feature' | 'subscription' | 'subscription_line_item' | 'group' | 'entitlement_grant'
  - `expand` string
  - `filters` TypesFilterCondition[] — filters allows complex filtering based on multiple fields
    - `data_type` 'string' | 'number' | 'date' | 'array'
    - `field` string
    - `operator` 'eq' | 'contains' | 'not_contains' | 'gt' | 'lt' | 'gte' | 'in' | 'not_in' | 'before' | 'after'
    - `value` TypesValue
      - `array` string[]
      - `boolean` boolean
      - `date` string
      - `number` number
      - `string` string
  - `limit` integer
  - `offset` integer
  - `order` 'asc' | 'desc'
  - `parent_entity_id` string
  - `parent_entity_ids` string[]
  - `parent_entity_type` 'wallet' | 'feature' | 'subscription' | 'subscription_line_item' | 'group' | 'entitlement_grant'
  - `sort` TypesSortCondition[]
    - `direction` 'asc' | 'desc'
    - `field` string
  - `start_time` string, date-time
  - `status` 'published' | 'deleted' | 'archived'

## Response `200`

OK

- ListAlertSettingsResponse
  - `items` AlertSettingsResponse[]
    - `config` TypesAlertSettings
      - `alert_enabled` boolean
      - `critical` TypesAlertThreshold
        - `condition` 'above' | 'below'
        - `threshold` string
      - `info` TypesAlertThreshold
        - `condition` 'above' | 'below'
        - `threshold` string
      - `warning` TypesAlertThreshold
        - `condition` 'above' | 'below'
        - `threshold` string
    - `created_at` string, date-time
    - `created_by` string
    - `enabled` boolean
    - `entity_id` string
    - `entity_type` 'wallet' | 'feature' | 'subscription' | 'subscription_line_item' | 'group' | 'entitlement_grant'
    - `environment_id` string
    - `id` string
    - `parent_entity_id` string
    - `parent_entity_type` string
    - `status` 'published' | 'deleted' | 'archived'
    - `tenant_id` string
    - `updated_at` string, date-time
    - `updated_by` string
  - `pagination` TypesPaginationResponse
    - `limit` integer
    - `offset` integer
    - `total` integer

## Other responses

- `400` — Invalid request
- `500` — Server error

---

[API](https://skmtc.net/flexprice/apis/flexprice-api.md) · [All operations](https://skmtc.net/flexprice/apis/flexprice-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flexprice/flexprice-api/revisions/f0601ed97bd3/schema)
