---
search:
  tags:
    - Parts
    - GET
seo:
  description: >-
    Search a brand's parts, optionally for one model and unit. Reference for the
    GET /v1/part endpoint in the Aiventic Public API.
sidebar:
  label: Search parts
  badge: GET
title: Search parts
type: openapi-operation
---
Search a brand's parts, optionally for one model and unit.

With `model`, the search covers the model's documents for its variant, or for every variant still to choose; `serial` (needs `model`) picks the variant when the model has variants to choose from, which can take a few seconds. `variantResolved` is false when variants are left to choose, when the serial could not confirm a variant that has a single document, when the serial falls outside every option of a group (that group's documents are left out), or when nothing matched in the variant and the search widened to all of them: the items may then not apply to the unit. A search without a model is always true, since it names no unit to settle: its items are the brand's, checked against no unit. Each item's `match` is strong when the query holds a digit and the part number, letters and digits only, equals it or, from four characters, one contains the other; or when the query has at least one word of three or more characters other than the model and brand, and every such word is a word of the item's name. Otherwise suggestion: a candidate to check, not a confirmed answer.

Scope: `parts:read`

`GET /v1/part`

**Responses**

- `200` — OK
- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Internal Server Error

Response example, 200:

```json
{
  "items": [
    {
      "brand": "string",
      "partNumber": "string",
      "name": null,
      "description": null,
      "models": [
        "string"
      ],
      "modelsTruncated": true,
      "match": "strong"
    }
  ],
  "truncated": true,
  "variantResolved": true
}
```
