---
title: "List item clusters by AI classification"
method: GET
path: "/items/similarity-clusters"
tags: ["items"]
---

# List item clusters by AI classification

`GET /items/similarity-clusters`

Returns connected components of items linked by SIMILARITY edges whose

## Query parameters

- `ai_classification` string, required

## Response `200`

OK

- HandlersSimilarityClustersResponse
  - `ai_classification` string
  - `business_id` string
  - `clusters` ServicesItemCluster[]
    - `ai_classification` string
    - `cluster_id` string — ClusterID is the lexicographically smallest item ID in the cluster, giving a stable, deterministic identifier.
    - `items` ServicesClusterItem[]
      - `item_id` string
      - `manufacturer` string
      - `part_number` string
      - `title` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `503` — Neo4j service not available

---

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