---
title: "FleetItemsSearchRequest"
url: "https://developers.vzconnect.com/apis/fleet-api/versions/eedafde7-7fce-432c-90ee-2b2c651539b5/schemas/FleetItemsSearchRequest"
---

> Full API specification: https://developers.vzconnect.com/apis/fleet-api/versions/eedafde7-7fce-432c-90ee-2b2c651539b5.md

# FleetItemsSearchRequest

Request body for the POST /v1/fleet-items/search endpoint. Defines filtering conditions, field projection, and pagination settings for querying fleet items.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Fleet API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    SearchCondition:
      required:
        - field
        - operator
        - values
      type: object
      properties:
        field:
          $ref: "#/components/schemas/ConditionField"
        operator:
          $ref: "#/components/schemas/ConditionOperator"
        values:
          minItems: 1
          type: array
          items:
            type: string
            description: A filter value to match against. Format depends on the field — for
              `externalIds` use the stored external ID, matched as a whole
              value, case-insensitive (usually `consumer-scope:consumer-id`,
              e.g. `telematics:VH-12345`), for `fleetItemType` use the enum
              value (e.g. `VEHICLE`), for `fleetItemId` use the fleet item ID.
          description: The value(s) to compare against. Cardinality depends on the
            operator — `EQUALS` requires exactly 1, `IN`/`CONTAINS_ANY` accept
            1..N.
          example:
            - telematics:VH-12345
            - fleet-mgmt:A-999
      additionalProperties: false
      description: A single filter condition within a search request. Combines a
        field, comparison operator, and one or more values.
      example:
        field: externalIds
        operator: CONTAINS_ANY
        values:
          - telematics:VH-12345
          - fleet-mgmt:A-999
    SearchPagination:
      type: object
      properties:
        limit:
          maximum: 1000
          minimum: 1
          type: integer
          description: Maximum number of items returned in one page (1-1000). Use
            pageToken to get the next page. Defaults to 10.
          format: int32
          example: 10
        pageToken:
          type: string
          description: The `pageToken` value from the previous response, to retrieve the
            next page. Omit for the first page.
          nullable: true
          example: 01945a3b-7c8d-7e9f-a0b1-c2d3e4f5a6b7
      additionalProperties: false
      description: Cursor-based pagination settings for search requests.
      example:
        limit: 10
        pageToken: null
    ConditionField:
      type: string
      description: "Filterable fields available for search conditions on the POST
        /v1/fleet-items/search endpoint. Fields: `fleetItemId`, `fleetItemType`
        (`VEHICLE`/`POWERED_ASSET`/`NON_POWERED_ASSET`), `externalIds` (external
        identifiers used to map Reveal entities to consumer systems — combines
        the older `vehicleNumber` and `assetNumber` into a single unified
        property)."
      enum:
        - fleetItemId
        - fleetItemType
        - externalIds
    ConditionOperator:
      type: string
      description: "The comparison operator to apply: `IN` (membership), `EQUALS`
        (exact match), or `CONTAINS_ANY` (overlap)."
      enum:
        - IN
        - EQUALS
        - CONTAINS_ANY
    FleetItemsSearchRequest:
      type: object
      properties:
        conditions:
          maxItems: 10
          type: array
          items:
            $ref: "#/components/schemas/SearchCondition"
          description: List of filter conditions applied to the query. All conditions are
            AND-combined. Maximum 10 conditions per request. Optional; omit it
            or send an empty array to return all fleet items.
        fields:
          maxItems: 100
          type: array
          items:
            enum:
              - fleetItemId
              - name
              - fleetItemType
              - externalIds
              - notes
              - vin
              - manufacturer
              - manufacturerModel
              - manufactureYear
              - esn
              - fuelType
              - size
              - registrationNumber
              - metrics.fuelCapacity
              - metrics.highwayEfficiency
              - metrics.cityEfficiency
            type: string
            description: A property name to include in each result item.
            example: fleetItemId
          description: Properties to return for each item. Only the names listed in the
            enum are accepted; an empty array returns every property.
          example:
            - fleetItemId
            - name
            - externalIds
        pagination:
          $ref: "#/components/schemas/SearchPagination"
      additionalProperties: false
      description: Request body for the POST /v1/fleet-items/search endpoint. Defines
        filtering conditions, field projection, and pagination settings for
        querying fleet items.
      example:
        conditions:
          - field: externalIds
            operator: CONTAINS_ANY
            values:
              - telematics:VH-12345
              - fleet-mgmt:A-999
        fields:
          - fleetItemId
          - name
          - externalIds
        pagination:
          limit: 10
```
