---
title: "Find where a part or assembly is used."
method: GET
path: "/productstructure/whereused"
tags: ["ProductStructure"]
---

# Find where a part or assembly is used.

`GET /productstructure/whereused`

Only supported for Enterprise and Professional plans. See [Dev Docs: Where Used](https://onshape-public.github.io/docs/api-adv/relmgmt/#where-used) for a tutorial on using this endpoint.

## Query parameters

- `documentId` string
- `elementId` string
- `versionId` string
- `configuration` string
- `partId` string
- `partNumber` string
- `includeProperties` boolean
- `filter` integer
- `includeVersionInfo` boolean
- `useLatestVersion` boolean
- `limitToTypes` string

## Response `200`

Success!

---

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