---
title: "Get the metadata for all parts in a document."
method: GET
path: "/metadata/d/{did}/{wvm}/{wvmid}/e/{eid}/p"
tags: ["Metadata"]
---

# Get the metadata for all parts in a document.

`GET /metadata/d/{did}/{wvm}/{wvmid}/e/{eid}/p`

## Request

- Base URL: `https://api.onshape.com/api/v17`
- URL: `https://api.onshape.com/api/v17/metadata/d/{did}/{wvm}/{wvmid}/e/{eid}/p`
- Auth: OAuth 2 and HTTP basic
  - Authorization code: `/oauth/authorize`
  - Token URL: `/oauth/token` scopes: `OAuth2Read`

See [API Guide: Metadata](https://onshape-public.github.io/docs/api-adv/metadata/) for details. 
* The `configuration` optional query parameter uses the default configuration unless otherwise specified. 
* You can specify an optional `depth` query parameter to get multiple levels in an assembly. Default `depth` is `1`. 
* `linkDocumentId` can be specified where applicable. Combined with `inferMetadataOwner` (default value is `false`), this is used to infer metadata owner. 
* `includeComputedProperties` can be used to include or omit computed properties. Default value is `true`. 
* `includeComputedAssemblyProperties` can be used to query computed assembly properties which are generally expensive. Default value is `false`. 
* You can also choose to include a `thumbnail`. Default value is `false`.

## Path parameters

- `did` string, required
- `wvm` 'w' | 'v' | 'm', required
- `wvmid` string, required
- `eid` string, required

## Query parameters

- `linkDocumentId` string
- `configuration` string
- `inferMetadataOwner` boolean
- `includeComputedProperties` boolean
- `includeComputedAssemblyProperties` boolean
- `thumbnail` boolean

## Response `default`

default response

---

[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)
