How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Onshape Assembly API

Create and manage assemblies.

Onshape Assembly API is one of 42 APIs that Onshape publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Assembly. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

This API exposes 27 operations across 25 paths, and defines 105 schemas. It is described by OpenAPI 3.2.0, at version 1.218.84032-34acba44be17.

Requests are made against a single base URL, https://cad.onshape.com/api/v16.

27 operations 25 paths 105 schemas 2 DELETE12 GET13 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.218.84032-34acba44be17
Base URL
https://cad.onshape.com/api/v16
Authentication
OAuth 2.0, HTTP Basic
License
Terms of Service
Resource Areas
1

Authentication & Security 2

Onshape Assembly API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 24 scopes. It accepts HTTP basic authentication (BasicAuth). By default, every request must be authenticated.

  • OAuth2 — Use OAuth 2.0 to authenticate requests.
  • BasicAuth — Use Basic Authentication with API Keys (key as username and secret as password) to authenticate requests.

Paths & Operations 27

Across 25 paths, the API surfaces 27 operations — 2 DELETE, 12 GET, 13 POST. Each is listed below with its method, path, parameters, and response codes.

Assembly 27

Create and manage assemblies.

GET
/assemblies/d/{did}/e/{eid}/namedViews
Get the view data for all named views for the specified element
getNamedViews 5 params → default
POST
/assemblies/d/{did}/w/{wid}
Create a new assembly tab in the document
createAssembly 2 params body → default
POST
/assemblies/d/{did}/w/{wid}/e/{eid}/bomelement
Gets the Bill Of Materials (BOM) for the specified assembly, or creates a BOM…
getOrCreateBillOfMaterialsElement 3 params → default
POST
/assemblies/d/{did}/w/{wid}/e/{eid}/features/featureid/{fid}
Update an existing feature for an Assembly
updateFeature 4 params body → default
DELETE
/assemblies/d/{did}/w/{wid}/e/{eid}/features/featureid/{fid}
Delete a feature from an assembly
deleteFeature 4 params → 200
DELETE
/assemblies/d/{did}/w/{wid}/e/{eid}/instance/nodeid/{nid}
Delete an instance of an assembly
deleteInstance 4 params → default
POST
/assemblies/d/{did}/w/{wid}/e/{eid}/instances
Insert an instance of a part, sketch, assembly, or Part Studio into an assembly
createInstance 3 params body → default
POST
/assemblies/d/{did}/w/{wid}/e/{eid}/matevalues
Update mate values for the given mates in the specified assembly
updateMateValues 3 params body → default
POST
/assemblies/d/{did}/w/{wid}/e/{eid}/modify
Modify an assembly
modify 4 params body → default
POST
/assemblies/d/{did}/w/{wid}/e/{eid}/occurrencetransforms
Transform a list of assembly occurrences
transformOccurrences 3 params body → default
POST
/assemblies/d/{did}/w/{wid}/e/{eid}/transformedinstances
Create new instances with transformation
insertTransformedInstances 3 params body → default
GET
/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}
Get definition information for the specified assembly
getAssemblyDefinition 11 params → default
GET
/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/bom
Get the Bill Of Materials (BOM) content for the specified assembly
getBillOfMaterials 18 params → default
GET
/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/boundingboxes
Get bounding box information for the specified assembly
getAssemblyBoundingBoxes 11 params → default
GET
/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/displaystates
Get a list of display states for the specified assembly
getDisplayStates 5 params → 200
GET
/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/explodedviews
Get a list of exploded views for the specified assembly
getExplodedViews 7 params → default
GET
/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/features
Get the definitions of the specified features in an assembly
getFeatures 8 params → 200
POST
/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/features
Add a feature to the assembly feature list
addFeature 4 params body → default
GET
/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/featurespecs
Get the feature spec definitions for an assembly
getFeatureSpecs 4 params → default
GET
/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/massproperties
Get the mass properties for the assembly
getAssemblyMassProperties 6 params → default
GET
/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/namedpositions
Get a list of all named positions for the assembly
getNamedPositions 7 params → default
GET
/assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/shadedviews
Get an array of shaded view images for the document
getAssemblyShadedViews 18 params → default
POST
/assemblies/d/{did}/{wv}/{wvid}/e/{eid}/export/gltf
Export the assembly to glTF
createAssemblyExportGltf 4 params body → default
POST
/assemblies/d/{did}/{wv}/{wvid}/e/{eid}/export/obj
Export the assembly to OBJ
createAssemblyExportObj 4 params body → default
POST
/assemblies/d/{did}/{wv}/{wvid}/e/{eid}/export/step
Export the assembly to STEP
createAssemblyExportStep 4 params body → default
GET
/assemblies/d/{did}/{wv}/{wvid}/e/{eid}/matevalues
Get a list of mate values in the specified assembly
getMateValues 4 params → default
POST
/assemblies/d/{did}/{wv}/{wvid}/e/{eid}/translations
Export the assembly to another format
translateFormat 4 params body → default

Schemas 105

The contract defines 105 schemas that model the data the API accepts and returns. The most detailed are BTTranslateFormatParams (102 properties), BTFeatureSpec-129 (35 properties), BTDocumentElementInfo (31 properties), BTAssemblyInstanceInfo (18 properties). Each schema is shown below with its type and property counts.

BTMSuppressionState-1924
object
1 property
BTModelElementParams
object
1 property
BTMNode-19
object
3 properties
GBTNodeStatusType
string
BTNamedViewInfo
object
6 properties
BTDisplayStateInfo
object
Describes a display state.
3 properties
BTAssemblyFeatureInfo
object
List of Assembly features including those are created by replicates.
5 properties
BTConfiguredValue
object
A value that varies per option of a configuration input.
2 properties
BTDocumentElementInfo
object
31 properties
GBTExportUnit
string
Units to export the model with.
BTRootAssemblyInfo
object
13 properties
TransformGroup
object
2 properties
BTBAssemblyExportParams
object
Options for exporting assemblies.
1 property
BTAssemblyInstanceDefinitionParams
object
14 properties 1 required
BTOptionallyConfiguredValue
object
Optional map of configuration parameter id to value
2 properties
BTOccurrence-74
object
7 properties
BTAssemblyFeatureDataInfo
object
1 property
BTAssemblyOccurrenceInfo
object
5 properties
BTPartsExportFilter-4308
object
Skip mesh/curve foreign data creation in individual parts export
4 properties
BTAssemblyParametricInstanceInfo
object
Parametric instance description.
6 properties
BTAssemblyInstanceType
string
BTAssemblyInstanceStatus
string
BTFeatureDefinitionResponse-1617
object
8 properties
GBTUiSelectionType
string
GBTUIHint
string
BTMateConnectorCSInfo
object
4 properties
BTBillOfMaterialsElementInfo
object
7 properties
BTViewFeatureBaseInfo
object
Describes a view feature.
2 properties
BTAssemblyFeatureListResponse-1174
object
1 property
BTAssemblyPsFeatureInfo
object
10 properties
BTAssemblyDefinitionInfo
object
4 properties
GBTPatternType
string
BTMAssemblyFeature-887
object
1 property
BTBGltfExportParams
object
Options for exporting elements to GLTF.
12 properties
BTThumbnailSizeInfo
object
7 properties
BTAssemblyMateValueInfo
object
Quantities for length are specified in meters, and quantities for angles are specified in radians.
4 properties 1 required
BTEditingLogic-2350
object
6 properties
GBTInsertableType
string
BTParameterSpec-6
object
16 properties
BTLocationInfo-226
object
18 properties
BTZipFileInfo
object
1 property
BTParameterGroupSpec-3469
object
10 properties
BTAssemblyParametricInstanceChildInfo
object
Children instance description of parametric instance.
2 properties
BTBStepExportParams
object
Options for exporting elements to STEP.
14 properties
BTBillOfMaterialsObjectWithPropertiesInfo
object
6 properties
BTThumbnailInfo
object
4 properties
BTAssemblyPatternInfo
object
Pattern description.
6 properties
GBTRhinoVersions
string
BTParameterVisibilityCondition-177
object
2 properties
BTAssemblyPartInfo
object
12 properties
BTTranslationRequestInfo
object
15 properties
GBTUrdfMeshFormat
string
BTPSpace-10
object
4 properties
BTSectionPlaneInfo
object
3 properties
BTTranslationRequestState
string
BTAssemblyInsertTransformedInstancesResponse
object
2 properties
BTSubAssemblyInfo
object
12 properties
BTMetadataEnumValueInfo
object
3 properties
BTUiSelection-1185
object
6 properties
GBTExportResolution
string
Determines export resolution of fine, medium, or coarse
BTMassPropertiesInfo
object
Mass properties information.
9 properties
BTFeatureApiBase-1430
object
6 properties
BTAssemblyTransformedInstancesDefinitionParams
object
1 property
BTBoundingBoxInfo
object
6 properties
BTShadedViewsInfo
object
Images are returned as base64-encoded strings.
1 property
BTVector3d-389
object
4 properties
BTPNode-7
object
10 properties
GBTPDefinitionType
string
BTBExportMeshParams
object
Options for an element export to mesh format.
5 properties
GBTParasolidEncodingType
string
Export Parasolid in BINARY (.xb) or TEXT (.xt) mode.
BTBillOfMaterialsHeaderInfo
object
7 properties
BTAssemblyInstanceInfo
object
List of instances including those created by patterns and replicates.
18 properties
BTFeatureSpec-129
object
35 properties
BTObjectId
object
1 property
BTFeatureDefinitionCall-1406
object
7 properties
BTBExportAdvancedParams
object
Advanced element export options.
9 properties
GBTParameterLibraryRelationType
string
GBTPreProcessParasolidOption
string
Original geometry processing mode to improve results of translation to STEP.
BTGraphicsSectionPlaneData-1429
object
4 properties
BTBillOfMaterialsRowInfo
object
10 properties
BTAssemblyInstanceOccurrenceInfo
object
1 property
BTBEmailExportOptions
object
Options for exporting elements as a link in an email.
9 properties 3 required
BTNamedViewsInfo
object
1 property
BTFeatureState-1688
object
3 properties
BTDocumentVersionElementIds-1897
object
4 properties
BTBObjExportParams
object
Options for exporting elements to OBJ.
12 properties
BTApplicationTargetInfo
object
4 properties
BTBillOfMaterialsSourceInfo
object
8 properties
BTAssemblyPartBodyType
string
BTAssemblyTransformDefinitionParams
object
3 properties
BTAssemblyMateValuesInfo
object
Get a list of mate values for all the mates of a specified assembly.
1 property
BTMParameter-1
object
A list of parameter values for instantiation of the feature spec. Parameters are present for all defined parameters, even if not used in a specific instantiati…
7 properties
BTBillOfMaterialsItemSourceInfo
object
16 properties
BTFeatureSpecsResponse-664
object
7 properties
BTGraphicsSectionViewStateData-4379
object
6 properties
BTMFeature-134
object
17 properties
BTSelectedMetadataEnumValue
object
2 properties
BTTranslateFormatParams
object
102 properties 1 required
BTBillOfMaterialsInfo
object
12 properties
GBTQuantityType
string
GBTElementType
string
BTAssemblyMateConnectorInfo
object
2 properties
BTBCloudStorageOptions
object
Options for exporting elements to cloud storage.
2 properties 2 required
BTAssemblyModificationParams
object
6 properties
GBTStlEncodingType
string
STL encoding type, TEXT | BINARY

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

onshape-assembly-api-openapi.yml Raw ↑

Other APIs Onshape publishes across the network.

Onshape Account API
Onshape Alias API
Onshape AppAssociativeData API
Onshape AppElement API
Onshape Billing API
Onshape BlobElement API
Onshape Comment API
Onshape Company API
Onshape Document API
Onshape Drawing API
Onshape Element API
Onshape ExportRule API
Where this information came from

This is an independent, third-party profile of Onshape Assembly API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.