---
title: "Search Assets"
method: POST
path: "/app/v1/assets/search"
tags: ["assets"]
---

# Search Assets

`POST /app/v1/assets/search`

## Request body

- object
  - `page` number — Which page to return
  - `page_size` number — How many items to list in a page
  - `sort_by` 'id' | 'asset_type'
  - `sort_direction` 'asc' | 'desc' — sort direction
  - `filter` AssetFilterFields
    - `facility.custom_attributes` object
    - `facility.id` string
    - `facility.name` string
    - `facility.status` string
    - `equipment.custom_attributes` object
    - `equipment.id` string
    - `equipment.name` string
    - `equipment.status` 'active' | 'inactive' | 'deprecated'
    - `equipment.type.id` string
    - `equipment.type.name` string
    - `device.attributes` object
    - `device.custom_attributes` object
    - `device.id` string
    - `device.measurement_types` string
    - `device.name` string
    - `device.status` string
    - `device.type_id` string
    - `flow.id` string
    - `flow.name` string
    - `flow.status` 'active' | 'inactive'
    - `flow.type` string — Use `id` value of any index in `GET /v1/flow_types`
    - `flow.product_type` string — Use `id` value of any index in `GET /v1/product_types`
    - `flow.product_category` string — Use `id` value of any index in `GET /v1/product_categories`
    - `flow.custom_attributes` CustomAttributes
    - `flow.associated_facility_id` string, uuid
    - `flow.associated_equipment_id` string, uuid
    - `asset_group.id` string
    - `asset_group.name` string
    - `asset_group.status` 'active' | 'inactive'
    - `asset_group.asset_group_type_id` string
    - `asset_group.custom_attributes` object

## Response `200`

successful operation

- PagedAssetList
  - `page_number` number
  - `page_size` number
  - `total_entries` number
  - `total_pages` number
  - `data` object
    - `id` string, uuid
    - `asset_type` 'equipment' | 'device' | 'facility' | 'flow'
    - `name` string

---

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