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

# Search assets

`POST /api/v1/assets/search`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/assets/search`
- Auth: none declared

Search assets with filtering and pagination

## Headers

- `Authorization` string

## Request body

- AssetSearchSchema: Schema for asset search parameters.
  - `company_id` integer, nullable
  - `search_term` string, nullable
  - `asset_type` string, nullable
  - `connection_status` string, nullable
  - `is_active` boolean, nullable
  - `offset` integer: Items to skip
  - `limit` integer: Items per page

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
