---
title: "Get Assets By Generic Filter"
method: POST
path: "/assets/filter"
---

# Get Assets By Generic Filter

`POST /assets/filter`

## Request

- Base URL: `https://dc-region.zuperpro.com/api`
- URL: `https://dc-region.zuperpro.com/api/assets/filter`
- Auth: API key in header `x-api-key`

Rule-engine-based list endpoint — an alternative to the simple `filter.*` query params on Get All Assets, for building complex AND/OR filter conditions.

## Query parameters

- `page` integer, required
- `limit` integer, required
- `sort` 'ASC' | 'DESC', required
- `sort_by` 'asset_code' | 'asset_name' | 'asset_serial_number' | 'purchase_date' | 'placed_in_service' | 'warranty_expiry_date' | 'created_at' | 'updated_at', required

## Request body

- object
  - `filter_rules` object[], required
    - `displayKeyValue` string[]
    - `field_type` string
    - `key` string
    - `module` string
    - `operator` 'EQUAL_TO' | 'GREATER_THAN' | 'LESS_THAN' | 'BETWEEN' | 'NOT_EQUAL_TO' | 'CONTAINS' | 'NOT_CONTAINS' | 'IS_EMPTY' | 'IS_NOT_EMPTY' | 'LESS_THAN_EQUAL_TO' | 'IN' | 'NOT_IN'
    - `type` string
    - `value` string[]

## Response `200`

200

- object
  - `type` string
  - `data` object[]
    - `customer` object
      - `customer_uid` string
      - `customer_first_name` string
      - `customer_last_name` string
      - `customer_organization` object
        - `is_active` boolean
        - `is_deleted` boolean
        - `organization_address` object
          - `street` string
          - `landmark` string
          - `city` string
          - `zip_code` string
          - `geo_cordinates` number[]
          - `state` string
          - `country` string
        - `organization_name` string
        - `organization_logo` string
        - `organization_email` string
        - `organization_uid` string
      - `customer_company_name` string
      - `customer_email` string
      - `customer_contact_no` object
        - `mobile` string
        - `home` string
        - `work` string
      - `is_active` boolean
      - `is_deleted` boolean
    - `asset_code` string
    - `asset_name` string
    - `asset_quantity` integer
    - `placed_in_service` string
    - `asset_uid` string
    - `created_by` object
      - `user_uid` string
      - `first_name` string
      - `last_name` string
      - `email` string
      - `external_login_id` unknown
      - `home_phone_number` string
      - `designation` string
      - `emp_code` string
      - `prefix` unknown
      - `work_phone_number` string
      - `mobile_phone_number` unknown
      - `profile_picture` string
      - `hourly_labor_charge` integer
      - `is_active` boolean
      - `is_deleted` boolean
      - `created_at` string
      - `updated_at` string
    - `updated_at` string
    - `created_at` string
    - `is_active` boolean
    - `is_deleted` boolean
    - `asset_location` object
      - `city` string
      - `state` string
      - `street` string
      - `country` string
      - `zip_code` string
      - `first_name` string
      - `last_name` string
      - `phone_number` string
      - `email` string
    - `custom_fields` object[]
      - `label` string
      - `value` string
      - `type` string
      - `hide_to_fe` boolean
      - `hide_field` boolean
      - `read_only` boolean
      - `_id` string
    - `owned_by_customer` boolean
    - `asset_serial_number` string
    - `warranty_expiry_date` string
    - `asset_status` string
    - `asset_category` object
      - `is_deleted` boolean
      - `category_name` string
      - `category_description` string
      - `category_uid` string
    - `purchase_date` string
    - `organization` object
      - `is_deleted` boolean
      - `organization_address` object
        - `street` string
        - `landmark` string
        - `city` string
        - `zip_code` string
        - `geo_cordinates` number[]
        - `state` string
        - `country` string
      - `organization_name` string
      - `organization_logo` string
      - `organization_email` string
      - `organization_uid` string
      - `no_of_customers` integer
    - `property` unknown
    - `asset_description` unknown
    - `asset_image` unknown
    - `parent_asset` unknown
    - `id` string
  - `total_records` integer
  - `total_pages` integer
  - `current_page` integer

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `3c21bc232e16`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuper/apis/zuper-pro-api/changes/assets/filter/post.md)

---

[API](https://skmtc.dev/zuper/apis/zuper-pro-api.md) - [All operations](https://skmtc.dev/zuper/apis/zuper-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zuper/apis/zuper-pro-api/revisions/3c21bc232e16?raw)
