---
agentTools:
  projectIndex: https://findboxes.readme.io/llms.txt
---

# Search inventory items

Returns a paginated list of inventory item instances (itemData) belonging to the authenticated user's org. All filters are optional and use case-insensitive substring matching except `pk` which is an exact match.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Find Boxes API",
    "description": "REST API for the Find Boxes inventory and project management platform. All API requests must include the token in the \"Authorization\" header. The HTTP header must be formatted as \"Authorization: Token YOUR-KEY.\" \nAlso, all body parameters must be passed in Json format.\n",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "app.findboxes.com/api",
      "description": "Current server"
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "OAuth2"
      }
    },
    "parameters": {
      "PageParam": {
        "name": "page",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer"
        },
        "description": "Page number for paginated results."
      }
    },
    "schemas": {
      "InventorySearchResult": {
        "type": "object",
        "properties": {
          "pk": {
            "type": "integer"
          },
          "item": {
            "type": "string"
          },
          "po": {
            "type": "string",
            "nullable": true
          },
          "macaddress": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "storage": {
            "type": "object",
            "properties": {
              "pk": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              }
            }
          },
          "serialnumber": {
            "type": "string",
            "nullable": true
          },
          "custom": {
            "type": "string",
            "nullable": true
          }
        }
      }
    }
  },
  "paths": {
    "/inventory/": {
      "get": {
        "summary": "Search inventory items",
        "tags": [
          "Inventory"
        ],
        "description": "Returns a paginated list of inventory item instances (itemData) belonging to the authenticated user's org. All filters are optional and use case-insensitive substring matching except `pk` which is an exact match.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/PageParam"
          },
          {
            "name": "pk",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            },
            "description": "Exact itemData ID."
          },
          {
            "name": "name",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by item category name (contains)."
          },
          {
            "name": "po",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by purchase order number (contains)."
          },
          {
            "name": "mac",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by MAC address (contains)."
          },
          {
            "name": "storage",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by storage room name (contains)."
          },
          {
            "name": "custom",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by custom field value (contains)."
          }
        ],
        "responses": {
          "200": {
            "description": "Paginated list of matching inventory items.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "count": {
                      "type": "integer"
                    },
                    "next": {
                      "type": "string",
                      "nullable": true
                    },
                    "previous": {
                      "type": "string",
                      "nullable": true
                    },
                    "results": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/InventorySearchResult"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Authentication required."
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 106,
      "1": 11,
      "2": 190,
      "3": 92,
      "4": 169,
      "5": 30,
      "6": 248,
      "7": 41,
      "8": 77,
      "9": 152,
      "10": 115,
      "11": 19
    }
  }
}
```