Reference·TypeScript SDK · @bimworks/sdkTypeScript

Models

Every model class of the TypeScript SDK with its properties, their JSON names, types and descriptions.

TypeScript SDK · @bimworks/sdk · 289 models

Every request and response object of the TypeScript SDK, generated from the schemas of the API part. A model is a TypeScript interface with camelCase properties; <Model>FromJSON(json) makes one from the JSON with the wire names, and <Model>ToJSON(model) turns it back, which is how the examples build their requests and print their results.

AccountEntry#

An account (account, user, sign_in) or an open invite (invite)

PropertyJSONTypeDescription
accountaccount{ [key: string]: any; }optionaluuid, username, type, status, created_at, organization_uuid, root_node_uuid, ...
useruser{ [key: string]: any; }optionaluuid, username, account_uuid, level, created_at, last_login, last_active and email_validation_status; never the settings or the registration's geo lookup
signInsign_inAccountEntrySignInoptional
inviteinvite{ [key: string]: any; }optionaluuid, email_address, created_by, created_on, valid_until, first_opened, last_opened, status

AccountEntrySignIn#

PropertyJSONTypeDescription
passwordpasswordbooleanoptional
twoFactortwo_factorbooleanoptional
providersprovidersArray<string>optional

AccountSettings#

PropertyJSONTypeDescription
fullNamefull_namestringoptional
countryCodecountry_codestringoptionalISO 3166 (ListReferenceValues countries)
preferredLanguagepreferred_languagestringoptionalISO 639-1 (ListReferenceValues languages)
timeZoneIdtime_zone_idstringoptionalA tz identifier (ListReferenceValues time_zones)
bimContextbim_contextstringoptional
showDeletedNodesshow_deleted_nodesbooleanoptional
emailAboutVulnerabilitiesemail_about_vulnerabilitiesbooleanoptional
uiModeui_modestringoptionalOne of END_USER, DEVELOPER.

Action#

PropertyJSONTypeDescription
uuiduuidstringoptional
parentUuidparent_uuidstringoptional
namenamestringoptional
mainTypemain_typestringoptional
subTypesub_typestringoptional
queryquerystringoptionalThe text
descriptiondescriptionstringoptional
outputHintoutput_hintstringoptional
favouritefavouritebooleanoptional
statusstatusstringoptionalOne of ACTIVE, DELETED.
versionversionnumberoptional
createdBycreated_bystringoptional
createdAtcreated_atstringoptional
updatedByupdated_bystringoptional
updatedAtupdated_atstringoptional
editableeditablebooleanoptional
fullPathfull_pathArray<ActionFullPathInner>optionalFrom the action up to the caller's folder

ActionList#

PropertyJSONTypeDescription
actionsactionsArray<Action>optional
fullPathfull_pathArray<ActionFullPathInner>optional

ActionFullPathInner#

PropertyJSONTypeDescription
uuiduuidstringoptional
namenamestringoptional
mainTypemain_typestringoptional

AddActionRequest#

PropertyJSONTypeDescription
parentUuidparent_uuidstringrequiredThe folder to store it in
namenamestringrequiredThe name
mainTypemain_typestringrequiredWhat it is: FOLDER, QUERY3 (BQL), CHECK3 (BCL), IDS, BVL, BCOL (compare), CLASH, BSL, BUL. One of FOLDER, QUERY3, CHECK3, IDS, BVL, BCOL, CLASH, BSL, BUL.
subTypesub_typestringoptionalThe language version; the current one when absent
queryquerystringoptionalThe text: the BQL, BCL, IDS XML, ...; required except for a folder
descriptiondescriptionstringoptionalA description
outputHintoutput_hintstringoptionalWhere the web app shows its result. One of VIEWER_3D, VIEWER_2D, JSON_VIEW, TABLE_VIEW, POPUP_VIEW, TAKEOFF.
favouritefavouritebooleanoptionalMark it as a favourite
iconNameicon_namestringoptionalThe icon

AddLinkTargetsRequest#

PropertyJSONTypeDescription
itemUuiditem_uuidstringrequired
versionUuidversion_uuidstringrequiredThe Version the targets are objects of
targetstargetsArray<LinkTarget>required

AddModelWithUrlRequest#

Add model to the repository

PropertyJSONTypeDescription
nodeUuidnode_uuidstringoptionalThe UUID of the Node to which to add the model
pathpathstringoptionalInstead of node_uuid, the path of the folder, from the caller's root
filenamefilenamestringoptionalName of the file; the last segment of the URL's path when absent
urlurlstringrequiredURL to get the model
inputFileTypeinput_file_typeInputFileTypeoptionalThe type of the model. When present and not UNKNOWN it wins over the filename extension - the route for correcting misnamed files or extension-less URLs. One of IFC, E57, PDF, PLY_ASCII, LAZ, LAS, TEST, ZIP, BCF, UNKNOWN, FOLDER, GLB, GLTF, IFCX, DWG.
formatSettingsformat_settings{ [key: string]: any; }optional

Per-upload options for point cloud formats, applied when the uploaded model is a point cloud (LAS and LAZ share one option table; E57 takes only include_classifications). Every option has a sensible default that detection fills in - pass only what detection got wrong. Unknown keys are rejected. The resolved effective settings (defaults + detection + these overrides, plus detection warnings) are persisted in the model's im_metadata under pointCloud.

LAS / LAZ options (LAZ is LASzip-compressed LAS: same header, same records, decoded chunk by chunk; the effective settings additionally record laszip_compressor, laszip_version, laszip_chunk_size, laszip_chunks, laszip_items and, for COPC files, the copc octree parameters):

  • unit: linear unit of the coordinates after scale/offset - "mm", "cm", "m", "ft", "usft". Default: from the CRS VLR, else metres.
  • rgb_source: "auto" (RGB if present and non-zero, else intensity, else default_color), "rgb", "intensity" or "none". Default "auto".
  • color_bit_depth: "auto" (sample-based), 8 or 16. The LAS spec says RGB is 0-65535 but many writers store 0-255. Default "auto".
  • intensity_range: "auto" (sampled min/max maps to 0-255 grayscale) or [min, max].
  • exclude_withheld: drop points flagged Withheld. Default true.
  • include_classifications: array of ASPRS class codes to keep, e.g. [2, 6] (ground, building). Default: all.
  • default_color: "#rrggbb" used when no RGB and no intensity. Default "#ffffff".

E57 option:

  • include_classifications: as for LAS, for an E57 whose points carry a classification field (as PDAL's LAS-to-E57 export writes); rejected when no scan has one. The effective settings list the per-point fields and the skipped_fields BIM.works does not use.
forceReprocessingforce_reprocessingbooleanoptionalProcess the file again, also when the server has processed the same file before
tagstagsArray<VersionTag>optionalTags of the new Version
validationSettingsvalidation_settingsValidationSettingsoptionalHow the IFC validation of a checkin reports its findings
waitMswait_msnumberoptionalAnswer 202 with the checkin's status when the checkin takes longer than this
forceforceUploadForceoptionalFor an upload onto a model Node under another file name, NEW_MODEL makes the file a model of its own in the model's folder (which needs write rights on the folder); NONE and NEW_VERSION make it the model's next Version. One of NONE, NEW_VERSION, NEW_MODEL.

ApiToken#

PropertyJSONTypeDescription
uuiduuidstringoptional
namenamestringoptional
organizationUuidorganization_uuidstringoptional
createdBycreated_bystringoptional
createdOncreated_onstringoptionalISO date-time, UTC
rootNodeUuidroot_node_uuidstringoptional
statusstatusstringoptionalOne of ACTIVE, DELETED.
lastLoginlast_loginstringoptional
scopesscopesArray<string>optionalnull for a token from before scopes (see credentials)
credentialscredentialsArray<string>optionalThe legacy rights, derived from the scopes
bimContextbim_contextstringoptional
lastFourlast_fourstringoptionalThe end of the secret
expiresOnexpires_onstringoptionalISO date-time, UTC; null for a token that never expires
onlyCorsEnabledAddressesonly_cors_enabled_addressesbooleanoptional
corsEnabledAddressescors_enabled_addressesArray<string>optional
onlyWhiteListedIpAddressesonly_white_listed_ip_addressesbooleanoptional
whiteListedIpAddresseswhite_listed_ip_addressesArray<string>optional
tokentokenstringoptionalUpdateApiToken with rotate_secret only: the new secret, shown once

ApiTokenSecret#

PropertyJSONTypeDescription
tokentokenstringoptionalThe secret, shown once (BAT-...)
expiresOnexpires_onstringoptionalISO date-time, UTC

ApplicationVersion#

PropertyJSONTypeDescription
versionStringversion_stringstringoptionalmajor.minor.patch[-qualifier], or LOCALDEV
majormajornumberoptional
minorminornumberoptional
patchpatchnumberoptional
qualifierqualifierstringoptional
buildDateTimebuild_date_timestringoptional

Auth#

PropertyJSONTypeDescription
inputinputobjectoptionalThe signed authorization payload
hmachmacstringoptionalThe HMAC signature over the payload
hmhhmhstringoptionalIdentifier of the key that signed this blob (opaque to clients; a configured key id, or the hash of an id-less key)
base64base64stringoptionalThe Base64 encoded JSON serialization of this object, directly usable as a bearer token

AuthResponseFormat#

The preferred response format for calls that return authentication material: the full Auth object ("auth", the default), or only its Base64 encoded JSON serialization ("base64"), which is directly usable as a bearer token

Values: auth, base64.

AuthResult#

The authentication result. Depending on the response_format in the request this is either the full Auth object ("auth", the default) or only its Base64 encoded JSON serialization ("base64")

PropertyJSONTypeDescription
inputinputobjectoptional
hmachmacstringoptional
hmhhmhstringoptional
base64base64stringoptional

BoundingBox#

An axis-aligned bounding box

PropertyJSONTypeDescription
minminVector3optional
maxmaxVector3optional

BuildingStorey#

PropertyJSONTypeDescription
namenamestringoptional
elevationelevationnumberoptionalThe IFC elevation, in the model's length unit
floorfloornumberoptional
descriptiondescriptionstringoptional
longNamelong_namestringoptional
storeysstoreysArray<BuildingStoreyStoreysInner>optionalThe IfcBuildingStorey of each model merged here
objectsobjectsArray<number>optionalThe oids of the objects on the storey

BuildingStoreyStoreysInner#

PropertyJSONTypeDescription
oidoidnumberoptional
qidqidstringoptional

BuildingStoreys#

PropertyJSONTypeDescription
buildingStoreysbuilding_storeysArray<BuildingStorey>optional

Camera#

PropertyJSONTypeDescription
positionpositionVector3required
lookatlookatVector3required
upupVector3required

ChangePasswordRequest#

PropertyJSONTypeDescription
currentPasswordcurrent_passwordstringoptionalThe current password
passwordpasswordstringrequiredThe new password
codecodenumberoptionalThe current two-factor code, when the account has two-factor authentication
responseFormatresponse_formatAuthResponseFormatoptionalThe preferred response format for calls that return authentication material: the full Auth object ("auth", the default), or only its Base64 encoded JSON serialization ("base64"), which is directly usable as a bearer token. One of auth, base64.

CheckInteraction#

How the result objects react to a click (docs/check-result-interaction-design.md 4.1); absent when they do not.

PropertyJSONTypeDescription
pickpickstringrequiredinline - every result object carries its pick presentation. One of inline.
hinthintstringoptionalWhat hovering an object with a pick presentation says, e.g. "Click a space to show its escape route".

CheckRequest#

PropertyJSONTypeDescription
modelsmodelsArray<ModelIdentifier>requiredModels to check. Passing an empty model set is also valid, and allows you to validate your model check definition
idsidsstringoptionalAn IDS definition (XML)
bclbclstringoptionalA BIM.works Checking Language (BCL) definition
actionUuidaction_uuidstringoptionalA stored IDS or BCL check action to run instead of ids or bcl
actionVersionaction_versionnumberoptionalThe version of the stored action to run; its current version when absent
formatformatstringoptionalAbsent, the Accept header decides, and json when it names none of these. `json`: the model mapping and every checked object with its result (`application/json`); `summary`: the model mapping and the counts per result (`application/json`); `bcf`: the results as a BCF ZIP file (`application/bcf`). One of json, summary, bcf.
parametersparameters{ [key: string]: any | null; }optionalValues for the $name parameters of a BCL check (bcl, or a stored BCL action), by name. Every parameter of the check then needs a value. Not for an IDS

CheckResultStatus#

Overall result status.

Values: SUCCESS, WARNING, ERROR, INFO, SKIPPED.

CheckResults#

PropertyJSONTypeDescription
typetypestringrequired
ididnumberrequired
uuiduuidstringrequired
descriptionEndescriptionEnstringrequired
checkResultcheckResultCheckResultStatusrequiredOverall result status. One of SUCCESS, WARNING, ERROR, INFO, SKIPPED.
titleEntitleEnstringrequired
checkLogiccheckLogicArray<any>requiredArray of check logic entries (not detailed in the sample).
keykeystringrequired
resolvedActionsresolvedActionsResolvedActionsrequiredWhat a BVL script (or the BVL of a check) does to the objects of the models, ready for a viewer. Every key but force is optional and present only when the script uses it; the keys not listed here (pickability, section and end-cap behaviour, wireframes, colour alterations, geometries, overlays) follow the BVL actions of the same name.
summarysummaryCheckSummaryrequired
resultsresultsArray<ObjectCheckResult>required
interactioninteractionCheckInteractionoptionalHow the result objects react to a click (docs/check-result-interaction-design.md 4.1); absent when they do not.

CheckResultsResponse#

The answer of Check; results for format json, summary for format summary

PropertyJSONTypeDescription
modelMappingmodelMapping{ [key: string]: string; }requiredMapping of model UUIDs to model UUIDs (string-to-string).
resultsresultsTopLevelResultsoptional
summarysummaryCheckSummaryoptional

CheckSummary#

PropertyJSONTypeDescription
hasAuxiliary2DhasAuxiliary2Dbooleanrequired
errorserrorsnumberrequired
successessuccessesnumberrequired
warningswarningsnumberrequired
infosinfosnumberrequired
skippedskippednumberrequired
overallResultoverallResultCheckResultStatusrequiredOverall result status. One of SUCCESS, WARNING, ERROR, INFO, SKIPPED.
hasVisualizationhasVisualizationbooleanrequired

CheckinStatus#

PropertyJSONTypeDescription
jobUuidjob_uuidstringoptional
statusstatusstringoptionalOne of PENDING, RUNNING, DONE, FAILED, CANCELLED.
progressprogressnumberoptionalPercent
nodeUuidnode_uuidstringoptionalThe model (Node) the checkin is for
filenamefilenamestringoptional
attemptsattemptsnumberoptionalHow often a server started it (a server that went away mid-checkin is retried once)
enqueuedAtenqueued_atstringoptionalUTC, ISO 8601
startedAtstarted_atstringoptionalUTC, ISO 8601
finishedAtfinished_atstringoptionalUTC, ISO 8601
versionUuidversion_uuidstringoptionalDONE only
versionversionModelVersionoptionalDONE only, when this server has it already
validationvalidation{ [key: string]: any; }optionalThe validation summary, when there is one (the report is GetValidationReport)
errorerrorErrorResponseoptionalFAILED only
errorUuiderror_uuidstringoptionalFAILED only, the error record of the Node (ListNodeErrors, GetValidationReport)

CityGML3ExportGeometry#

What type of geometry to export

Values: PROJECTION_2D, SLICE_2D, FULL_3D, EXTERIOR_3D, AABB_3D, OBB_3D, SIMPLIFIED_3D.

CityGML3ExportLod#

PropertyJSONTypeDescription
landUselandUseCityGML3ExportTypeoptional
buildingbuildingCityGML3ExportTypeoptional
storeystoreyCityGML3ExportTypeoptional
buildingRoombuildingRoomCityGML3ExportTypeoptional
buildingUnitbuildingUnitCityGML3ExportTypeoptional
buildingConstructiveElementbuildingConstructiveElementCityGML3ExportTypeoptional
doordoorCityGML3ExportTypeoptional
windowwindowCityGML3ExportTypeoptional
buildingInstallationbuildingInstallationCityGML3ExportTypeoptional
wallSurfacewallSurfaceCityGML3ExportTypeoptional
floorSurfacefloorSurfaceCityGML3ExportTypeoptional
roofSurfaceroofSurfaceCityGML3ExportTypeoptional
wallwallCityGML3ExportTypeoptional

CityGML3ExportSettings#

PropertyJSONTypeDescription
crscrsstringoptionalThe CRS, this can be: "AUTO", in that case BIM.works will determine a CRS based on the GeoReference, if you already know the CRS you want, don't use this. "EPSG:[code]" to specify a particular EPSG system based on it's code.
lod0lod0CityGML3ExportLodoptional
lod1lod1CityGML3ExportLodoptional
lod2lod2CityGML3ExportLodoptional
lod3lod3CityGML3ExportLodoptional

CityGML3ExportType#

PropertyJSONTypeDescription
selectionselectionstringoptionalBQL that selects which objects should (per object) be converted to the parent citygml type
filterfilterstringoptionalBQL that filters the included objects that will contribute to the geometry, by default this only includes the subject (the result of "select")
geometrygeometryCityGML3ExportGeometryoptionalWhat type of geometry to export. One of PROJECTION_2D, SLICE_2D, FULL_3D, EXTERIOR_3D, AABB_3D, OBB_3D, SIMPLIFIED_3D.
sliceHeightMmslice_height_mmnumberoptionalFor SLICE_2D on a building, the height of the cut above the IfcSite placement in millimetres

CommitTransactionRequest#

PropertyJSONTypeDescription
versionUuidversion_uuidstringrequiredThe UUID of the Version to apply the transaction to. Must be the head Version of its Node (dry runs excepted)
bulbulArray<string>requiredThe BUL statements to apply, in order, as one atomic transaction
commentcommentstringoptionalA description of the intent of the transaction, stored with the transaction and shown in the Version history
dryRundry_runbooleanoptionalWhen true, the updates are resolved and applied in memory only and the response reports what a commit would do, without persisting anything
includeOidsinclude_oidsbooleanoptionalDry run only. When true, every update in the response also carries statement_index, statement_lines, matched_oids and changed_oids

CommitTransactionResult#

The result of CommitTransaction. Which fields are present depends on the mode: a commit returns transaction and node; a dry run returns updates, is_head and (only when the Version is not the head) head_version

PropertyJSONTypeDescription
transactiontransactionCommittedTransactionoptionalCommit only. The committed transaction and the new Version it produced
nodenodeNodeoptionalCommit only. The full Node, including the new Version
updatesupdatesArray<TransactionUpdate>optionalDry run only. Per update the matched and changed counts, exactly what a commit would do
isHeadis_headbooleanoptionalDry run only. Whether the given Version is the head of its Node — a commit is only accepted against the head
headVersionhead_versionnumberoptionalDry run only, and only when the given Version is not the head. The version number of the current head
nextVersionnext_versionnumberoptionalDry run only, and only when the given Version is the head. The version number a commit would create (the head's number plus one)
oidsTruncatedoids_truncatedbooleanoptionalDry run with include_oids only, and only when true. The updates name more objects than the server-side cap, so matched_oids and changed_oids are left out (the counts are still there)

CommittedTransaction#

PropertyJSONTypeDescription
transactionUuidtransaction_uuidstringoptionalThe UUID of the transaction
versionUuidversion_uuidstringoptionalThe UUID of the new Version the transaction produced
versionversionnumberoptionalThe version number (incremental) of the new Version
summarysummaryCommittedTransactionSummaryoptionalA summary of what the transaction did
deletedOidsdeleted_oidsArray<number>optionalAll object ids this transaction deleted (roots plus cascade), sorted ascending. Omitted when nothing was deleted and above a server-side cap (the deletion counts are always in the summary)
geometryChangedgeometry_changedbooleanoptionalThe transaction added, reshaped or moved geometry (or converted the schema), so a viewer loads the new Version in full rather than hiding the deleted objects
linksOrphanedlinks_orphanednumberoptionalThe links whose object the transaction deleted (only when the model has linked data)
linksChecklinks_checknumberoptionalThe links on the new Version that are to check (only when the model has linked data)

CommittedTransactionSummary#

PropertyJSONTypeDescription
updatesupdatesArray<TransactionUpdate>optional

CompareAlignment#

The rigid move most matched objects with geometry share, when at least half of them do

PropertyJSONTypeDescription
appliedappliedbooleanoptionalWhether the right side was judged with the move undone (align auto)
translationtranslationArray<number>optionalx, y, z
unitunitstringoptionalmm
rotationrotationCompareAlignmentRotationoptional
matrixmatrixArray<number>optionalThe move as a column-major 4x4 matrix in mm
countcountnumberoptionalThe pairs that share it
measuredmeasurednumberoptionalThe pairs with geometry it was found among
sharesharenumberoptional

CompareAlignmentRotation#

PropertyJSONTypeDescription
angleanglenumberoptional
axisaxisArray<number>optional
unitunitstringoptional

CompareBul#

The changes of a compare of two Versions as BUL (GetCompareBul)

PropertyJSONTypeDescription
resultUuidresult_uuidstringoptionalThe stored compare result the BUL is made from
leftVersionUuidleft_version_uuidstringoptional
rightVersionUuidright_version_uuidstringoptional
bulbulstringoptionalThe statements the dry run accepts, one per line
statementsstatementsArray<CompareBulStatementsInner>optional
residualresidualArray<CompareBulResidualInner>optionalThe changes the BUL does not write
coveragecoverageCompareBulCoverageoptional
verifiedverifiedbooleanoptionalWhether every statement ran in a dry run of the left Version
blockerblockerstringoptionalWhy the BUL cannot replace the right Version even with every change in it, when something does
recordrecordCompareBulRecordoptionalWhether RecordUploadAsTransaction can replace the right Version

CompareBulCoverage#

PropertyJSONTypeDescription
changeschangesnumberoptional
inBulin_bulnumberoptional
ratiorationumberoptional

CompareBulRecord#

PropertyJSONTypeDescription
possiblepossiblebooleanoptional
reasonreasonstringoptional

CompareBulResidualInner#

PropertyJSONTypeDescription
llnumberoptional
rrnumberoptional
keykeystringoptional
namenamestringoptional
typetypestringoptional
kindkindstringoptional
pathpathstringoptional
reasonreasonstringoptional

CompareBulStatementsInner#

PropertyJSONTypeDescription
bulbulstringoptional
kindkindstringoptional
objectsobjectsnumberoptional
changeschangesnumberoptional

CompareCategory#

PropertyJSONTypeDescription
ididstringoptionalStable within a result, for example top.changed.0
kindkindstringoptionalOne of added, removed, changed, unchanged, ignored.
labellabelstringoptional
rulerulestringoptionalThe name of the rule whose outcome block made the category
countcountnumberoptional

CompareCluster#

PropertyJSONTypeDescription
ididstringoptionalStable within a result, for example c0
categorycategorystringoptional
labellabelstringoptionalThe change in words, for example 36 objects moved 500 mm along X
countcountnumberoptional
signaturesignature{ [key: string]: any; }optionalWhat the units share

CompareCounts#

PropertyJSONTypeDescription
addedaddednumberoptional
removedremovednumberoptional
changedchangednumberoptional
unchangedunchangednumberoptional
ignoredignorednumberoptional

CompareDefinitionRef#

PropertyJSONTypeDescription
hashhashstringoptionalThe xxh64 of the definition text
actionUuidaction_uuidstringoptional
actionVersionaction_versionnumberoptional

CompareGroup#

PropertyJSONTypeDescription
keykey{ [key: string]: any; }optionalPer group-by feature its value, null when an object has none
countscounts{ [key: string]: number; }optionalPer category id the units with this key
totaltotalnumberoptional

CompareLayer#

PropertyJSONTypeDescription
categorycategorystringoptional
kindkindstringoptionalOne of added, removed, changed, unchanged, ignored, others.
sidesidestringoptionalOne of left, right, others.
defaultLeftdefault_leftbooleanoptionalThe left objects of pairs without a left block of their own: hidden when both sides share one viewer, styled like their right objects side by side
oidsoidsArray<number>optionalThe object ids of the layer, on its side's Version
oidsVoids_vArray<number>optionalA federation's side only. Aligned with oids, the index of each object's Version in vids
actionsactions{ [key: string]: any; }optionalThe resolved BVL actions of the layer's objects, in the shape ExecuteBvl returns
stylestyleCompareLayerStyleoptionalThe others layer only. The style of loaded objects outside the compare

CompareLayerStyle#

PropertyJSONTypeDescription
colorcolorstringoptional
transparencytransparencynumberoptional
resetresetbooleanoptional
visiblevisiblebooleanoptional

CompareModelsRequest#

PropertyJSONTypeDescription
leftleftCompareSiderequiredOne side of a compare. A side is one model, or a federation of models whose objects are matched with the other side's as one set (an object that went from one model to another is one pair)
rightrightCompareSiderequiredOne side of a compare. A side is one model, or a federation of models whose objects are matched with the other side's as one set (an object that went from one model to another is one pair)
bcolbcolstringoptionalA BCOL definition. When neither bcol, bcol_json, definition nor action_uuid is given, the built-in Default is used
bcolJsonbcol_json{ [key: string]: any | null; }optionalA BCOL definition as JSON, the V3 envelope {"lang": "bcol", "version": "3", "definition": {...}}: the structure as JSON, conditions, features and styles as BQL and BVL text. Its JSON Schema (2020-12) is https://bim.works/schemas/bcol/v3 (ApiSpec/src/schemas/bcol-v3.schema.json). An error is reported at its JSON path
definitiondefinitionstringoptionalA built-in definition. One of default, everything, inventory, geometry.
actionUuidaction_uuidstringoptionalA stored compare (BCOL) action
actionVersionaction_versionnumberoptionalThe version of the stored action; default its current version
optionsoptionsCompareOptionsoptional

CompareMoves#

Details full with layers. The pairs that moved, for drawing arrows

PropertyJSONTypeDescription
countcountnumberoptional
truncatedtruncatedbooleanoptionalWhether more pairs moved than items has (it keeps 2,000)
itemsitemsArray<Array<number>>optionalPer pair the left object id, the right object id, the left centre x, y, z and the right centre x, y, z in mm
leftVleft_vArray<number>optionalA federation's left side only. Per item the index of the left object's Version in vids
rightVright_vArray<number>optionalA federation's right side only. Per item the index of the right object's Version in vids

CompareObjectSet#

PropertyJSONTypeDescription
leftleftArray<number>optional
rightrightArray<number>optional
leftVleft_vArray<number>optionalA federation's left side only. Aligned with left, the index of each object's Version in vids (-1 where left is -1)
rightVright_vArray<number>optionalA federation's right side only. Aligned with right, the index of each object's Version in vids
matchedBymatched_byArray<number>optionalPer pair, the index of its matcher in matchers

CompareObjectsRequest#

PropertyJSONTypeDescription
leftleftstringrequiredThe first object, as a qid
rightrightstringrequiredThe second object, as a qid
bcolbcolstringoptionalA BCOL definition
definitiondefinitionstringoptionalA built-in definition. One of default, everything, inventory, geometry.

CompareObjectsResult#

PropertyJSONTypeDescription
leftleftstringoptional
rightrightstringoptional
statusstatusstringoptionalOne of changed, unchanged, ignored.
categorycategorystringoptional
labellabelstringoptional
changedFeatureschanged_featuresArray<string>optional
changeschanges{ [key: string]: any; }optionalPer changed feature at its record path its left and right value, and geometry's measures
watchedwatchedArray<string>optionalWhat the definition watches; a feature that differs but is not watched is not compared
definitiondefinitionCompareDefinitionRefoptional
hiddenFeatureshiddenFeaturesArray<string>optional

CompareOptions#

PropertyJSONTypeDescription
detailsdetailsstringoptionalHow much of the result to return: `summary` the counts per category, the statistics and the warnings; `objects` adds the object sets per category; `changes` adds the records of the added, removed and changed objects with what changed; `full` adds what every record reports, and the layers. One of summary, objects, changes, full.
layerslayersbooleanoptionalWhether full includes the layers
forceforcebooleanoptionalCompute again even when a stored result answers the request
waitMswait_msnumberoptionalWait at most this long. A compare still running then answers 202 with result_uuid and status RUNNING and goes on in the background. Without it the call waits until the compare is done
categorycategorystringoptionalOnly the records of this category (an id from summary.categories)
offsetoffsetnumberoptionalThe first record of the page
limitlimitnumberoptionalThe number of records in the page
alignalignstringoptionalOverrides the definition's `align` statement: `auto` judges the right side with the move most objects share undone (see `alignment` in the result), `none` counts that move. One of auto, none.

ComparePaging#

PropertyJSONTypeDescription
categorycategorystringoptional
offsetoffsetnumberoptional
limitlimitnumberoptional
totaltotalnumberoptionalThe records available (of the category, or of all categories)
returnedreturnednumberoptional

ComparePairOverride#

PropertyJSONTypeDescription
uuiduuidstringoptional
leftVersionUuidleft_version_uuidstringoptional
rightVersionUuidright_version_uuidstringoptional
kindkindstringoptionalOne of pair, removed, added.
leftOidleft_oidnumberoptional
rightOidright_oidnumberoptional
notenotestringoptional
createdBycreated_bystringoptional
createdOncreated_onstringoptional

ComparePairOverrideSet#

PropertyJSONTypeDescription
overrideoverrideComparePairOverrideoptional
overridesoverridesArray<ComparePairOverride>optional

ComparePairOverrides#

PropertyJSONTypeDescription
deleteddeletedbooleanoptional
overridesoverridesArray<ComparePairOverride>optional

CompareRecord#

PropertyJSONTypeDescription
categorycategorystringoptional
rulerulestringoptional
statusstatusstringoptionalOne of added, removed, changed.
llnumberoptionalThe left object id
rrnumberoptionalThe right object id
lVl_vnumberoptionalA federation's left side only. The index of the left object's Version in vids
rVr_vnumberoptionalA federation's right side only. The index of the right object's Version in vids
matchedBymatched_bystringoptionalThe matcher that paired the objects
keykeystringoptionalThe GlobalId
changedFeatureschanged_featuresArray<string>optionalThe watched features that changed, for example attribute.Name, geometry.translation
changeschanges{ [key: string]: any; }optionalPer changed feature, at its record path: left, right, and for numbers delta and unit, for sets added and removed; geometry holds the measured facets
reportreportCompareRecordReportoptionalDetails full. What the definition reports of each object, as BQL records

CompareRecordReport#

PropertyJSONTypeDescription
leftleft{ [key: string]: any; }optional
rightright{ [key: string]: any; }optional

CompareResult#

A compare result. Which fields are present depends on status and the detail level: while a compare runs only result_uuid and status

PropertyJSONTypeDescription
resultUuidresult_uuidstringoptionalThe stored result, for GetCompareResult
statusstatusstringoptionalOne of PENDING, RUNNING, READY, FAILED.
errorerrorstringoptionalWhy the compare failed (status FAILED)
cachedcachedbooleanoptionalCompareModels only. Whether the result was answered from the store
formatformatstringoptionalThe format of the result document, bcol-result/1
engineVersionengine_versionstringoptionalThe version of the compare algorithm the result was computed with
completedOncompleted_onDateoptional
leftleftCompareResultSideoptional
rightrightCompareResultSideoptional
vidsvidsArray<string>optionalThe left and the right Version. With a federation every model of both sides, the left side's models first; the _v indexes of objects, records, layers and moves point into this list
definitiondefinitionCompareDefinitionRefoptional
parametersparameters{ [key: string]: any; }optionalWhat else the result was computed with besides the definition (the side conditions, the limits, a fingerprint of the caller's feature visibility)
statsstatsCompareStatsoptional
warningswarningsArray<CompareWarning>optional
summarysummaryCompareSummaryoptional
objectsobjects{ [key: string]: CompareObjectSet; }optionalDetails objects and up. Per category id, the object ids of each side: for pairs the two arrays are aligned, added objects have right ids only, removed objects left ids only
clustersclusters{ [key: string]: CompareObjectSet; }optionalDetails objects and up. Per cluster id (see summary.clusters), the object ids of each side, aligned
alignmentalignmentCompareAlignmentoptionalThe rigid move most matched objects with geometry share, when at least half of them do
movesmovesCompareMovesoptionalDetails full with layers. The pairs that moved, for drawing arrows
matchersmatchersArray<string>optionalThe matchers in order, lineage first when the Versions descend from one another; the object sets' matched_by index this list
recordsrecordsArray<CompareRecord>optionalDetails changes and up. One page of the records of the added, removed and changed objects, in legend order
pagingpagingComparePagingoptional
layerslayersArray<CompareLayer>optionalDetails full. The styling of every category and side
hiddenFeatureshiddenFeaturesArray<string>optionalFeatures the definition reads that the caller's feature visibility hides; they were left out
truncatedtruncatedbooleanoptionalWhether records were left out because there are more than the server keeps

CompareResultModel#

One model of a federation's side

PropertyJSONTypeDescription
versionUuidversion_uuidstringoptional
nodeUuidnode_uuidstringoptional
versionversionnumberoptional
namenamestringoptional

CompareResultSide#

PropertyJSONTypeDescription
versionUuidversion_uuidstringoptionalThe Version; for a federation an id of its models, which names no Version
nodeUuidnode_uuidstringoptional
versionversionnumberoptional
namenamestringoptional
objectsobjectsnumberoptionalThe objects of this side in the compare's scope
modelsmodelsArray<CompareResultModel>optionalA federation's models, in the request's order

CompareSide#

One side of a compare. A side is one model, or a federation of models whose objects are matched with the other side's as one set (an object that went from one model to another is one pair)

PropertyJSONTypeDescription
modelsmodelsArray<ModelIdentifier>requiredThe model of this side, or the models of a federation
wherewherestringoptionalA BQL condition every object of this side must meet besides the definition's scope, for example type = IFCWALL

CompareStats#

PropertyJSONTypeDescription
leftleftnumberoptionalObjects in scope on the left
rightrightnumberoptionalObjects in scope on the right
matchedmatchednumberoptionalPairs
matchRatematch_ratenumberoptionalPairs per object of the smaller side
matchedBymatched_by{ [key: string]: number; }optionalPairs per matcher
duplicatesduplicatesCompareStatsDuplicatesoptionalObjects not matched because their key occurs more than once on their side
ignoredignorednumberoptionalObjects and pairs a rule ignored
lineagelineagebooleanoptionalWhether one Version descends from the other, so equal object ids are the same object
sameContentsame_contentbooleanoptionalWhether both sides have identical content
fastPathfast_pathCompareStatsFastPathoptionalBetween two Versions of one chain of edits: how many objects the edits touched, and how many pairs kept their geometry without it being measured
elapsedMselapsed_msnumberoptional

CompareStatsDuplicates#

PropertyJSONTypeDescription
leftleftnumberoptional
rightrightnumberoptional

CompareStatsFastPath#

PropertyJSONTypeDescription
touchedtouchednumberoptional
geometrySkippedgeometry_skippednumberoptional

CompareSummary#

PropertyJSONTypeDescription
categoriescategoriesArray<CompareCategory>optionalIn legend order
groupsgroupsArray<CompareGroup>optionalCounts per value of the definition's group by, the largest first
clustersclustersArray<CompareCluster>optionalUnits that changed in the same way, the largest first; their objects are in the result's clusters

CompareWarning#

PropertyJSONTypeDescription
codecodestringoptionalduplicate_key, low_match_rate, definition, not_available
messagemessagestringoptional
detailsdetails{ [key: string]: any; }optional

ConfirmLinkMatchRequest#

PropertyJSONTypeDescription
linkUuidlink_uuidstringrequired
versionUuidversion_uuidstringrequired

ConfirmLinkMatchResult#

PropertyJSONTypeDescription
confirmedAnchorUuidconfirmed_anchor_uuidstringoptional
linklinkLinkedDataLinkoptionalOne item on one object of a model. The fields after deleted_by describe it on the Version listed (ListLinkedData, LinkData) or give its trail (anchors, GetLinkedData and the calls that change a link)

CopiedGeoReference#

PropertyJSONTypeDescription
geoReferencegeo_referenceGeoReferenceoptional
anchorPointanchor_pointVector3optionalThe point in the target's model coordinates the georeference places
rotationNorthrotation_northstringoptionalOne of GRID, TRUE.
originalEpsgoriginal_epsgstringoptionalThe coordinate system the source's georeference was found in
gridConvergencegrid_convergencenumberoptionalDegrees between grid north and true north at the point; absent when 0
geoReferenceSourcegeo_reference_sourceGeoReferenceSourceoptionalWhere a copied georeference came from (CopyGeoReference); absent for one of the Version's own
warningswarningsArray<string>optionalWhat may make the copy wrong, e.g. a target without an alignment

CopyGeoReferenceRequest#

PropertyJSONTypeDescription
modelmodelModelIdentifierrequiredThe Version that gets the georeference (a Node stands for its latest Version)
fromfromModelIdentifierrequiredThe Version whose georeference is copied, usually the model model is aligned onto

CreateAnonymousTokenRequest#

PropertyJSONTypeDescription
identifieridentifierstringoptionalOptional identifier stored with the token, useful for debugging

CreateAnonymousTokenResult#

PropertyJSONTypeDescription
tokentokenstringrequiredThe anonymous token, prefixed with "at-". Store it safely, it is never shown again.
uuiduuidstringrequired
rootNodeUuidroot_node_uuidstringrequired

CreateApiTokenRequest#

PropertyJSONTypeDescription
nodeUuidnode_uuidstringrequiredThe Node (folder) the token is rooted at; needs write rights on it
namenamestringrequiredThe name of the token
scopesscopesArray<string>requiredThe scopes the token grants, as wire names (fs:read, model:upload, ...). A scoped caller can grant no more than it has itself
expiresOnexpires_onstringoptionalWhen the token expires: a date (YYYY-MM-DD, the end of that day in UTC) or a date-time. At most auth.api_token_max_expiry ahead (3 years by default); 1 month when absent
corsEnabledDomainscors_enabled_domainsArray<string>optionalThe browser origins that may use the token, with only_cors_enabled_addresses
onlyCorsEnabledAddressesonly_cors_enabled_addressesbooleanoptionalRefuse calls from other origins than cors_enabled_domains
whiteListedIpAddresseswhite_listed_ip_addressesArray<string>optionalThe client addresses that may use the token, with only_white_listed_ip_addresses
onlyWhiteListedIpAddressesonly_white_listed_ip_addressesbooleanoptionalRefuse calls from other addresses than white_listed_ip_addresses
bimContextbim_contextstringoptionalThe regional context of the token. One of DEFAULT, MKM, HONG_KONG, NL, GB.

CreateNodeRequest#

PropertyJSONTypeDescription
namenamestringrequired
folderfolderbooleanrequired
inputFileTypeinput_file_typeInputFileTypeoptionalThe type of Node, when not provided it assumed to be FOLDER (when folder is true) or IFC (when folder is false). One of IFC, E57, PDF, PLY_ASCII, LAZ, LAS, TEST, ZIP, BCF, UNKNOWN, FOLDER, GLB, GLTF, IFCX, DWG.
parentNodeUuidparent_node_uuidstringoptionalThe UUID of the Node under which to create a new Node. When not specified this defaults to the Root Node of your current auth context
allowExistingallow_existingbooleanoptionalWhen true, no exception will be thrown in case the specified Node already exists, the existing Node will be returned. When false, an exception will be thrown when a Node with the given name already exists.

CreateNodesTokenRequest#

PropertyJSONTypeDescription
expiresSecondsexpires_secondsnumberrequired
nodeUuidsnode_uuidsArray<string>required
taskstasksArray<string>optionalDeprecated - use scopes instead. Task-name allow-lists do not cover API calls added later and can name tasks that no longer exist.
scopesscopesArray<Scope>optionalScopes granted to the token (preferred over tasks - scopes keep working when new API calls are added); the issued scopes can never exceed the issuing credential's scopes
ipAddressesip_addressesArray<string>optional
lockToCalledIplock_to_called_ipbooleanoptional
responseFormatresponse_formatAuthResponseFormatoptionalThe preferred response format for calls that return authentication material: the full Auth object ("auth", the default), or only its Base64 encoded JSON serialization ("base64"), which is directly usable as a bearer token. One of auth, base64.

CreateRecursiveNodeTokenRequest#

PropertyJSONTypeDescription
expiresSecondsexpires_secondsnumberrequired
nodeUuidnode_uuidstringrequired
taskstasksArray<string>optionalDeprecated - use scopes instead. Task-name allow-lists do not cover API calls added later and can name tasks that no longer exist.
scopesscopesArray<Scope>optionalScopes granted to the token (preferred over tasks - scopes keep working when new API calls are added); the issued scopes can never exceed the issuing credential's scopes
ipAddressesip_addressesArray<string>optional
lockToCalledIplock_to_called_ipbooleanoptional
responseFormatresponse_formatAuthResponseFormatoptionalThe preferred response format for calls that return authentication material: the full Auth object ("auth", the default), or only its Base64 encoded JSON serialization ("base64"), which is directly usable as a bearer token. One of auth, base64.

CreateVersionsTokenRequest#

PropertyJSONTypeDescription
expiresSecondsexpires_secondsnumberrequired
versionUuidsversion_uuidsArray<string>required
taskstasksArray<string>optionalDeprecated - use scopes instead. Task-name allow-lists do not cover API calls added later and can name tasks that no longer exist.
scopesscopesArray<Scope>optionalScopes granted to the token (preferred over tasks - scopes keep working when new API calls are added); the issued scopes can never exceed the issuing credential's scopes
ipAddressesip_addressesArray<string>optional
lockToCalledIplock_to_called_ipbooleanoptional
responseFormatresponse_formatAuthResponseFormatoptionalThe preferred response format for calls that return authentication material: the full Auth object ("auth", the default), or only its Base64 encoded JSON serialization ("base64"), which is directly usable as a bearer token. One of auth, base64.

CreateWorkspaceRequest#

PropertyJSONTypeDescription
namenamestringrequiredThe name
parentWorkspaceUuidparent_workspace_uuidstringoptionalMake it a sub-workspace of this one
scopesscopesArray<string>optionalWhat a visitor may do, as scope wire names; unscoped (or the parent's) when null
filterfilterstringoptionalA BQL condition that limits the objects a visitor sees
loadAllModelsInitiallyload_all_models_initiallybooleanoptionalLoad every model when a visitor opens it
currentSpacecurrent_space{ [key: string]: any | null; }optional{get_clause, label_template}: how the web app names the space a visitor is in
featureVisibilityfeature_visibility{ [key: string]: any | null; }optional{mode: allow | deny, features: [...]}: the features a visitor sees

CreateWorkspace200Response#

PropertyJSONTypeDescription
uuiduuidstringoptional

DatabaseStatus#

Values: UP, DOWN, UNKNOWN.

DeleteActionRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe action

DeleteApiTokenRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe token

DeleteComparePairOverrideRequest#

PropertyJSONTypeDescription
uuiduuidstringrequired

DeleteLinkedDataRequest#

PropertyJSONTypeDescription
itemUuidsitem_uuidsArray<string>required
reasonreasonstringoptional

DeleteLinkedDataResult#

PropertyJSONTypeDescription
deleteddeletedArray<string>optional
retentionDaysretention_daysnumberoptionalHow long the items can be restored

DeleteNodeErrorRequest#

PropertyJSONTypeDescription
nodeUuidnode_uuidstringrequiredThe Node
errorUuiderror_uuidstringrequiredThe error, from ListNodeErrors

DeleteNodeRequest#

PropertyJSONTypeDescription
uuiduuidstringoptionalThe UUID of the Node to delete. Pass uuid or path, not both
pathpathstringoptionalThe path to the Node from the current Root Node, instead of uuid. Use forward slashes to separate Nodes
ifExistsif_existsbooleanoptionalWhen true, a Node that does not exist is no error and nothing is deleted

DeleteVersionRequest#

PropertyJSONTypeDescription
nodeUuidnode_uuidstringrequiredThe UUID of the Node the Version belongs to
versionUuidversion_uuidstringrequiredThe UUID of the Version to delete

DeleteWorkspaceRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe workspace

Discipline#

Values: ARCHITECTURAL, AIR_CONDITIONING, BUILDING_SERVICES, ELECTRICAL, HEATING, STRUCTURAL, VENTILATION, PLUMBING, SPRINKLER, INVENTORY, FACILITY_MANAGEMENT, LANDSCAPE, PREFAB_CONCRETE, STEEL_STRUCTURE, SITE_OPERATIONS, COOLING, SPECIAL_PIPING, PROCESS, HVAC, SPATIAL, GEOTECHNICAL, BRIDGE, ROAD, RAILWAY, PORTS_AND_WATERWAYS, TIMBER_STRUCTURE, VERTICAL_TRANSPORT, TUNNEL, SURVEY, UNKNOWN.

DisciplineSource#

Where a version's discipline value came from - USER values are never overwritten automatically, AUTO was applied by the content classifier, INHERITED was copied from the node's previous version at checkin

Values: USER, AUTO, INHERITED.

DownloadAsZipRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe UUID of the folder Node to download
includeDeletedinclude_deletedbooleanoptionalWhether to also include deleted Nodes (default: false)
formatformatstringoptional`ZIP` (default): a ZIP file whose entries are deflated, which every unzip tool opens. `ZIP_ZST`: the ZIP with its entries stored, compressed as a whole with zstd (`application/zstd`, file name `name.zip.zst`). Usually about a third smaller and several times faster to produce; `zstd -d` or 7-Zip turns it into the ZIP. One of ZIP, ZIP_ZST.

DownloadLinkedDataRequest#

PropertyJSONTypeDescription
itemUuiditem_uuidstringrequired
deliverydeliverystringoptional`stream`: the content as the body; `url`: a LinkedDataDownloadUrl as JSON. One of stream, url.
dispositiondispositionstringoptionalWith `delivery: url`, whether the URL sends a download or shows the content. One of attachment, inline.

DownloadRequest#

A model identifier, with the options of a download next to its fields. A request that holds a model identifier and nothing else is a valid download request. Instead of a model identifier, error_uuid names the file of an upload that failed.

PropertyJSONTypeDescription
formatformatstringoptional`original`: the file as it was uploaded, byte for byte (a Version made by a transaction has no upload: it is served as `ifc`); `ifc`: the model serialized as IFC STEP (`application/ifc`), whatever the encoding it was uploaded in; `ifcxml`: the model serialized as ifcXML (`application/xml`), ISO 10303-28 for IFC2X3 and ifcXML4 for IFC4/IFC4X3. `target_schema` applies to `original` and `ifc`. One of original, ifc, ifcxml.
errorUuiderror_uuidstringoptionalInstead of a model identifier, the error of an upload that failed (from ListNodeErrors), whose uploaded file comes back. Needs read rights on its Node
typetypestringoptionalThe kind of model identifier, required unless error_uuid is given. One of UrlModelIdentifier, NodeModelIdentifier, VersionModelIdentifier.
namenamestringoptionalName of the model, see ModelIdentifier
uuiduuidstringoptionalThe UUID of the Version (VersionModelIdentifier) or of the Node (NodeModelIdentifier)
urlurlstringoptionalThe URL of the model (UrlModelIdentifier)
targetSchematarget_schemastringoptionalThe IFC schema to convert the model to, for example IFC4. Absent means the model as it was uploaded
validatevalidatebooleanoptionalOnly with target_schema. Whether to run the schema check on the converted file before it is returned, and on the model to compare with. This about doubles the time of a conversion (default: false)

EndLinkRequest#

PropertyJSONTypeDescription
linkUuidlink_uuidstringrequired
fromVersionUuidfrom_version_uuidstringrequired

ErrorResponse#

PropertyJSONTypeDescription
codecodenumberoptionalMachine-readable error code
typetypestringoptionalMachine-readable textual version of the error code
domainFulldomain_fullstringoptionalThe full domain name of the error namespace
domaindomainstringoptionalThe domain of the error (namespace)
messagemessagestringoptionalHuman readable version of the error

ExportCityGML3Request#

PropertyJSONTypeDescription
modelsmodelsArray<ModelIdentifier>requiredModels to export. Passing an empty model set is also valid, and allows you to validate your export settings
settingssettingsCityGML3ExportSettingsrequired
formatformatstringoptionalAbsent, the Accept header decides, and citygml3 when it does not ask for CityJSON. `citygml3`: CityGML 3.0, served as `application/gml`; `cityjson2`: CityJSON 2.0, served as `application/city+json`. One of citygml3, cityjson2.

ExportCompareResultRequest#

PropertyJSONTypeDescription
resultUuidresult_uuidstringrequired
formatformatstringoptionalxlsx: a Summary and a Changes sheet; csv: the Changes sheet; json: the whole result; bcf: BCF 3.0, one topic per added, removed or changed object (at most 1,000). One of xlsx, csv, json, bcf.
categoriescategoriesArray<string>optionalOnly the records of these categories (ids from summary.categories)

ExportGeometryRequest#

PropertyJSONTypeDescription
modelsmodelsArray<ModelIdentifier>required
queryquerystringoptionalA BQL condition, such as type = IFCWALL
formatformatstringoptional`glb` (`model/gltf-binary`), the only format so far. One of glb.
colorscolors{ [key: string]: Array<number>; }optionalColours by object, qid (version uuid, a dash, the oid) to [r, g, b, a], each 0 to 1
onlyOutsideTrianglesonly_outside_trianglesbooleanoptionalLeave out the triangles that cannot be seen from outside

ExportVectorSvgRequest#

PropertyJSONTypeDescription
viewviewstringoptional
directiondirectionVector3optional
cutcutnumberoptional
cutFractioncut_fractionnumberoptional
sizesizenumberoptional
jitterjitternumberoptional
hairlinehairlinebooleanoptional
modelmodelModelIdentifierrequired
stylingstylingObjectStylingoptional
labelslabelsLabelSettingsoptional
cachecachestringoptional

ExtractGeoReferenceRequest#

PropertyJSONTypeDescription
modelmodelModelIdentifierrequiredThe Version (a Node stands for its latest Version)
methodmethodstringrequiredWhere to take it from. One of map_conversion, map_conversion_pset, ifc_site, epsg, auto.
epsgepsgstringoptionalFor method epsg: the coordinate system of the model's coordinates, as EPSG:
wktwktstringoptionalFor method epsg: the coordinate system as WKT, instead of epsg

ExtractedGeoReference#

PropertyJSONTypeDescription
geoReferencegeo_referenceGeoReferenceoptional
anchorPointanchor_pointVector3optional
originalEpsgoriginal_epsgstringoptionalThe coordinate system it was found in
methodmethodstringoptionalThe method that found it (for auto: which one)

Generate3DTilesUrlRequest#

PropertyJSONTypeDescription
nodeUuidnode_uuidstringoptionalA folder node; its models are collected recursively on every tileset request. Wins over version_uuids when both are given.
versionUuidsversion_uuidsArray<string>optionalA fixed set of model versions
settingssettingsTilesSettingsoptional
linkAccountlink_accountbooleanoptionalBind the URL to the calling account

Generate3DTilesUrl200Response#

PropertyJSONTypeDescription
urlurlstringoptional

GeoReference#

PropertyJSONTypeDescription
latitudelatitudenumberoptional
longitudelongitudenumberoptional
elevationelevationnumberoptional
rotationrotationnumberoptional
epsgepsgstringoptional

GeoReferenceResult#

PropertyJSONTypeDescription
geoReferencegeo_referenceGeoReferenceoptional
anchorPointanchor_pointVector3optionalWith model: the point in model coordinates the georeference places
gridConvergencegrid_convergencenumberoptionalDegrees between grid north and true north at the point; absent when 0
rotationNorthrotation_northstringoptionalOne of GRID, TRUE.
mapConversionmap_conversion{ [key: string]: any; }optionalWith include_map_conversion: what the model's IfcMapConversion says
originalEpsgoriginal_epsgstringoptionalWith include_source: the coordinate system the georeference was found in
geoReferenceSourcegeo_reference_sourceGeoReferenceSourceoptionalWhere a copied georeference came from (CopyGeoReference); absent for one of the Version's own

GeoReferenceSource#

Where a copied georeference came from (CopyGeoReference); absent for one of the Version's own

PropertyJSONTypeDescription
versionUuidversion_uuidstringoptionalThe Version it was copied from
alignmentalignmentArray<number>optionalThe alignment the Version had when it was copied (mm, column-major), null for none
nodeNamenode_namestringoptionalThe name of the Node it was copied from, while that Version exists
versionversionnumberoptionalThe number of the Version it was copied from, while it exists

GetActionRequest#

PropertyJSONTypeDescription
uuiduuidstringoptionalThe action
pathpathstringoptionalThe action, as a path from the caller's own folder

GetApplicationVersion200Response#

PropertyJSONTypeDescription
versionversionApplicationVersionoptional

GetCheckinRequest#

PropertyJSONTypeDescription
jobUuidjob_uuidstringoptionalThe checkin job, as UploadModel or AddModelWithUrl answered it
versionUuidversion_uuidstringoptionalThe Version the checkin made, instead of job_uuid
waitMswait_msnumberoptionalWait up to this long for the checkin to end

GetCompareBulRequest#

PropertyJSONTypeDescription
leftVersionUuidleft_version_uuidstringrequiredThe older Version, which the statements address
rightVersionUuidright_version_uuidstringrequired

GetCompareResultRequest#

PropertyJSONTypeDescription
resultUuidresult_uuidstringrequiredThe result, as CompareModels answered it
detailsdetailsstringoptionalHow much of the result to return. One of summary, objects, changes, full.
layerslayersbooleanoptionalWhether full includes the layers
categorycategorystringoptionalOnly the records of this category (an id from summary.categories)
offsetoffsetnumberoptionalThe first record of the page
limitlimitnumberoptionalThe number of records in the page
formatformatstringoptionalAbsent, the Accept header decides, and json when it names none of these. `json`: the paged result (`application/json`); `document`: the whole result as one JSON document (`application/json`); `xlsx`: a Summary and a Changes sheet; `csv`: the Changes sheet (`text/csv`); `bcf`: BCF 3.0, one topic per added, removed or changed object (`application/bcf`). One of json, document, xlsx, csv, bcf.
categoriescategoriesArray<string>optionalFor the file formats, only the records of these categories (ids from summary.categories)

GetGeoReferenceRequest#

PropertyJSONTypeDescription
modelmodelModelIdentifieroptionalThe Version (a Node stands for its latest Version)
geoReferencegeo_referenceGeoReferenceoptionalA georeference to convert instead of reading one; its epsg is required
targetEpsgtarget_epsgstringoptionalThe coordinate system of the answer
includeMapConversioninclude_map_conversionbooleanoptionalAlso the model's IfcMapConversion (with model only)
includeSourceinclude_sourcebooleanoptionalAlso the coordinate system it was found in (original_epsg) and where a copied georeference came from (geo_reference_source), with model only

GetGeometryMetaDataRequest#

PropertyJSONTypeDescription
modelsmodelsArray<ModelIdentifier>requiredThe models, by Version or Node identifier

GetLinkedDataCountsRequest#

PropertyJSONTypeDescription
versionUuidversion_uuidstringrequired
includeLaterinclude_laterbooleanoptional

GetLinkedDataRequest#

PropertyJSONTypeDescription
itemUuiditem_uuidstringrequired
versionUuidversion_uuidstringoptional

GetMatchCandidatesRequest#

PropertyJSONTypeDescription
resultUuidresult_uuidstringrequired
leftOidsleft_oidsArray<number>optionalOnly these removed objects (a compare of two Versions)
leftQidsleft_qidsArray<string>optionalOnly these removed objects, as qids; also for a compare of federations
limitlimitnumberoptionalCandidates per object
radiusMmradius_mmnumberoptionalHow far a candidate may be

GetNodeRequest#

PropertyJSONTypeDescription
pathpathstringoptionalThe path to the Node from the current Root Node. Use forward slashes to separate Nodes
uuiduuidstringoptionalThe UUID of the Node to get information about
versionUuidversion_uuidstringoptionalThe UUID of a Version (convenience method)

GetObjectHistoryRequest#

PropertyJSONTypeDescription
modelmodelModelIdentifierrequiredThe Version or Node whose history to read
oidoidnumberrequiredThe object id
featurefeaturestringoptionalOnly the changes to this feature
featuresOnlyfeatures_onlybooleanoptionalOnly the names of the features that changed

GetValidationReportRequest#

PropertyJSONTypeDescription
modelmodelModelIdentifieroptionalThe Version (a Node stands for its latest Version)
errorUuiderror_uuidstringoptionalA failed checkin instead, from ListNodeErrors
summaryOnlysummary_onlybooleanoptionalOnly the summary
minSeveritymin_severitystringoptionalOnly findings of this severity or worse. One of INFO, WARNING, ERROR, FATAL.
stagestagestringoptionalOnly this stage
ruleruleArray<string>optionalOnly these rules
globalIdglobal_idstringoptionalOnly findings about this object
expressIdexpress_idnumberoptionalOnly findings about this STEP line

GetVersionChangesRequest#

PropertyJSONTypeDescription
versionUuidversion_uuidstringoptionalOne Version
versionUuidsversion_uuidsArray<string>optionalSeveral Versions
onlyStoredonly_storedbooleanoptionalAnswer from stored results only; compute nothing

GetVersionRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe UUID of the Version to get

ImMetadata#

Metadata of the indexed model (derivative set) belonging to a Version. This is the viewer contract: a Version can be passed to the Viewer3D/Viewer2D ModelManager once im_metadata is present. It is null while the model is still being processed (or when processing failed) — poll getVersion until it appears. All fields the viewers read are listed explicitly; additional fields may be present.

PropertyJSONTypeDescription
midmidstringoptionalThe UUID of the indexed model, used by the viewer to fetch geometry
ifcSchemaifcSchemastringoptionalThe IFC schema of the source model (e.g. IFC2X3, IFC4)
filenamefilenamestringoptionalThe filename of the uploaded source model
filesizefilesizenumberoptionalThe size of the source model in bytes
filesizeEstimatedfilesize_estimatedbooleanoptionalWhether filesize is an estimate (e.g. for TRANSACTION versions)
geometryTypegeometryTypestringoptionalThe type of the generated geometry (e.g. BASIC, OCTREE_CHUNKED)
nrOfPrimitivesnrOfPrimitivesnumberoptionalThe number of geometric primitives (triangles) in the model
multiplierToMmmultiplierToMmnumberoptionalMultiplier to convert the model's length unit to millimeters
transformedBoundsMmtransformedBoundsMmBoundingBoxoptionalAn axis-aligned bounding box
transformedMainBoundsMmtransformedMainBoundsMmBoundingBoxoptionalAn axis-aligned bounding box
untransformedBoundsMmuntransformedBoundsMmBoundingBoxoptionalAn axis-aligned bounding box
totalBoundstotalBoundsBoundingBoxoptionalAn axis-aligned bounding box
obbMmobbMmOrientedBoundingBoxoptionalAn oriented bounding box, defined by a center, extent and three axes
baseTranslationbaseTranslationVector3optional
globalTranslationVectorglobalTranslationVectorVector3optional
anchorPointanchorPointVector3optional
vertexUnquantizationMatrixvertexUnquantizationMatrixArray<number>optionalColumn-major 4x4 matrix (16 numbers) to unquantize vertex coordinates
geoReferencegeoReferenceGeoReferenceoptional
pointCloudpointCloudPointCloudMetadataoptionalPresent when the version is a point cloud: the effective format settings (PointCloudFormatSettings: defaults + detection + the upload's overrides, plus detection warnings), the format, and what the 3D viewer navigates and measures by. Lengths are mm, positions in the model frame of the other bounds. Check-ins before recordVersion 2 have only the settings and the format; the viewer then estimates what it needs, and a reindex fills the rest in.

ImageSize#

PropertyJSONTypeDescription
widthwidthnumberoptional
heightheightnumberoptional

InputFileType#

Values: IFC, E57, PDF, PLY_ASCII, LAZ, LAS, TEST, ZIP, BCF, UNKNOWN, FOLDER, GLB, GLTF, IFCX, DWG.

LabelSettings#

How BVL labels are drawn.

PropertyJSONTypeDescription
sizesizenumberoptionalFont size in drawing millimetres (2.5 mm on paper at 1:100).
fitfitstringoptionalWhat happens when a label is wider than the object it sits in. One of overflow, shrink, omit.

LinkDataResult#

PropertyJSONTypeDescription
itemsitemsArray<LinkDataResultEntry>optionalOne entry per item of the request; the refused ones first

LinkDataResultEntry#

A linked item with its links, or a refused one with its error

PropertyJSONTypeDescription
indexindexnumberoptionalThe position of the item in the request
itemitemLinkedDataItemoptionalA file, URL, text or identifier, linked to objects. Times are UTC, without a zone
linkslinksArray<LinkedDataLink>optional
filenamefilenamestringoptionalThe file name of a refused file
errorerrorstringoptionalThe error type of a refused item, for example FILE_TYPE_NOT_ALLOWED
messagemessagestringoptional

LinkDataSpec#

The request part of LinkData

PropertyJSONTypeDescription
versionUuidversion_uuidstringrequiredThe Version the targets are objects of
targetstargetsArray<LinkTarget>required
itemsitemsArray<LinkedDataItemSpec>required

LinkTarget#

One object of a Version, by exactly one of oid, qid (of that Version) or global_id

PropertyJSONTypeDescription
oidoidnumberoptional
qidqidstringoptional
globalIdglobal_idstringoptionalThe IFC GlobalId; refused with AMBIGUOUS_GLOBAL_ID when several objects of the Version have it

LinkedDataAnchor#

Where a link was on a span of Versions, first_version to last_version (open when absent)

PropertyJSONTypeDescription
uuiduuidstringoptional
linkUuidlink_uuidstringoptional
directiondirectionLinkedDataAnchorDirectionoptional`FORWARD` from the link's first Version to newer ones, `BACKWARD` to older ones (links added in later Versions). One of FORWARD, BACKWARD.
firstVersionfirst_versionnumberoptional
firstVersionUuidfirst_version_uuidstringoptional
lastVersionlast_versionnumberoptional
lastVersionUuidlast_version_uuidstringoptional
oidoidnumberoptionalThe object on these Versions; absent when orphaned
howhowLinkedDataAnchorHowoptionalHow a link found its object on the first Version of a span: `LINKED` (made there), `SAME_OID` (one lineage: a transaction, a conversion, a branch), `SAME_CONTENT` (an identical upload), `PAIRED` (a pair fixed by hand in a compare), `GLOBAL_ID`, `MATCHED` (same type and place, new in this Version; to check), `CONFIRMED`, `REATTACHED`, `RESUMED` (the GlobalId came back) or `ORPHANED` (the object is not there). One of LINKED, SAME_OID, SAME_CONTENT, PAIRED, GLOBAL_ID, MATCHED, CONFIRMED, REATTACHED, RESUMED, ORPHANED.
statestateLinkedDataAnchorStateoptional`OK` (shown), `CHECK` (shown, and someone should confirm the object) or `ORPHANED` (the object is not on the Version; the link is kept). One of OK, CHECK, ORPHANED.
confidenceconfidencenumberoptionalOf a MATCHED span, 0 to 1
candidatescandidatesArray<number>optionalThe objects of a CHECK span with the same GlobalId
followedOnfollowed_onstringoptional
confirmedOnconfirmed_onstringoptional
confirmedByconfirmed_bystringoptional

LinkedDataAnchorDirection#

FORWARD from the link's first Version to newer ones, BACKWARD to older ones (links added in later Versions)

Values: FORWARD, BACKWARD.

LinkedDataAnchorHow#

How a link found its object on the first Version of a span: LINKED (made there), SAME_OID (one lineage: a transaction, a conversion, a branch), SAME_CONTENT (an identical upload), PAIRED (a pair fixed by hand in a compare), GLOBAL_ID, MATCHED (same type and place, new in this Version; to check), CONFIRMED, REATTACHED, RESUMED (the GlobalId came back) or ORPHANED (the object is not there)

Values: LINKED, SAME_OID, SAME_CONTENT, PAIRED, GLOBAL_ID, MATCHED, CONFIRMED, REATTACHED, RESUMED, ORPHANED.

LinkedDataAnchorState#

OK (shown), CHECK (shown, and someone should confirm the object) or ORPHANED (the object is not on the Version; the link is kept)

Values: OK, CHECK, ORPHANED.

LinkedDataArchiveEntry#

PropertyJSONTypeDescription
namenamestringoptional
sizesizenumberoptional

LinkedDataCountTotals#

PropertyJSONTypeDescription
objectsobjectsnumberoptional
itemsitemsnumberoptionalDistinct items
checkchecknumberoptionalObjects to check
orphanedorphanednumberoptionalLinks orphaned on this Version
laterlaternumberoptional

LinkedDataCounts#

Which objects of a Version have linked data (oids of that Version, sorted)

PropertyJSONTypeDescription
versionUuidversion_uuidstringoptional
versionversionnumberoptional
nodeUuidnode_uuidstringoptional
objectsobjectsArray<number>optionalThe objects with linked data
checkcheckArray<number>optionalThose of them with a link to check
laterlaterArray<number>optionalWith include_later, the objects whose only links were made on later Versions
byFamilyby_family{ [key: string]: Array<number>; }optionalThe objects per file family (PDF, IMAGES, ...), or per kind for what is not a file (URL, TEXT, IDENTIFIER)
markersmarkersArray<LinkedDataMarker>optional
countscountsLinkedDataCountTotalsoptional

LinkedDataDetails#

An item with its links and their trails, and the items it replaces or that replaced it

PropertyJSONTypeDescription
itemitemLinkedDataItemoptionalA file, URL, text or identifier, linked to objects. Times are UTC, without a zone
replacesreplacesLinkedDataReplacementoptionalOne side of a replacement (ReplaceLinkedData)
replacedByreplaced_byArray<LinkedDataReplacement>optional
linkslinksArray<LinkedDataLink>optional

LinkedDataDownloadUrl#

Where to GET the content of an item (DownloadLinkedData with delivery: url)

PropertyJSONTypeDescription
urlurlstringoptionalThe URL, valid until expires without a token; treat it like the file itself
expiresexpiresDateoptional
dispositiondispositionstringoptionalWhat the URL sends. One of attachment, inline.
pathpathstringoptionalThe same URL below the server's address, when the content is served from that address (no separate content origin)

LinkedDataFacts#

What the server read from a file's content (an archive's entries, an image's size and EXIF)

PropertyJSONTypeDescription
entriesentriesArray<LinkedDataArchiveEntry>optionalThe first entries of an archive
entryCountentry_countnumberoptionalThe entries of an archive
widthwidthnumberoptionalAn image's width in pixels
heightheightnumberoptionalAn image's height in pixels
takenOntaken_onstringoptionalWhen a photo was taken (EXIF), local time without a zone, for example 2024-05-17T10:11:12
locationlocationbooleanoptionalThe photo holds a GPS position
metadataStrippedmetadata_strippedbooleanoptionalThe location and camera details were removed on upload (strip_metadata)
metadataKeptmetadata_keptstringoptionalWhy strip_metadata kept them (a HEIC or TIFF is stored as it is)

LinkedDataFileExtension#

PropertyJSONTypeDescription
extensionextensionstringoptionalWithout the dot, for example pdf or shp.zip
labellabelstringoptional
mediaTypemedia_typestringoptional
inlineinlinebooleanoptionalWhether a browser may show it in a tab

LinkedDataFileFamily#

PropertyJSONTypeDescription
namenamestringoptionalFor example PDF, IMAGES, OFFICE
titletitlestringoptional
tokentokenstringoptionalThe design token of the family's colour
colorcolorstringoptional
extensionsextensionsArray<LinkedDataFileExtension>optional

LinkedDataIdentifier#

PropertyJSONTypeDescription
systemsystemstringoptionalThe system the value is from, for example SAP
valuevaluestringrequiredAt most 1 KiB

LinkedDataItem#

A file, URL, text or identifier, linked to objects. Times are UTC, without a zone

PropertyJSONTypeDescription
uuiduuidstringoptional
ownerNodeUuidowner_node_uuidstringoptionalThe model the item belongs to, whose rights decide who may change it
kindkindLinkedDataKindoptionalWhat an item holds: a web address (never fetched by the server), a text, a value in another system with that system's name, or a file. One of URL, TEXT, IDENTIFIER, FILE.
titletitlestringoptional
descriptiondescriptionstringoptional
categorycategorystringoptional
valuevaluestringoptionalThe URL, the identifier, or a short text
textPreviewtext_previewstringoptionalThe first KiB of a long text (which downloads whole)
identifierSystemidentifier_systemstringoptional
sha256sha256stringoptionalThe SHA-256 of a file or a long text, hex
mediaTypemedia_typestringoptionalThe media type the server found
declaredMediaTypedeclared_media_typestringoptionalThe media type the client declared, when it differs
familyfamilystringoptionalThe file family (see the policy), for example PDF or IMAGES
extensionextensionstringoptional
filenamefilenamestringoptional
sizesizenumberoptionalBytes
factsfactsLinkedDataFactsoptionalWhat the server read from a file's content (an archive's entries, an image's size and EXIF)
validUntilvalid_untilstringoptionalA date, yyyy-mm-dd
replacesItemUuidreplaces_item_uuidstringoptional
copiedFromItemUuidcopied_from_item_uuidstringoptional
createdOncreated_onstringoptional
createdBycreated_bystringoptional
createdByUuidcreated_by_uuidstringoptional
createdOnVersionUuidcreated_on_version_uuidstringoptional
createdOnVersioncreated_on_versionnumberoptional
viaviaLinkedDataViaoptionalThrough which door an item or a link came in. One of APP, TASK_API, OPEN_API, CHAT, COPY, IMPORT.
clientclientstringoptionalThe client that added it (its X-BIMworks-Client label)
modifiedOnmodified_onstringoptional
modifiedBymodified_bystringoptional
rowVersionrow_versionnumberoptionalSend it with UpdateLinkedData
scanStatusscan_statusstringoptional
deletedOndeleted_onstringoptional
deletedBydeleted_bystringoptional
deletedReasondeleted_reasonstringoptional
purgedOnpurged_onstringoptional

LinkedDataItemSpec#

One item to link. Its value is url, text, identifier or, for a FILE, a file part

PropertyJSONTypeDescription
kindkindLinkedDataKindrequiredWhat an item holds: a web address (never fetched by the server), a text, a value in another system with that system's name, or a file. One of URL, TEXT, IDENTIFIER, FILE.
titletitlestringoptionalWithout one, the file name without its extension, the URL's host, the identifier's system and value, or the text's first line
descriptiondescriptionstringoptional
categorycategorystringoptionalOne of the policy's categories
validUntilvalid_untilstringoptionalA date, yyyy-mm-dd
urlurlstringoptionalA URL with one of the policy's schemes (URL)
texttextstringoptionalThe text (TEXT); a long one is stored as a file and the item keeps a preview
identifieridentifierLinkedDataIdentifieroptional
filenamefilenamestringoptionalThe file name (FILE); the file part's own name when absent
contentTypecontent_typestringoptionalThe media type the client declares (FILE); the server decides from the content
streamstreamnumberoptionalThe position of the item's file among the file parts (FILE); by default the FILE items take the parts in order
stripMetadatastrip_metadatabooleanoptionalRemove a photo's location and camera details, losslessly and keeping its orientation (JPEG, PNG, WebP); a HEIC or TIFF is stored as it is, and facts.metadata_kept says why

LinkedDataKind#

What an item holds: a web address (never fetched by the server), a text, a value in another system with that system's name, or a file

Values: URL, TEXT, IDENTIFIER, FILE.

One item on one object of a model. The fields after deleted_by describe it on the Version listed (ListLinkedData, LinkData) or give its trail (anchors, GetLinkedData and the calls that change a link)

PropertyJSONTypeDescription
uuiduuidstringoptional
itemUuiditem_uuidstringoptional
nodeUuidnode_uuidstringoptional
firstVersionUuidfirst_version_uuidstringoptionalThe Version the link was made on
firstVersionfirst_versionnumberoptional
oidoidnumberoptionalThe object the link was made on, on its first Version
globalIdglobal_idstringoptionalThe GlobalId the link follows
ifcTypeifc_typestringoptional
objectNameobject_namestringoptional
endedFromVersionUuidended_from_version_uuidstringoptional
endedFromVersionended_from_versionnumberoptional
endedOnended_onstringoptional
endedByended_bystringoptional
backwardThroughVersionbackward_through_versionnumberoptionalHow far down the backward follow took the link; 0 when it found nothing further down
copiedFromLinkUuidcopied_from_link_uuidstringoptional
linkedOnlinked_onstringoptional
linkedBylinked_bystringoptional
viaviaLinkedDataViaoptionalThrough which door an item or a link came in. One of APP, TASK_API, OPEN_API, CHAT, COPY, IMPORT.
clientclientstringoptional
deletedOndeleted_onstringoptional
deletedBydeleted_bystringoptional
anchorUuidanchor_uuidstringoptionalThe span the link is on, on the Version listed
oidHereoid_herenumberoptionalThe object on the Version listed; absent when orphaned
howhowLinkedDataAnchorHowoptionalHow a link found its object on the first Version of a span: `LINKED` (made there), `SAME_OID` (one lineage: a transaction, a conversion, a branch), `SAME_CONTENT` (an identical upload), `PAIRED` (a pair fixed by hand in a compare), `GLOBAL_ID`, `MATCHED` (same type and place, new in this Version; to check), `CONFIRMED`, `REATTACHED`, `RESUMED` (the GlobalId came back) or `ORPHANED` (the object is not there). One of LINKED, SAME_OID, SAME_CONTENT, PAIRED, GLOBAL_ID, MATCHED, CONFIRMED, REATTACHED, RESUMED, ORPHANED.
statestateLinkedDataAnchorStateoptional`OK` (shown), `CHECK` (shown, and someone should confirm the object) or `ORPHANED` (the object is not on the Version; the link is kept). One of OK, CHECK, ORPHANED.
directiondirectionLinkedDataAnchorDirectionoptional`FORWARD` from the link's first Version to newer ones, `BACKWARD` to older ones (links added in later Versions). One of FORWARD, BACKWARD.
spanFirstVersionspan_first_versionnumberoptionalSince which Version the link is where it is
candidatescandidatesArray<number>optional
objectHereobject_hereLinkedDataObjectoptionalAn object of a Version
objectBeforeobject_beforeLinkedDataObjectoptionalAn object of a Version
nodeNamenode_namestringoptional
anchorsanchorsArray<LinkedDataAnchor>optionalThe spans, forward ones first, each oldest first

LinkedDataLinkResult#

PropertyJSONTypeDescription
linklinkLinkedDataLinkoptionalOne item on one object of a model. The fields after deleted_by describe it on the Version listed (ListLinkedData, LinkData) or give its trail (anchors, GetLinkedData and the calls that change a link)

An item and links of it

PropertyJSONTypeDescription
itemitemLinkedDataItemoptionalA file, URL, text or identifier, linked to objects. Times are UTC, without a zone
linkslinksArray<LinkedDataLink>optional

LinkedDataList#

PropertyJSONTypeDescription
versionUuidversion_uuidstringoptional
versionversionnumberoptional
nodeUuidnode_uuidstringoptional
itemsitemsArray<LinkedDataItem>optional
linkslinksArray<LinkedDataLink>optional

LinkedDataMarker#

One object with linked data, for a marker

PropertyJSONTypeDescription
oidoidnumberoptional
countcountnumberoptionalIts items
familyfamilystringoptionalThe family most of its items have
extensionextensionstringoptionalThe extension most files of that family have
checkcheckbooleanoptional
laterlaterbooleanoptional

LinkedDataObject#

An object of a Version

PropertyJSONTypeDescription
oidoidnumberoptional
namenamestringoptional
ifcTypeifc_typestringoptional
globalIdglobal_idstringoptional
versionversionnumberoptionalThe Version number (object_before)

LinkedDataPolicy#

PropertyJSONTypeDescription
familiesfamiliesArray<LinkedDataFileFamily>optional
denieddeniedArray<string>optionalThe extensions never accepted, whatever the configuration
maxFileBytesmax_file_bytesnumberoptional
maxInlineBytesmax_inline_bytesnumberoptionalA text up to this size is kept in the item; a longer one is stored as a file
maxFilesPerRequestmax_files_per_requestnumberoptionalItems per LinkData call
maxTargetsPerRequestmax_targets_per_requestnumberoptional
categoriescategoriesArray<string>optionalThe categories an item may have; "*" allows any
identifierSystemsidentifier_systems{ [key: string]: string; }optionalThe identifier systems this server knows, name to a URL template ({value} is the identifier) that makes an identifier of that system a link
urlSchemesurl_schemesArray<string>optional
retentionDaysretention_daysnumberoptionalHow long a deleted item can be restored

LinkedDataReplacement#

One side of a replacement (ReplaceLinkedData)

PropertyJSONTypeDescription
uuiduuidstringoptional
titletitlestringoptional
fromVersionfrom_versionnumberoptionalThe Version number the replacement holds from

LinkedDataVia#

Through which door an item or a link came in

Values: APP, TASK_API, OPEN_API, CHAT, COPY, IMPORT.

ListAccountUserFeaturesRequest#

PropertyJSONTypeDescription
accountUuidaccount_uuidstringoptionalThe account; the caller's own when absent

ListAccountsRequest#

PropertyJSONTypeDescription
includeInvitesinclude_invitesbooleanoptionalAlso the open invites
showDeletedshow_deletedbooleanoptionalAlso the removed accounts

ListActionsRequest#

PropertyJSONTypeDescription
uuiduuidstringoptionalThe folder
pathpathstringoptionalThe folder, as a path from the caller's own folder (Checks/Fire safety)
showDeletedshow_deletedbooleanoptionalAlso the deleted ones

ListApiTokensRequest#

PropertyJSONTypeDescription
nodeUuidnode_uuidstringoptionalThe Node the tokens are rooted at; the caller's organization when absent

ListBuildingStoreysRequest#

PropertyJSONTypeDescription
modelsmodelsArray<ModelIdentifier>requiredThe models, by Version or Node identifier

ListComparePairOverridesRequest#

PropertyJSONTypeDescription
leftVersionUuidleft_version_uuidstringrequired
rightVersionUuidright_version_uuidstringrequired

ListLinkedDataRequest#

PropertyJSONTypeDescription
versionUuidversion_uuidstringrequired
oidsoidsArray<number>optionalOnly the links on these objects of the Version
qidsqidsArray<string>optionalOnly the links on these objects, as qids of the Version
includeOrphanedinclude_orphanedbooleanoptional
includeDeletedinclude_deletedbooleanoptional
withObjectswith_objectsbooleanoptional
includeLaterinclude_laterbooleanoptional
kindskindsArray<LinkedDataKind>optionalOnly items of these kinds
categoriescategoriesArray<string>optionalOnly items of these categories

ListNodeErrorsRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe UUID of the Node to get the errors of

ListNodesRecursiveRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe UUID of the Node to start from

ListNodesRequest#

PropertyJSONTypeDescription
pathpathstringoptionalThe path to the Node from the current Root Node. Use forward slashes to separate Nodes
uuiduuidstringoptionalThe UUID of the Node to get information about
versionUuidversion_uuidstringoptionalThe UUID of a Version (convenience method)
showDeletedNodesshow_deleted_nodesbooleanoptionalWhether to also show deleted nodes (default: false). This feature is currently only available for SUPER_ADMIN users

ListReferenceValuesRequest#

PropertyJSONTypeDescription
kindkindstringrequiredWhich list. One of countries, languages, time_zones.

ListVersionsRequest#

PropertyJSONTypeDescription
pathpathstringoptionalThe path to the Node from the current Root Node. Use forward slashes to separate Nodes
uuiduuidstringoptionalThe UUID of the Node to get information about
versionUuidversion_uuidstringoptionalThe UUID of a Version (convenience method)
versionUuidsversion_uuidsArray<string>optionalThe UUIDs of the Versions to get, from any Node, instead of a Node. The answer keeps their order

LoginAnonymousRequest#

PropertyJSONTypeDescription
responseFormatresponse_formatAuthResponseFormatoptionalThe preferred response format for calls that return authentication material: the full Auth object ("auth", the default), or only its Base64 encoded JSON serialization ("base64"), which is directly usable as a bearer token. One of auth, base64.

LoginWithAnonymousTokenRequest#

PropertyJSONTypeDescription
tokentokenstringrequired
responseFormatresponse_formatAuthResponseFormatoptionalThe preferred response format for calls that return authentication material: the full Auth object ("auth", the default), or only its Base64 encoded JSON serialization ("base64"), which is directly usable as a bearer token. One of auth, base64.

LoginWithApiTokenRequest#

PropertyJSONTypeDescription
tokentokenstringrequired
responseFormatresponse_formatAuthResponseFormatoptionalThe preferred response format for calls that return authentication material: the full Auth object ("auth", the default), or only its Base64 encoded JSON serialization ("base64"), which is directly usable as a bearer token. One of auth, base64.

LoginWithUsernamePasswordRequest#

PropertyJSONTypeDescription
usernameusernamestringrequired
passwordpasswordstringrequired
responseFormatresponse_formatAuthResponseFormatoptionalThe preferred response format for calls that return authentication material: the full Auth object ("auth", the default), or only its Base64 encoded JSON serialization ("base64"), which is directly usable as a bearer token. One of auth, base64.

LookupModelHashesRequest#

PropertyJSONTypeDescription
modelsmodelsArray<ModelHash>required

LookupModelHashes200Response#

PropertyJSONTypeDescription
knownknownArray<boolean>optional
maxConcurrentCheckinsmax_concurrent_checkinsnumberoptional

MapQidsRequest#

PropertyJSONTypeDescription
fromVersionfrom_versionstringrequired
toVersionto_versionstringrequired
qidsqidsArray<string>optionalObjects of from_version as qids (Version uuid, a dash, the object id)
oidsoidsArray<number>optionalObjects of from_version as object ids
allallbooleanoptionalEvery matched object
viaviastringoptionalThe result_uuid of a compare of the two Versions to read

MapQidsResult#

PropertyJSONTypeDescription
fromVersionfrom_versionstringoptional
toVersionto_versionstringoptional
resultUuidresult_uuidstringoptionalThe compare the correspondence comes from
pairspairsMapQidsResultPairsoptional
matchersmatchersArray<string>optional
unmatchedunmatchedArray<number>optionalThe asked objects of from_version without a counterpart

MapQidsResultPairs#

PropertyJSONTypeDescription
fromfromArray<number>optional
totoArray<number>optional
matchedBymatched_byArray<number>optional

MatchCandidateObject#

PropertyJSONTypeDescription
oidoidnumberoptional
vidvidstringoptionalThe object's Version (a federation's side has several)
typetypestringoptional
namenamestringoptional
scorescorenumberoptionalCandidates only: 1 for the same place, size, type and name
distanceMmdistance_mmnumberoptionalCandidates only

MatchCandidates#

PropertyJSONTypeDescription
removedremovedArray<MatchCandidatesRemoved>optional
addedaddedArray<MatchCandidateObject>optional
confirmedconfirmedMatchCandidatesConfirmedoptional
truncatedtruncatedbooleanoptional

MatchCandidatesRemoved#

PropertyJSONTypeDescription
oidoidnumberoptional
vidvidstringoptional
typetypestringoptional
namenamestringoptional
candidatescandidatesArray<MatchCandidateObject>optional

MatchCandidatesConfirmed#

PropertyJSONTypeDescription
removedremovedArray<number>optional
removedVidsremoved_vidsArray<string>optional
addedaddedArray<number>optional
addedVidsadded_vidsArray<string>optional

ModelError#

PropertyJSONTypeDescription
uuiduuidstringoptionalUUID of this TreeErrorNode
nodeUuidnode_uuidstringoptionalThe UUID of the Node this error belongs to
metadatametadataobjectoptionalAdditional untyped metadata for this error
nodeNamenode_namestringoptionalName of the Node this error belongs too, redundant but added for convenience
createdOncreated_onDateoptionalWhen this error was created
createdBycreated_bystringoptionalBy whom this error was created
errorMessageerror_messagestringoptionalHuman readable message
uniqueModelUuidunique_model_uuidstringoptionalThe UUID of the Unique model (for internal use)
filenamefilenamestringoptionalThe name of the model that was uploaded, for debugging purposes only
deletedStatusdeleted_statusRecordStatusoptionalOne of ACTIVE, DELETED.

ModelHash#

The XXH64 (seed 18497208744731555) of a file, as an unsigned decimal string: of its first 32 KiB (partial_xxh64, with its size) or of the whole file (full_xxh64)

PropertyJSONTypeDescription
sizesizenumberoptional
partialXxh64partial_xxh64stringoptional
fullXxh64full_xxh64stringoptional

ModelIdentifier#

PropertyJSONTypeDescription
typetypestringrequiredOne of UrlModelIdentifier, NodeModelIdentifier, VersionModelIdentifier.
namenamestringoptionalName of the model, this is sometimes communicated back to the user, for example when there are errors. When no name is provided, a best-effort is done to determine it based on the available data.

ModelInfo#

PropertyJSONTypeDescription
ifcProjectGuidifcProjectGuidstringrequired
filenamefilenamestringrequired
uploadDateTimeUtcuploadDateTimeUtcDaterequiredUTC timestamp.

ModelVersion#

PropertyJSONTypeDescription
uuiduuidstringoptionalThe UUID of this Version
nodeUuidnode_uuidstringoptionalThe UUID of the Node this Version belongs to
versionversionnumberoptionalThe version (incremental)
disciplinedisciplineDisciplineoptionalOne of ARCHITECTURAL, AIR_CONDITIONING, BUILDING_SERVICES, ELECTRICAL, HEATING, STRUCTURAL, VENTILATION, PLUMBING, SPRINKLER, INVENTORY, FACILITY_MANAGEMENT, LANDSCAPE, PREFAB_CONCRETE, STEEL_STRUCTURE, SITE_OPERATIONS, COOLING, SPECIAL_PIPING, PROCESS, HVAC, SPATIAL, GEOTECHNICAL, BRIDGE, ROAD, RAILWAY, PORTS_AND_WATERWAYS, TIMBER_STRUCTURE, VERTICAL_TRANSPORT, TUNNEL, SURVEY, UNKNOWN.
disciplinesdisciplinesArray<Discipline>optionalMulti-label disciplines ordered by classification share, primary first; the single discipline field stays the primary for backwards compatibility
disciplineSourcediscipline_sourceDisciplineSourceoptionalWhere a version's discipline value came from - USER values are never overwritten automatically, AUTO was applied by the content classifier, INHERITED was copied from the node's previous version at checkin. One of USER, AUTO, INHERITED.
metadatametadataobjectoptionalUntyped metadata for internal use
nodeNamenode_namestringoptionalThe name of the Node this version belongs to. Redundant but for convenience.
createdOncreated_onDateoptionalWhen this Version was created
createdBycreated_bystringoptionalThe username of the user that created this Version
statusstatusVersionStatusoptionalOne of OK, ERROR.
deletedStatusdeleted_statusRecordStatusoptionalOne of ACTIVE, DELETED.
demoLockeddemo_lockedbooleanoptionalPresent and true on a Version of a demo model in a Demo folder that came with the demo models, which cannot be deleted (DEMO_FOLDER_READ_ONLY). A Version you committed on a demo model can be deleted
bimContextbim_contextstringoptionalDeprecated
inputFileTypeinput_file_typeInputFileTypeoptionalOne of IFC, E57, PDF, PLY_ASCII, LAZ, LAS, TEST, ZIP, BCF, UNKNOWN, FOLDER, GLB, GLTF, IFCX, DWG.
filenamefilenamestringoptionalThe name of the uploaded file; absent for a Version made by a transaction
originoriginstringoptionalHow the Version came into existence: `UPLOAD` an uploaded file, `TRANSACTION` a BUL transaction applied to another Version, `CONVERSION` a conversion to another IFC schema; `BRANCH` is reserved. One of UPLOAD, TRANSACTION, BRANCH, CONVERSION.
transactionUuidtransaction_uuidstringoptionalFor origin TRANSACTION, the transaction that made this Version
commentcommentstringoptionalFor origin TRANSACTION, the comment of that transaction
modelUuidmodel_uuidstringoptionalThe UUID of the model record behind this Version, for internal use
uniqueModelUuidunique_model_uuidstringoptionalThe UUID of the Unique Model, for internal use
alignmentalignmentArray<number>optionalThe Version's alignment, a 4x4 transformation as 16 numbers in column-major order (translation at 12, 13, 14, in millimetres); absent when it has none
geoReferencegeo_referenceGeoReferenceoptional
imMetadataim_metadataImMetadataoptionalMetadata of the indexed model (derivative set) belonging to a Version. This is the viewer contract: a Version can be passed to the Viewer3D/Viewer2D ModelManager once im_metadata is present. It is null while the model is still being processed (or when processing failed) — poll getVersion until it appears. All fields the viewers read are listed explicitly; additional fields may be present.
userDatauser_data{ [key: string]: any; }optional

MoveNodeRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe UUID of the Node to move
targetParentUuidtarget_parent_uuidstringrequiredThe UUID of the folder Node to move the Node to

Node#

PropertyJSONTypeDescription
uuiduuidstringoptionalThe UUID of this Node
parentNodeUuidparent_node_uuidstringoptionalThe UUID of the parent Node, can be null
hasLoadableChildrenhas_loadable_childrenbooleanoptionalWhether this Node has children that can be loaded (can be used UI purposes)
readAccessread_accessbooleanoptionalWhether the current Token has read access to this Node
writeAccesswrite_accessbooleanoptionalWhether the current Token has write access to this Node
noncenoncestringoptionalCurrently not used
namenamestringoptionalThe name of this Node
folderfolderbooleanoptionalWhether this Node is a folder or not
pathpathstringoptionalThe full path of this Node from the current Root Node
levellevelnumberoptionalThe current level of this Node, indicating the depth of this Node compared to the Root Node
rootNodeUuidroot_node_uuidstringoptionalThe UUID of the current Root Node of the used Token
typetypeNodeTypeoptionalThe type of this Node. One of ORGANIZATION, SHARED, ACCOUNT, FOLDER, MODEL, VOLATILE, ROOT, DEMO, WORKSPACE_ROOT.
demoLockeddemo_lockedbooleanoptionalPresent and true on a Demo folder and on the demo models and folders in it, which are read-only (DEMO_FOLDER_READ_ONLY) - nothing can be uploaded to, created in, deleted, moved or renamed there. A folder or model you made in the Demo folder (its Uploads folder, say) is yours and not locked
metadatametadataobjectoptionalAdditional information for viewers
statusstatusRecordStatusoptionalOne of ACTIVE, DELETED.
lastVersionlast_versionModelVersionoptional
treeNodeStatustree_node_statusNodeStatusoptionalOne of NEW, UPLOADING, NONE, UNKNOWN, DONE, CHECKING_IN, INDEXING, PROCESSING, ERROR, RE_PROCESSING, PENDING.
lastVersionUuidlast_version_uuidstringoptionalUUID of the latest Version, can be null for Nodes without active Versions
lastVersionNumberlast_version_numbernumberoptionalThe last version number (incremental id)
progressprogressnumberoptionalThe current progress on this Node, for example when there is an upload active. A percentage between 0-100 inclusive
processingprocessingnumberoptionalIndication of the number of uploads currently being processed on this Node and all sub nodes
createdBycreated_bystringoptionalUsername of the user that created this Node
createdOncreated_onDateoptional
versionsversionsArray<ModelVersion>optional
errorserrorsArray<ModelError>optional
inputFileTypeinput_file_typeInputFileTypeoptionalOne of IFC, E57, PDF, PLY_ASCII, LAZ, LAS, TEST, ZIP, BCF, UNKNOWN, FOLDER, GLB, GLTF, IFCX, DWG.
userDatauser_data{ [key: string]: any; }optional

NodeModelIdentifier#

PropertyJSONTypeDescription
uuiduuidstringrequired
recursiverecursivebooleanoptional

NodeStatus#

Values: NEW, UPLOADING, NONE, UNKNOWN, DONE, CHECKING_IN, INDEXING, PROCESSING, ERROR, RE_PROCESSING, PENDING.

NodeType#

Values: ORGANIZATION, SHARED, ACCOUNT, FOLDER, MODEL, VOLATILE, ROOT, DEMO, WORKSPACE_ROOT.

ObjectCheckResult#

PropertyJSONTypeDescription
typetypestringrequired
ididnumberrequired
uuiduuidstringrequired
checkResultcheckResultCheckResultStatusrequiredOverall result status. One of SUCCESS, WARNING, ERROR, INFO, SKIPPED.
resolvedActionsresolvedActionsResolvedActionsrequiredWhat a BVL script (or the BVL of a check) does to the objects of the models, ready for a viewer. Every key but force is optional and present only when the script uses it; the keys not listed here (pickability, section and end-cap behaviour, wireframes, colour alterations, geometries, overlays) follow the BVL actions of the same name.
objectInfosobjectInfosArray<ObjectInfo>required
modelInfomodelInfoModelInforequired
cameracameraCamerarequired
multiplierToMmmultiplierToMmnumberrequiredUnit multiplier to millimeters.
centerMmcenterMmVector3required
isolateisolatebooleanrequired
hasGeometryhasGeometrybooleanrequired
overlaysoverlaysArray<Overlay>optionalSemantic geometry for the viewers, one overlay per model version (docs/check-overlays-design.md).
pickpickPickPresentationoptionalWhat a click on a result object shows while it is picked (docs/check-result-interaction-design.md 4).

ObjectInfo#

PropertyJSONTypeDescription
qidqidstringrequiredQualified object identifier.
namenamestringrequired
longNamelongNamestringrequired
globalIdglobalIdstringrequired
niceTypeniceTypestringrequired

ObjectStyling#

Which objects a call works on and how they are styled, as BQL and BVL - the same fields the 3D Tiles settings, the vector export and the interactive viewer take. All optional; without any of them the call uses its default scope and the objects' own colours.

PropertyJSONTypeDescription
bqlbqlstringoptionalA BQL query (or a bare boolean expression) whose result objects are the visible set. Objects outside it are absent from the output.
bqlUuidbql_uuidstringoptionalA stored BQL query used instead of bql.
bvlbvlstringoptionalA BVL script - SHOW/HIDE, COLOR, label(), annotate(text()), VIEWFIT. Actions that only mean something in the interactive viewer are ignored.
bvlUuidbvl_uuidstringoptionalA stored BVL script used instead of bvl.
parametersparameters{ [key: string]: any; }optionalValues for the $name parameters of bql and bvl.
highlighthighlight{ [key: string]: Array<number>; }optionalObject ids per model version - the JSON form of a BIM.works qid set - keyed by version uuid, each value the object ids (oids) in that version.

Organization#

PropertyJSONTypeDescription
uuiduuidstringoptional
namenamestringoptional
createdAtcreated_atstringoptional
createdBycreated_bystringoptional
primaryDomainNameprimary_domain_namestringoptional
rootNodeUuidroot_node_uuidstringoptional
statusstatusstringoptionalOne of ACTIVE, DELETED.
selfRegistrationEnabledself_registration_enabledbooleanoptional

OrientedBoundingBox#

An oriented bounding box, defined by a center, extent and three axes

PropertyJSONTypeDescription
centercenterVector3optional
extentextentVector3optional
axis1axis1Vector3optional
axis2axis2Vector3optional
axis3axis3Vector3optional

Overlay#

Semantic geometry a check attaches to a result. All lengths and coordinates are millimetres in the raw world frame of the bound model version. The viewer skips item types it does not know.

PropertyJSONTypeDescription
versionversionnumberrequired
bindbindOverlayBindingrequired
layerslayersArray<OverlayLayer>required

OverlayAreaItem#

PropertyJSONTypeDescription
typetypestringrequired
ididstringrequired
rolerolestringoptional
colorcolorstringoptional
depthdepthstringoptional
qidsqidsArray<string>optional
labellabelstringoptional
labelShowlabelShowstringoptional
tooltiptooltipstringoptional
viewsviewsArray<string>optional
storeystoreystringoptional
polygonspolygonsArray<OverlayAreaItemAllOfPolygons>optional
circlescirclesArray<OverlayAreaItemAllOfCircles>optional
zznumberoptional
planeplaneOverlayAreaItemAllOfPlaneoptional
liftliftnumberoptional
stylestyleOverlayAreaItemAllOfStyleoptional

OverlayAreaItemAllOfCircles#

PropertyJSONTypeDescription
centercenterArray<number>required
radiusradiusnumberrequired

OverlayAreaItemAllOfPlane#

PropertyJSONTypeDescription
originoriginArray<number>required
xAxisxAxisArray<number>required
normalnormalArray<number>required

OverlayAreaItemAllOfPolygons#

PropertyJSONTypeDescription
outerouterArray<number>required
holesholesArray<Array<number>>optional

OverlayAreaItemAllOfStyle#

PropertyJSONTypeDescription
fillfillnumberoptional
outlineoutlinebooleanoptional
hatchhatchstringoptional

OverlayArrowItem#

PropertyJSONTypeDescription
typetypestringrequired
ididstringrequired
rolerolestringoptional
colorcolorstringoptional
depthdepthstringoptional
qidsqidsArray<string>optional
labellabelstringoptional
labelShowlabelShowstringoptional
tooltiptooltipstringoptional
viewsviewsArray<string>optional
storeystoreystringoptional
originoriginArray<number>required
directiondirectionArray<number>required
lengthlengthnumberoptional
sizesizestringoptional
headLengthheadLengthnumberoptional

OverlayBinding#

PropertyJSONTypeDescription
modelUuidmodelUuidstringoptionalThe model (node) of the version; used to fall back to another loaded version of the same model.
versionUuidversionUuidstringrequiredThe model version whose raw world frame the coordinates are in.
onOtherVersiononOtherVersionstringoptionalWhat to do when only another version of the model is loaded. Default stale. One of stale, hide.

OverlayItem#

PropertyJSONTypeDescription
typetypestringrequired
ididstringrequired
rolerolestringoptional
colorcolorstringoptional
depthdepthstringoptional
qidsqidsArray<string>optional
labellabelstringoptional
labelShowlabelShowstringoptional
tooltiptooltipstringoptional
viewsviewsArray<string>optional
storeystoreystringoptional
originoriginArray<number>required
directiondirectionArray<number>required
lengthlengthnumberoptional
sizesizestringoptional
headLengthheadLengthnumberoptional
polygonspolygonsArray<OverlayAreaItemAllOfPolygons>optional
circlescirclesArray<OverlayAreaItemAllOfCircles>optional
zznumberoptional
planeplaneOverlayAreaItemAllOfPlaneoptional
liftliftnumberoptional
stylestyleOverlayPathItemAllOfStyleoptional
atatArray<number>required
texttextstringrequired
pointspointsArray<number>required
directeddirectedbooleanoptional
arrowsarrowsOverlayPathItemAllOfArrowsoptional
stationsstationsOverlayPathItemAllOfStationsoptional
marksmarksArray<OverlayPathItemAllOfMarks>optional
segmentRolessegmentRolesArray<Array<any>>optional

OverlayItemCommon#

PropertyJSONTypeDescription
typetypestringrequired
ididstringrequiredUnique within the overlay.
rolerolestringoptionalSemantic role, mapped to the design-system palette by the viewer. One of route, hazard, warning, ok, info, area, neutral.
colorcolorstringoptionalOverrides the role colour.
depthdepthstringoptionalOne of test, ghost, always.
qidsqidsArray<string>optionalRelated model objects.
labellabelstringoptional
labelShowlabelShowstringoptionalWhen the label is on screen; hover shows it only while the item or one of its objects is under the cursor. Default always. One of always, hover.
tooltiptooltipstringoptional
viewsviewsArray<string>optional
storeystoreystringoptionalStorey qid hint for the 2D viewer.

OverlayLabelItem#

PropertyJSONTypeDescription
typetypestringrequired
ididstringrequired
rolerolestringoptional
colorcolorstringoptional
depthdepthstringoptional
qidsqidsArray<string>optional
labellabelstringoptional
labelShowlabelShowstringoptional
tooltiptooltipstringoptional
viewsviewsArray<string>optional
storeystoreystringoptional
atatArray<number>required
texttextstringrequired

OverlayLayer#

PropertyJSONTypeDescription
ididstringrequired
namenamestringoptional
visiblevisiblebooleanoptional
itemsitemsArray<OverlayItem>required

OverlayPathItem#

PropertyJSONTypeDescription
typetypestringrequired
ididstringrequired
rolerolestringoptional
colorcolorstringoptional
depthdepthstringoptional
qidsqidsArray<string>optional
labellabelstringoptional
labelShowlabelShowstringoptional
tooltiptooltipstringoptional
viewsviewsArray<string>optional
storeystoreystringoptional
pointspointsArray<number>required
liftliftnumberoptional
directeddirectedbooleanoptional
stylestyleOverlayPathItemAllOfStyleoptional
arrowsarrowsOverlayPathItemAllOfArrowsoptional
stationsstationsOverlayPathItemAllOfStationsoptional
marksmarksArray<OverlayPathItemAllOfMarks>optional
segmentRolessegmentRolesArray<Array<any>>optional

OverlayPathItemAllOfArrows#

PropertyJSONTypeDescription
spacingspacingnumberrequired

OverlayPathItemAllOfMarks#

PropertyJSONTypeDescription
atatnumberrequired
kindkindstringoptional
labellabelstringoptional

OverlayPathItemAllOfStations#

PropertyJSONTypeDescription
intervalintervalnumberrequired
labelslabelsbooleanoptional

OverlayPathItemAllOfStyle#

PropertyJSONTypeDescription
kindkindstringoptional
radiusradiusnumberoptional
smoothsmoothstringoptional

ParseQueryRequest#

PropertyJSONTypeDescription
queryquerystringrequiredThe BQL query
parametersparameters{ [key: string]: any | null; }optionalValues for the $name parameters

PickPresentation#

What a click on a result object shows while it is picked (docs/check-result-interaction-design.md 4).

PropertyJSONTypeDescription
resolvedActionsresolvedActionsResolvedActionsoptionalWhat a BVL script (or the BVL of a check) does to the objects of the models, ready for a viewer. Every key but force is optional and present only when the script uses it; the keys not listed here (pickability, section and end-cap behaviour, wireframes, colour alterations, geometries, overlays) follow the BVL actions of the same name.
overlaysoverlaysArray<Overlay>optional

PointCloudMetadata#

Present when the version is a point cloud: the effective format settings (PointCloudFormatSettings: defaults + detection + the upload's overrides, plus detection warnings), the format, and what the 3D viewer navigates and measures by. Lengths are mm, positions in the model frame of the other bounds. Check-ins before recordVersion 2 have only the settings and the format; the viewer then estimates what it needs, and a reindex fills the rest in.

PropertyJSONTypeDescription
formatformatInputFileTypeoptionalOne of IFC, E57, PDF, PLY_ASCII, LAZ, LAS, TEST, ZIP, BCF, UNKNOWN, FOLDER, GLB, GLTF, IFCX, DWG.
recordVersionrecordVersionnumberoptional2 when each point's 16-byte record carries the number of its scan (1-255, the position in scans; 0 for none or beyond 255) in its last byte, and the octree's nodes their spacing. Absent in older check-ins, whose last byte means nothing.
robustBoundsrobustBoundsBoundingBoxoptionalThe box that holds the cloud but for its far stray points (reflections, sky noise): per axis, 0.1% of the points at each end may fall outside it, to the octree's finest counting cell. The viewer fits its views to this box; culling and sectioning keep the exact bounds (transformedBoundsMm).
outlierShareoutlierSharenumberoptionalThe share of the points outside robustBounds, from 0 to 1
scansscansArray<PointCloudScan>optionalThe file's scans, in file order, with where each scanner stood. Empty for a format without scans (LAS, LAZ, PLY, XYZ).

PointCloudScan#

One scan of a point cloud file (an E57 data3D) as the file declares it

PropertyJSONTypeDescription
namenamestringoptionalThe scan's name, when the file gives one
guidguidstringoptionalThe scan's GUID, when the file gives one
positionpositionArray<number>optionalThe scanner's position (x, y, z) in mm; the origin when the scan has no pose
rotationrotationArray<number>optionalThe scanner's rotation as a unit quaternion (x, y, z, w); the identity when the scan has no pose
pointspointsnumberoptionalThe number of points the scan declares, or -1 when unknown

PublishWorkspaceRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe workspace
publishpublishbooleanoptionalPublish (true) or unpublish (false)

QueryColumn#

One entry of the columns table of a query answer: a GET item, its alias, and where its value is in a record. Clients label a column with label and read its values at path, so they need not know where BIM.works writes each kind of feature, or what an alias does to that (an alias names the column; for some features it is also the record key, which path then says)

PropertyJSONTypeDescription
itemitemnumberoptionalThe index of the item in the GET list (or in its relation's list). Absent for an entry the server added, such as the qid of force_get_qid
aliasaliasstringrequiredThe AS alias of the item, null without one
sourcesourcestringoptionalThe item as BQL text, without its alias
labellabelstringoptionalThe header to show, the alias or else the text
pathpathArray<string>optionalThe keys from the record (for a nested column, from one element of its parent's value) to the value. An array because keys can hold dots. * stands for every key at that level, and an array met on the way holds one value per element. Absent when the item writes nothing into the records (a feature hidden by the workspace)
kindkindstringoptionalThe feature family, for styling (attribute, property, quantity, calculated, type, ...)
aggregateaggregatestringoptionalThe aggregate's keyword (COUNT, SUM, COLLECT, ...), on an aggregate column
unitunitstringoptionalThe unit of the item's UNIT clause, as written
groupKeygroupKeybooleanoptionalTrue for a group key of a grouped result
hiddenhiddenbooleanoptionalTrue for an item the workspace's feature visibility hides; it has no values
addedaddedbooleanoptionalTrue for an entry the server added rather than the query
columnscolumnsArray<QueryColumn>optionalThe items inside a relation, or the features of a COLLECT, relative to one element of this column's value

QueryRequest#

PropertyJSONTypeDescription
modelsmodelsArray<ModelIdentifier>optionalModels to query, by Version or Node identifier (a Node stands for its latest Version). An empty model set validates the query instead
queryquerystringoptionalThe query, in BQL. Pass either query or action_uuid
actionUuidaction_uuidstringoptionalA stored query (BQL) action to run instead of query
actionVersionaction_versionnumberoptionalThe version of the stored action to run; its current version when absent
formatformatstringoptionalAbsent, the Accept header decides, and json when it names none of these. `json`: the records (`application/json`); `count`: `{count}` (`application/json`); `qids`: `{qids: {version uuid: [oid]}}` (`application/json`); `csv`: the records as a table (`text/csv`); `xlsx`: the same as a spreadsheet; `ifc`: the matching objects as IFC STEP (`application/ifc`); `ifcxml`: the same as ifcXML (`application/xml`). The IFC formats are a download of model content and also need the model:read scope. One of json, count, qids, csv, xlsx, ifc, ifcxml.
parametersparameters{ [key: string]: any | null; }optionalValues for the $name parameters of the query, by name. Every parameter of the query then needs a value. Not for formats ifc and ifcxml
virtualFeaturesvirtual_featuresanyoptionalThe virtual features to apply (formats json, count, qids, csv and xlsx): "enabled" (the enabled definitions of the workspace the call works in: your default workspace, or the published workspace of a visitor), "none" (the default), an array of definition uuids, or an object {apply, include, exclude}
forceGetQidforce_get_qidbooleanoptionalFormat json; add the qid of each object to its record, also when the query does not GET it
columnscolumnsbooleanoptionalFormat json; answer an object instead of the bare array of a plain query: the records under objects and the columns table under columns, one entry per GET item with its alias, its text and where its value is in a record (QueryColumn). A compact (compression: 1) or sliced answer is an object already and always carries columns
aliasKeysalias_keysbooleanoptionalFormat json; put values under their AS aliases, as before 3.0: an aliased attribute, property, quantity, calculated value, relation or model field is written at a root key named after its alias, and an aliased computed column (aggregate, arithmetic, shape, ...) under its alias. By default an alias only names its column (see columns) and every value stays where it is without one. For clients written against the old placement; read values through columns instead
filenamefilenamestringoptionalThe file name of the Content-Disposition, for the formats csv, xlsx, ifc and ifcxml
colorscolors{ [key: string]: Array<number>; }optionalFormats ifc and ifcxml; the objects' colours, written as IfcStyledItems
bvlbvlstringoptionalFormats ifc and ifcxml, instead of colors; a BVL text: the export keeps the selected objects it shows (begin it with SHOW; to keep them all) and writes the colours it gives them
compressioncompressionnumberoptionalOutput format of the JSON results. 0 (default): plain output, each object contains readable values such as qid and type. 1: compact output, version UUIDs and entity types are returned once in top-level vids/types arrays, and objects reference them by index (_v/_t) with _o as the object id. Only use 1 when you explicitly want the compact format, for example to reduce response size. One of 0, 1.
groupPathgroupPathArray<number>optionalSlice mode for queries with a (multi-key) GROUP BY. Each entry addresses one group per nesting level, as an index into that level's groups (sorted by group key value). An empty array returns the level-0 groups. When entries remain below the addressed path, the response contains the next level's groups in a top-level "groups" array (same record shape as regular grouped results, plus "groupKey" and "groupValue" columns carrying the group's own key and display value); when the path consumes all group keys, the member objects of the addressed group are returned in "objects". Objects without a value for a level's group feature are grouped under a synthetic "[none]" group at that level, so every level fully partitions its parent. Group indices are stable for an identical model set and query. Without groupPath, a multi-key GROUP BY returns flat records, one per non-empty key combination (including [none] combinations), ordered by key 1, then key 2, etc.
groupKeysgroupKeysArray<string>optionalThe same slice as groupPath, addressed by value instead of by index - the groupKey of one group per level, as the slice records carry it. A key still names its group after the models change. Pass groupPath or groupKeys, not both
groupLevelgroupLevelnumberoptionalOptional validation aid for groupPath and groupKeys: must equal the number of their entries (the nesting level of the returned groups)

ReattachLinkRequest#

PropertyJSONTypeDescription
linkUuidlink_uuidstringrequired
versionUuidversion_uuidstringrequired
targettargetLinkTargetrequiredOne object of a Version, by exactly one of oid, qid (of that Version) or global_id

RecordStatus#

Values: ACTIVE, DELETED.

RecordUploadAsTransactionRequest#

PropertyJSONTypeDescription
versionUuidversion_uuidstringrequiredThe upload to replace
commentcommentstringoptionalThe transaction's comment; by default one that names the uploaded file

RecordUploadAsTransactionResult#

PropertyJSONTypeDescription
transactiontransactionCommittedTransactionoptional
nodenodeNodeoptional
replacedVersionUuidreplaced_version_uuidstringoptionalThe upload, deleted the way deleting the last Version does (its data stays)

ReferenceValue#

PropertyJSONTypeDescription
codecodestringoptional
namenamestringoptional

RegisterRequest#

PropertyJSONTypeDescription
usernameusernamestringrequiredThe e-mail address of the account
preferredLanguagepreferred_languagestringoptionalThe language of the e-mails and the web app, ISO 639-1 (en, nl, ...)

RenderCamera#

A camera in metres, in the model's coordinates (as in BCF), looking at target or along direction

PropertyJSONTypeDescription
positionpositionVector3required
targettargetVector3optional
directiondirectionVector3optional
upupVector3optional

RenderRequest#

PropertyJSONTypeDescription
modelmodelModelIdentifierrequired
cameracameraRenderCameraoptionalA camera in metres, in the model's coordinates (as in BCF), looking at target or along direction
viewviewstringoptionalA named angle that frames the whole model, instead of camera. One of iso_front_right, iso_front_left, iso_back_left, iso_back_right, front, back, left, right, top.
sizesizeImageSizeoptional

ReplaceLinkedDataResult#

PropertyJSONTypeDescription
itemitemLinkedDataItemoptionalA file, URL, text or identifier, linked to objects. Times are UTC, without a zone
linkslinksArray<LinkedDataLink>optionalThe new item's links, on the objects the old one is on from that Version
endedendedArray<string>optionalThe old item's links ended from that Version (the older Versions keep them)
unlinkedunlinkedArray<string>optionalThe old item's links made on that very Version, taken off
deleteddeletedbooleanoptionalThe old item was on that Version only and is deleted (restorable)

ReplaceLinkedDataSpec#

The request part of ReplaceLinkedData

PropertyJSONTypeDescription
itemUuiditem_uuidstringrequiredThe item to replace
fromVersionUuidfrom_version_uuidstringrequiredThe Version from which the new item replaces it
itemitemLinkedDataItemSpecrequiredOne item to link. Its value is url, text, identifier or, for a FILE, a file part

RequestPasswordResetRequest#

PropertyJSONTypeDescription
usernameusernamestringrequiredThe e-mail address of the account

RequestValidationEmailRequest#

PropertyJSONTypeDescription
usernameusernamestringrequiredThe e-mail address of the account

ResolveBvlRequest#

PropertyJSONTypeDescription
modelsmodelsArray<ModelIdentifier>requiredThe models to resolve the script against. Version and Node identifiers (a Node stands for its latest Version); a URL identifier is refused
bvlbvlstringrequiredThe BVL script
parametersparameters{ [key: string]: any | null; }optionalValues for the $name parameters of the script, by name
includeNonGeometricinclude_non_geometricbooleanoptionalWhether the script also applies to products without geometry. By default it applies to the objects with geometry only, the ones a viewer can draw, so an else { HIDE; } does not name every product without geometry. model_coverage counts those products either way

ResolvedActions#

What a BVL script (or the BVL of a check) does to the objects of the models, ready for a viewer. Every key but force is optional and present only when the script uses it; the keys not listed here (pickability, section and end-cap behaviour, wireframes, colour alterations, geometries, overlays) follow the BVL actions of the same name.

PropertyJSONTypeDescription
forceforcebooleanrequiredVisibility, pickability and section changes override what the viewer's user set by hand
showshow{ [key: string]: Array<number>; }optionalObject ids per model version - the JSON form of a BIM.works qid set - keyed by version uuid, each value the object ids (oids) in that version.
hidehide{ [key: string]: Array<number>; }optionalObject ids per model version - the JSON form of a BIM.works qid set - keyed by version uuid, each value the object ids (oids) in that version.
selectselect{ [key: string]: Array<number>; }optionalObject ids per model version - the JSON form of a BIM.works qid set - keyed by version uuid, each value the object ids (oids) in that version.
unselectunselect{ [key: string]: Array<number>; }optionalObject ids per model version - the JSON form of a BIM.works qid set - keyed by version uuid, each value the object ids (oids) in that version.
viewFitviewFit{ [key: string]: Array<number>; }optionalObject ids per model version - the JSON form of a BIM.works qid set - keyed by version uuid, each value the object ids (oids) in that version.
viewFitOptionsviewFitOptionsResolvedActionsViewFitOptionsoptionalThe options of the last VIEWFIT that gives any: VIEWFIT 1500ms FROM "front" MARGIN 20%. Left out when no VIEWFIT gives one; a viewer then flies its own default.
transitiontransitionResolvedActionsTransitionoptionalThe script's TRANSITION header (TRANSITION 600ms "ease-out";): show the result animated from the current state, as one ObjectStateManager.transition step (visibility, selection, colours, the fit). Left out without a header.
colorcolor{ [key: string]: { [key: string]: Array<number>; }; }optionalThe new colour of objects: hex colour #rrggbbaa (the alpha byte is the opacity) to the objects that get it
colorResetcolorReset{ [key: string]: Array<number>; }optionalObject ids per model version - the JSON form of a BIM.works qid set - keyed by version uuid, each value the object ids (oids) in that version.
labelslabelsArray<{ [key: string]: any; }>optionalTexts shown next to objects (BVL label), one entry per object with its qid and its labels
annotationsannotationsArray<{ [key: string]: any; }>optionalAnnotations placed at objects (BVL annotate), one entry per object with its qid and its annotations

ResolvedActionsTransition#

PropertyJSONTypeDescription
durationdurationnumberrequired
easingeasingstringoptional

ResolvedActionsViewFitOptions#

PropertyJSONTypeDescription
durationdurationnumberoptional
fromfromstringoptional
marginmarginnumberoptional

RestoreLinkedDataRequest#

PropertyJSONTypeDescription
itemUuidsitem_uuidsArray<string>required

RestoreLinkedDataResult#

PropertyJSONTypeDescription
restoredrestoredArray<string>optional

SchemaConversionReportRequest#

A model identifier, with the options of the report next to its fields.

PropertyJSONTypeDescription
typetypestringrequiredThe kind of model identifier. One of UrlModelIdentifier, NodeModelIdentifier, VersionModelIdentifier.
namenamestringoptionalName of the model, see ModelIdentifier
uuiduuidstringoptionalThe UUID of the Version (VersionModelIdentifier) or of the Node (NodeModelIdentifier)
urlurlstringoptionalThe URL of the model (UrlModelIdentifier)
targetSchematarget_schemastringoptionalOnly for a converted download, the schema it was converted to
formatformatstringoptionaljson for the summary and the report, markdown for the report as text, detail for the complete detail log (default: json). One of json, markdown, detail.

SchemaConversionReportResponse#

PropertyJSONTypeDescription
conversionconversionSchemaConversionSummaryoptionalThe numbers of one schema conversion
reportreport{ [key: string]: any; }optionalThe conversion report, in the format of a check report. It holds the catalogue of rules, the counters per rule and entity, and a capped number of findings per rule
detailLogdetail_logbooleanoptionalWhether this conversion has a detail log

SchemaConversionSummary#

The numbers of one schema conversion

PropertyJSONTypeDescription
fromfromstringoptionalThe schema of the model
totostringoptionalThe schema it was converted to
ruleSetVersionrule_set_versionnumberoptionalThe version of the conversion rules
statusstatusstringoptionalOne of COMPLETED, COMPLETED_WITH_LOSS, FAILED.
losseslossesnumberoptionalThe number of findings about information that was lost
additionsadditionsnumberoptionalThe number of findings about information that was added
bySeverityby_severity{ [key: string]: number; }optionalThe number of findings per severity
byRuleTypeby_rule_type{ [key: string]: number; }optionalThe number of findings per category, for example schemaconv.loss
objectsobjectsSchemaConversionSummaryObjectsoptionalWhat became of the objects of the model
detailLogCompletedetail_log_completebooleanoptionalWhether the detail log holds every finding

SchemaConversionSummaryObjects#

PropertyJSONTypeDescription
sourcesourcenumberoptional
keptSameOidSameTypekept_same_oid_same_typenumberoptional
keptSameOidRetypedkept_same_oid_retypednumberoptional
inlinedinlinednumberoptional
droppeddroppednumberoptional
createdcreatednumberoptional
targettargetnumberoptional

Scope#

Authorization scope (family:verb) - the closed catalog, kept in lockstep with the server's Scope enum (docs/api-authorization-scopes-design.md)

Values: fs:read, fs:write, model:read, model:write, model:upload, geometry:read, query:run, gis:read, gis:write, checks:read, checks:run, checks:write, checks:java, actions:read, actions:write, collab:read, collab:write, links:read, links:write, workspaces:read, workspaces:write, ai:use, bsdd:read, bsdd:sync, tokens:issue, account:read, account:write, admin:read, admin:write, superadmin, *.

Session#

PropertyJSONTypeDescription
kindkindstringoptionalWhat the credential is. One of account, api_token, delegated, workspace, anonymous_token, anonymous, system, oauth, ops.
usernameusernamestringoptionalThe account (or, for an API token, the account that created it)
expiresexpiresDateoptionalWhen the credential expires (UTC)
scopesscopesArray<string>optionalThe scopes it grants; absent when it is unscoped
rootNodeUuidroot_node_uuidstringoptionalThe Node it is rooted at; absent for a nodes or versions token, which has none
nodeUuidsnode_uuidsArray<string>optionalFor a nodes token (CreateNodesToken), the Nodes it names
versionUuidsversion_uuidsArray<string>optionalFor a versions token (CreateVersionsToken), the Versions it names
accountaccountSessionAccountoptionalThe account behind the credential, when it grants account:read

SessionAccount#

The account behind the credential, when it grants account:read

PropertyJSONTypeDescription
uuiduuidstringoptional
usernameusernamestringoptional
organizationUuidorganization_uuidstringoptional
typetypestringoptionalOne of USER, SUPER_ADMIN.

SetComparePairOverrideRequest#

PropertyJSONTypeDescription
leftVersionUuidleft_version_uuidstringrequired
rightVersionUuidright_version_uuidstringrequired
kindkindstringrequiredOne of pair, removed, added.
leftOidleft_oidnumberoptionalThe left object (pair, removed)
rightOidright_oidnumberoptionalThe right object (pair, added)
notenotestringoptional

SetGeoReferenceRequest#

PropertyJSONTypeDescription
modelmodelModelIdentifierrequiredThe Version (a Node stands for its latest Version)
geoReferencegeo_referenceGeoReferencerequired
anchorPointanchor_pointVector3requiredThe point of the model, in model coordinates, that the georeference places
rotationNorthrotation_northstringoptionalWhat the rotation is measured to. One of GRID, TRUE.
originalEpsgoriginal_epsgstringoptionalThe coordinate system the georeference was found in, when it was converted

SignOutOtherSessionsRequest#

PropertyJSONTypeDescription
responseFormatresponse_formatAuthResponseFormatoptionalThe preferred response format for calls that return authentication material: the full Auth object ("auth", the default), or only its Base64 encoded JSON serialization ("base64"), which is directly usable as a bearer token. One of auth, base64.

TextSearchGroup#

PropertyJSONTypeDescription
matchedInmatched_instringoptionalOne of VALUE, NAME.
kindkindstringoptional
setsetstringoptional
namenamestringoptional
typetypestringoptional
indirectindirectbooleanoptional
countcountnumberoptional
qidsqidsArray<string>optional
qidsCompleteqids_completebooleanoptional

TextSearchRequest#

PropertyJSONTypeDescription
modelsmodelsArray<ModelIdentifier>requiredThe models, by Version or Node identifier
queryquerystringrequiredThe words to find
fuzzyfuzzybooleanoptionalAllow small spelling differences
maxEditsmax_editsnumberoptionalFor fuzzy: the number of edits allowed (1 when 0 or absent)
prefixprefixbooleanoptionalMatch the start of words
searchValuessearch_valuesbooleanoptionalSearch the values
searchNamessearch_namesbooleanoptionalSearch the names
kindkindstringoptionalOnly this kind of feature. One of attribute, property, quantity, classification, material, layer.
setsetstringoptionalOnly this property or quantity set
namenamestringoptionalOnly this feature name
typetypestringoptionalOnly objects of this IFC type
maxQidsPerGroupmax_qids_per_groupnumberoptionalAt most this many qids per group; negative for all

TextSearchResult#

PropertyJSONTypeDescription
queryquerystringoptional
groupsgroupsArray<TextSearchGroup>optional

TextToActionRequest#

PropertyJSONTypeDescription
inputinputstringrequiredWhat the action should do, in a sentence; any language the model understands
modelsmodelsArray<ModelIdentifier>optionalOptional, the models the action is meant for (Version and Node identifiers; a URL identifier is refused). The answer is not limited to them; run it on any model
languagelanguagestringoptionalRequire an action in this language; an answer in another one fails with 502. One of BQL, BVL, BCL.

TextToActionResult#

An action written by the language model, parsed and formatted by the server

PropertyJSONTypeDescription
languagelanguagestringrequiredThe language of `query`, and so the call that runs it: BQL with Query, BVL with ResolveBvl, BCL with Check. One of BQL, BVL, BCL.
queryquerystringrequiredThe action's code, formatted
mainTypemain_typestringrequiredThe action type as the actions tree stores it (QUERY3, BVL, CHECK3), to save the answer as an action
descriptiondescriptionstringoptionalThe input text, as the description of the action
outputShapeoutput_shapestringoptionalFor a query, the shape of its result: SCALAR, COMPLEX, LIST_OF_SCALAR or LIST_OF_COMPLEX (one record per object or group, the usual one)
inputArcheTypeinput_arche_typestringoptionalFor a query, the kind of input it runs on (ONE_SET_OF_QIDS)

TilesSettings#

PropertyJSONTypeDescription
bqlbqlstringoptional
bqlUuidbql_uuidstringoptional
bvlbvlstringoptional
bvlUuidbvl_uuidstringoptional
parametersparameters{ [key: string]: any; }optional
highlighthighlight{ [key: string]: Array<number>; }optional
undulateundulatebooleanoptional
fullfullbooleanoptional
visibilityvisibilityArray<TilesSettingsAllOfVisibility>optional

TilesSettingsAllOfVisibility#

PropertyJSONTypeDescription
actionactionstringoptional
queryquerystringoptional

TopLevelResults#

PropertyJSONTypeDescription
checkJavaClasscheckJavaClassstringrequired
checkResultscheckResultsCheckResultsrequired
overallResultoverallResultCheckResultStatusoptionalOverall result status. One of SUCCESS, WARNING, ERROR, INFO, SKIPPED.

TransactionUpdate#

The effect of a single update (one SET assignment, one DEL feature, one DELETE OBJECT, or one TRANSFORM) of a transaction

PropertyJSONTypeDescription
updateIndexupdate_indexnumberoptionalThe index of this update within the transaction, in source order
operationoperationstringoptionalOne of SET, DEL, DELETE_OBJECT, TRANSFORM_OBJECT, SET_GEOREFERENCE, REMOVE_GEOREFERENCE.
featurefeaturestringoptionalThe feature the update applies to (for example attribute.Name or property.Pset_WallCommon.IsExternal). For DELETE_OBJECT this is "object", for TRANSFORM_OBJECT "placement", for SET_GEOREFERENCE and REMOVE_GEOREFERENCE "georeference"
georeferencegeoreference{ [key: string]: any; }optionalDry run of SET_GEOREFERENCE / REMOVE_GEOREFERENCE only. The raw map conversion before and after (crs, eastings, northings, orthogonal_height in the map unit, x_axis_abscissa, x_axis_ordinate, scale), the Version's stored geo reference before (stored_before) and what the new Version will store (stored_after, WGS 84), and the anchor_point
warningswarningsArray<string>optionalDry run only. Advice that does not stop the commit. For SET_GEOREFERENCE / REMOVE_GEOREFERENCE, such as a TrueNorth that disagrees with the conversion or an origin outside the area of use of the CRS; for a SET whose value is a feature, how many matched objects have no value and are left alone
valuevaluestringoptionalDry run only. The new value in BUL literal syntax (strings quoted, numbers with their unit), or the feature path when every object gets its own value (SET ... = calculated.quantity.netVolume)
matchedCountmatched_countnumberoptionalHow many objects the WHERE clause matched
changedCountchanged_countnumberoptionalHow many of the matched objects actually change(d). A SET to a value an object already has, or a DEL of a feature an object does not have, is matched but not changed
createdCountcreated_countnumberoptionalCommit summary only. How many objects the update created
deletedCountdeleted_countnumberoptionalHow many objects the update deleted (roots plus emptied relationships and sole-reference cascade, such as property sets and representations)
statementIndexstatement_indexnumberoptionalDry run with include_oids only. The statement the update comes from, numbering the statements (SET, DEL, DELETE OBJECT, TRANSFORM, GEOREFERENCE) of the transaction from 0, so the updates of one SET with several assignments share it. Absent for drawn objects
statementLinesstatement_linesArray<number>optionalDry run with include_oids only. The first and last line (from 1) of that statement within its BUL string
matchedOidsmatched_oidsArray<number>optionalDry run with include_oids only. The objects the WHERE clause matched, sorted ascending. Left out when the result has oids_truncated
changedOidschanged_oidsArray<number>optionalDry run with include_oids only. The objects the update changes, sorted ascending - the matched objects that end up different, plus for TRANSFORM_OBJECT the objects that move with a matched one, and for DELETE_OBJECT the deleted roots. Left out when the result has oids_truncated

UndeleteActionRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe action

UndeleteNodeRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe UUID of the Node to restore

UnlinkDataRequest#

PropertyJSONTypeDescription
linkUuidslink_uuidsArray<string>required

UnlinkDataResult#

PropertyJSONTypeDescription
unlinkedunlinkedArray<string>optional
itemsDeleteditems_deletedArray<string>optionalThe items deleted because they lost their last link

UpdateActionRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe action
namenamestringoptionalThe new name
queryquerystringoptionalThe new text
descriptiondescriptionstringoptionalThe new description
outputHintoutput_hintstringoptionalOne of VIEWER_3D, VIEWER_2D, JSON_VIEW, TABLE_VIEW, POPUP_VIEW, TAKEOFF.
favouritefavouritebooleanoptionalFavourite or not
saveModesave_modestringoptionalOne of NEW_VERSION, OVERWRITE.
saveCommentsave_commentstringoptionalWhat changed, for the version history
baseVersionbase_versionnumberoptionalThe version the change was made on

UpdateApiTokenRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe token
namenamestringoptionalThe name of the token
scopesscopesArray<string>optionalThe scopes the token grants, as wire names (fs:read, model:upload, ...). A scoped caller can grant no more than it has itself
expiresOnexpires_onstringoptionalWhen the token expires: a date (YYYY-MM-DD, the end of that day in UTC) or a date-time. At most auth.api_token_max_expiry ahead (3 years by default); 1 month when absent
corsEnabledDomainscors_enabled_domainsArray<string>optionalThe browser origins that may use the token, with only_cors_enabled_addresses
onlyCorsEnabledAddressesonly_cors_enabled_addressesbooleanoptionalRefuse calls from other origins than cors_enabled_domains
whiteListedIpAddresseswhite_listed_ip_addressesArray<string>optionalThe client addresses that may use the token, with only_white_listed_ip_addresses
onlyWhiteListedIpAddressesonly_white_listed_ip_addressesbooleanoptionalRefuse calls from other addresses than white_listed_ip_addresses
rotateSecretrotate_secretbooleanoptionalReplace the secret; the new one is answered once in token. Needs tokens:issue as well; an API token replaces only its own

UpdateLinkedDataRequest#

PropertyJSONTypeDescription
itemUuiditem_uuidstringrequired
rowVersionrow_versionnumberrequiredThe row_version of the item as you read it
titletitlestringoptional
descriptiondescriptionstringoptional
categorycategorystringoptionalOne of the policy's categories
validUntilvalid_untilstringoptionalA date, yyyy-mm-dd
identifierSystemidentifier_systemstringoptionalOnly for an IDENTIFIER item

UpdateNodeRequest#

PropertyJSONTypeDescription
pathpathstringoptionalThe path to the Node from the current Root Node. Use forward slashes to separate Nodes
uuiduuidstringoptionalThe UUID of the Node to get information about
versionUuidversion_uuidstringoptionalThe UUID of a Version (convenience method)
namenamestringoptionalA new name for the Node, optional
userDatauser_data{ [key: string]: any | null; }optionalUser defined data, optional

UpdateVersionRequest#

PropertyJSONTypeDescription
versionUuidversion_uuidstringrequiredThe Version
disciplinesdisciplinesArray<Discipline>optionalThe disciplines, primary first; [] clears them
alignmentalignmentArray<number>optional16 numbers, column-major, the translation in millimetres
clearclearArray<string>optionalFields to remove

UpdateWorkspaceRequest#

PropertyJSONTypeDescription
uuiduuidstringrequiredThe workspace
namenamestringoptionalThe new name
scopesscopesArray<string>optionalWhat a visitor may do, as scope wire names; unscoped (or the parent's) when null
filterfilterstringoptionalA BQL condition that limits the objects a visitor sees
loadAllModelsInitiallyload_all_models_initiallybooleanoptionalLoad every model when a visitor opens it
currentSpacecurrent_space{ [key: string]: any; }optional{get_clause, label_template}: how the web app names the space a visitor is in
featureVisibilityfeature_visibility{ [key: string]: any; }optional{mode: allow | deny, features: [...]}: the features a visitor sees
subPathsub_pathstringoptionalFor a sub-workspace: the folder in its parent's actions that becomes its own
clearclearArray<string>optionalFields to remove (scopes: the workspace becomes unscoped, or inherits its parent's)

UpgradeSyntaxInput#

A text written for BIM.works 2.x, in one of the languages

PropertyJSONTypeDescription
ididstringoptionalYour own name for the text, given back with its result
languagelanguagestringrequiredOne of BQL, BVL, BCL.
texttextstringrequiredThe text as 2.x accepted it

UpgradeSyntaxRequest#

PropertyJSONTypeDescription
inputsinputsArray<UpgradeSyntaxInput>required

UpgradeSyntaxResponse#

PropertyJSONTypeDescription
resultsresultsArray<UpgradeSyntaxResult>optional

UpgradeSyntaxResult#

The 3.0 form of one input

PropertyJSONTypeDescription
ididstringoptionalThe input's id, when it had one
languagelanguagestringoptionalOne of BQL, BVL, BCL.
statusstatusstringoptional`UNCHANGED`: the text parses in 3.0 as it is. `REWRITTEN`: `text` is the text in the 3.0 syntax, and `changes` lists what changed. `NOT_REWRITTEN`: the text does not parse in 3.0 for a reason that is not a known syntax change; `text` is the input, unchanged, and `error` says where it fails. One of UNCHANGED, REWRITTEN, NOT_REWRITTEN.
texttextstringoptionalThe text to use in 3.0
changeschangesArray<string>optionalThe changes made, in order, such as IN → UNIT and length → "length"; empty unless REWRITTEN
errorerrorstringoptionalOnly for NOT_REWRITTEN, the 3.0 parser's message: line L:C: …

UploadForce#

For an upload onto a model Node under another file name, NEW_MODEL makes the file a model of its own in the model's folder (which needs write rights on the folder); NONE and NEW_VERSION make it the model's next Version

Values: NONE, NEW_VERSION, NEW_MODEL.

UrlModelIdentifier#

PropertyJSONTypeDescription
urlurlstringrequired

UserFeatureState#

PropertyJSONTypeDescription
namenamestringoptional
titletitlestringoptional
descriptiondescriptionstringoptional
urlurlstringoptional
developerOnlydeveloper_onlybooleanoptional
enabledenabledbooleanoptional

ValidateEmailAddressRequest#

PropertyJSONTypeDescription
usernameusernamestringrequiredThe e-mail address of the account
tokentokenstringrequiredThe token from the validation e-mail
passwordpasswordstringrequiredThe password to set

ValidationReportResult#

PropertyJSONTypeDescription
summarysummary{ [key: string]: any; }optionaloverall, aborted, bySeverity, byRuleType, stages, truncated
reportreport{ [key: string]: any; }optionalPer stage: status, timing and the findings
pendingpendingArray<string>optionalPresent while the schema check runs on request (VALIDATION), with schema_check on_demand. The schemaCheck stage is then as stored; ask again shortly

ValidationSettings#

How the IFC validation of a checkin reports its findings

PropertyJSONTypeDescription
maxFindingsPerRulemax_findings_per_rulenumberoptional0 for no limit
maxFindingsTotalmax_findings_totalnumberoptional0 for no limit
reportIndeterminatereport_indeterminatebooleanoptional
includeRulesinclude_rulesArray<string>optional

Vector3#

PropertyJSONTypeDescription
xxnumberrequired
yynumberrequired
zznumberrequired

VectorView#

The orthographic view of a vector drawing.

PropertyJSONTypeDescription
viewviewstringoptionalOne of top, bottom, front, back, left, right.
directiondirectionVector3optional
cutcutnumberoptionalCut plane in world millimetres along the view direction; geometry on the camera side is removed. A storey elevation plus 1100 is that storey's floor plan.
cutFractioncut_fractionnumberoptionalCut as a fraction through the bulk of the visible geometry (0.5 = mid height); resolved to millimetres server-side.
sizesizenumberoptionalResolution of the visibility raster.
jitterjitternumberoptionalJittered passes of the visibility raster.
hairlinehairlinebooleanoptionalEvery line one screen pixel wide at any zoom (vector-effect non-scaling-stroke) instead of a width relative to the drawing.

VersionChange#

PropertyJSONTypeDescription
versionUuidversion_uuidstringoptional
versionversionnumberoptional
previousVersionUuidprevious_version_uuidstringoptional
previousVersionprevious_versionnumberoptional
statusstatusstringoptional`none`: a first Version; `pending`: being compared, ask again; `unknown`: only_stored and nothing stored; `forbidden`: no read rights on one of the two Versions. One of none, ready, pending, unknown, failed, forbidden.
resultUuidresult_uuidstringoptional
countscountsCompareCountsoptional
errorerrorstringoptional

VersionChangesResult#

PropertyJSONTypeDescription
versionsversionsArray<VersionChange>optional
versionUuidversion_uuidstringoptional
versionversionnumberoptional
previousVersionUuidprevious_version_uuidstringoptional
previousVersionprevious_versionnumberoptional
statusstatusstringoptional
resultUuidresult_uuidstringoptional
countscountsCompareCountsoptional
errorerrorstringoptional

VersionModelIdentifier#

PropertyJSONTypeDescription
uuiduuidstringrequired

VersionStatus#

Values: OK, ERROR.

VersionTag#

Values: DEMO.

Workspace#

PropertyJSONTypeDescription
uuiduuidstringoptional
namenamestringoptional
createdBycreated_bystringoptional
createdOncreated_onstringoptional
recordStatusrecord_statusstringoptionalOne of ACTIVE, DELETED.
parentWorkspaceUuidparent_workspace_uuidstringoptional
publishUuidpublish_uuidstringoptionalThe share link, when published
filterfilterstringoptional
scopesscopesArray<string>optional
settingssettings{ [key: string]: any; }optional
effectiveRootNodeeffective_root_nodestringoptional
activeactivebooleanoptional
childrenchildrenArray<Workspace>optional