---
title: "Get all revisions for a part number."
method: GET
path: "/revisions/companies/{cid}/partnumber/{pnum}"
tags: ["Revision"]
---

# Get all revisions for a part number.

`GET /revisions/companies/{cid}/partnumber/{pnum}`

## Request

- Base URL: `https://api.onshape.com/api/v17`
- URL: `https://api.onshape.com/api/v17/revisions/companies/{cid}/partnumber/{pnum}`
- Auth: OAuth 2 and HTTP basic
  - Authorization code: `/oauth/authorize`
  - Token URL: `/oauth/token` scopes: `OAuth2Read`

You can also request `elementType` in addition to `partNumber` since companies may or may not allow drawings to share part numbers with their parts/assemblies. To perform search without `elementType`, use `elementType = -1` (UNKNOWN).  See [API Guide: Release Management](https://onshape-public.github.io/docs/api-adv/relmgmt/#get-all-revisions) for more details.

## Path parameters

- `cid` string, required
- `pnum` string, required

## Query parameters

- `elementType` string, required
- `fillApprovers` boolean
- `fillExportPermission` boolean
- `supportChangeType` boolean

## Response `default`

default response

## Changes

- **2026-10-10** `fe3f0949b493`: 2 info
  - added the optional property `items/items/releasedBy/allOf[subschema #2]/globalPermissions/allowAccessToPublicLibraries` to the response with the `default` status
  - added the optional property `items/items/releasedBy/allOf[subschema #2]/globalPermissions/allowManagingPublicLibraries` to the response with the `default` status
- **2026-09-19** `c16acb88e3ea`: 2 info
  - added the optional property `items/items/releasedBy/allOf[subschema #2]/canMakePersonalCopies` to the response with the `default` status
  - added the optional property `items/items/releasedBy/allOf[subschema #2]/globalPermissions/makePersonalCopies` to the response with the `default` status

[Operation history](https://skmtc.dev/onshape/apis/onshape-rest-api/changes/revisions/companies/:cid/partnumber/:pnum/get.md)

---

[API](https://skmtc.dev/onshape/apis/onshape-rest-api.md) - [All operations](https://skmtc.dev/onshape/apis/onshape-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onshape/apis/onshape-rest-api/revisions/c5c4c780f831?raw)
