Reference·Python SDK · bimworksPython

Models

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

Python SDK · bimworks · 289 models

Every request and response object of the Python SDK, generated from the schemas of the API part. A model is a pydantic model with snake_case attributes. The examples make a request from its JSON with QueryRequest.from_json(json), which reads the wire names and picks a model's subclass by its type, and print a result with client.sanitize_for_serialization(result), which gives the wire names again; to_dict() and to_json() do the same for one model.

AccountEntry#

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

PropertyJSONTypeDescription
accountaccountDict[str, object]optionaluuid, username, type, status, created_at, organization_uuid, root_node_uuid, ...
useruserDict[str, object]optionaluuid, username, account_uuid, level, created_at, last_login, last_active and email_validation_status; never the settings or the registration's geo lookup
sign_insign_inAccountEntrySignInoptional
inviteinviteDict[str, object]optionaluuid, email_address, created_by, created_on, valid_until, first_opened, last_opened, status

AccountEntrySignIn#

PropertyJSONTypeDescription
passwordpasswordbooloptional
two_factortwo_factorbooloptional
providersprovidersList[str]optional

AccountSettings#

PropertyJSONTypeDescription
full_namefull_namestroptional
country_codecountry_codestroptionalISO 3166 (ListReferenceValues countries)
preferred_languagepreferred_languagestroptionalISO 639-1 (ListReferenceValues languages)
time_zone_idtime_zone_idstroptionalA tz identifier (ListReferenceValues time_zones)
bim_contextbim_contextstroptional
show_deleted_nodesshow_deleted_nodesbooloptional
email_about_vulnerabilitiesemail_about_vulnerabilitiesbooloptional
ui_modeui_modestroptionalOne of END_USER, DEVELOPER.

Action#

PropertyJSONTypeDescription
uuiduuidUUIDoptional
parent_uuidparent_uuidUUIDoptional
namenamestroptional
main_typemain_typestroptional
sub_typesub_typestroptional
queryquerystroptionalThe text
descriptiondescriptionstroptional
output_hintoutput_hintstroptional
favouritefavouritebooloptional
statusstatusstroptionalOne of ACTIVE, DELETED.
versionversionintoptional
created_bycreated_bystroptional
created_atcreated_atstroptional
updated_byupdated_bystroptional
updated_atupdated_atstroptional
editableeditablebooloptional
full_pathfull_pathList[ActionFullPathInner]optionalFrom the action up to the caller's folder

ActionList#

PropertyJSONTypeDescription
actionsactionsList[Action]optional
full_pathfull_pathList[ActionFullPathInner]optional

ActionFullPathInner#

PropertyJSONTypeDescription
uuiduuidUUIDoptional
namenamestroptional
main_typemain_typestroptional

AddActionRequest#

PropertyJSONTypeDescription
parent_uuidparent_uuidUUIDrequiredThe folder to store it in
namenamestrrequiredThe name
main_typemain_typestrrequiredWhat 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.
sub_typesub_typestroptionalThe language version; the current one when absent
queryquerystroptionalThe text: the BQL, BCL, IDS XML, ...; required except for a folder
descriptiondescriptionstroptionalA description
output_hintoutput_hintstroptionalWhere the web app shows its result. One of VIEWER_3D, VIEWER_2D, JSON_VIEW, TABLE_VIEW, POPUP_VIEW, TAKEOFF.
favouritefavouritebooloptionalMark it as a favourite
icon_nameicon_namestroptionalThe icon

AddLinkTargetsRequest#

PropertyJSONTypeDescription
item_uuiditem_uuidUUIDrequired
version_uuidversion_uuidUUIDrequiredThe Version the targets are objects of
targetstargetsList[LinkTarget]required

AddModelWithUrlRequest#

Add model to the repository

PropertyJSONTypeDescription
node_uuidnode_uuidUUIDoptionalThe UUID of the Node to which to add the model
pathpathstroptionalInstead of node_uuid, the path of the folder, from the caller's root
filenamefilenamestroptionalName of the file; the last segment of the URL's path when absent
urlurlstrrequiredURL to get the model
input_file_typeinput_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.
format_settingsformat_settingsDict[str, object]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.
force_reprocessingforce_reprocessingbooloptionalProcess the file again, also when the server has processed the same file before
tagstagsList[VersionTag]optionalTags of the new Version
validation_settingsvalidation_settingsValidationSettingsoptionalHow the IFC validation of a checkin reports its findings
wait_mswait_msintoptionalAnswer 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
uuiduuidUUIDoptional
namenamestroptional
organization_uuidorganization_uuidUUIDoptional
created_bycreated_bystroptional
created_oncreated_onstroptionalISO date-time, UTC
root_node_uuidroot_node_uuidUUIDoptional
statusstatusstroptionalOne of ACTIVE, DELETED.
last_loginlast_loginstroptional
scopesscopesList[str]optionalnull for a token from before scopes (see credentials)
credentialscredentialsList[str]optionalThe legacy rights, derived from the scopes
bim_contextbim_contextstroptional
last_fourlast_fourstroptionalThe end of the secret
expires_onexpires_onstroptionalISO date-time, UTC; null for a token that never expires
only_cors_enabled_addressesonly_cors_enabled_addressesbooloptional
cors_enabled_addressescors_enabled_addressesList[str]optional
only_white_listed_ip_addressesonly_white_listed_ip_addressesbooloptional
white_listed_ip_addresseswhite_listed_ip_addressesList[str]optional
tokentokenstroptionalUpdateApiToken with rotate_secret only: the new secret, shown once

ApiTokenSecret#

PropertyJSONTypeDescription
tokentokenstroptionalThe secret, shown once (BAT-...)
expires_onexpires_onstroptionalISO date-time, UTC

ApplicationVersion#

PropertyJSONTypeDescription
version_stringversion_stringstroptionalmajor.minor.patch[-qualifier], or LOCALDEV
majormajorintoptional
minorminorintoptional
patchpatchintoptional
qualifierqualifierstroptional
build_date_timebuild_date_timestroptional

Auth#

PropertyJSONTypeDescription
inputinputobjectoptionalThe signed authorization payload
hmachmacstroptionalThe HMAC signature over the payload
hmhhmhstroptionalIdentifier of the key that signed this blob (opaque to clients; a configured key id, or the hash of an id-less key)
var_base64base64stroptionalThe 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
hmachmacstroptional
hmhhmhstroptional
var_base64base64stroptional

BoundingBox#

An axis-aligned bounding box

PropertyJSONTypeDescription
minminVector3optional
maxmaxVector3optional

BuildingStorey#

PropertyJSONTypeDescription
namenamestroptional
elevationelevationfloatoptionalThe IFC elevation, in the model's length unit
floorfloorintoptional
descriptiondescriptionstroptional
long_namelong_namestroptional
storeysstoreysList[BuildingStoreyStoreysInner]optionalThe IfcBuildingStorey of each model merged here
objectsobjectsList[int]optionalThe oids of the objects on the storey

BuildingStoreyStoreysInner#

PropertyJSONTypeDescription
oidoidintoptional
qidqidstroptional

BuildingStoreys#

PropertyJSONTypeDescription
building_storeysbuilding_storeysList[BuildingStorey]optional

Camera#

PropertyJSONTypeDescription
positionpositionVector3required
lookatlookatVector3required
upupVector3required

ChangePasswordRequest#

PropertyJSONTypeDescription
current_passwordcurrent_passwordstroptionalThe current password
passwordpasswordstrrequiredThe new password
codecodeintoptionalThe current two-factor code, when the account has two-factor authentication
response_formatresponse_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
pickpickstrrequiredinline - every result object carries its pick presentation. One of inline.
hinthintstroptionalWhat hovering an object with a pick presentation says, e.g. "Click a space to show its escape route".

CheckRequest#

PropertyJSONTypeDescription
modelsmodelsList[ModelIdentifier]requiredModels to check. Passing an empty model set is also valid, and allows you to validate your model check definition
idsidsstroptionalAn IDS definition (XML)
bclbclstroptionalA BIM.works Checking Language (BCL) definition
action_uuidaction_uuidUUIDoptionalA stored IDS or BCL check action to run instead of ids or bcl
action_versionaction_versionintoptionalThe version of the stored action to run; its current version when absent
formatformatstroptionalAbsent, 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.
parametersparametersDict[str, Optional[object]]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
typetypestrrequired
ididintrequired
uuiduuidUUIDrequired
description_endescriptionEnstrrequired
check_resultcheckResultCheckResultStatusrequiredOverall result status. One of SUCCESS, WARNING, ERROR, INFO, SKIPPED.
title_entitleEnstrrequired
check_logiccheckLogicList[object]requiredArray of check logic entries (not detailed in the sample).
keykeystrrequired
resolved_actionsresolvedActionsResolvedActionsrequiredWhat 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
resultsresultsList[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
model_mappingmodelMappingDict[str, UUID]requiredMapping of model UUIDs to model UUIDs (string-to-string).
resultsresultsTopLevelResultsoptional
summarysummaryCheckSummaryoptional

CheckSummary#

PropertyJSONTypeDescription
has_auxiliary2_dhasAuxiliary2Dboolrequired
errorserrorsintrequired
successessuccessesintrequired
warningswarningsintrequired
infosinfosintrequired
skippedskippedintrequired
overall_resultoverallResultCheckResultStatusrequiredOverall result status. One of SUCCESS, WARNING, ERROR, INFO, SKIPPED.
has_visualizationhasVisualizationboolrequired

CheckinStatus#

PropertyJSONTypeDescription
job_uuidjob_uuidUUIDoptional
statusstatusstroptionalOne of PENDING, RUNNING, DONE, FAILED, CANCELLED.
progressprogressintoptionalPercent
node_uuidnode_uuidUUIDoptionalThe model (Node) the checkin is for
filenamefilenamestroptional
attemptsattemptsintoptionalHow often a server started it (a server that went away mid-checkin is retried once)
enqueued_atenqueued_atstroptionalUTC, ISO 8601
started_atstarted_atstroptionalUTC, ISO 8601
finished_atfinished_atstroptionalUTC, ISO 8601
version_uuidversion_uuidUUIDoptionalDONE only
versionversionModelVersionoptionalDONE only, when this server has it already
validationvalidationDict[str, object]optionalThe validation summary, when there is one (the report is GetValidationReport)
errorerrorErrorResponseoptionalFAILED only
error_uuiderror_uuidUUIDoptionalFAILED 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
land_uselandUseCityGML3ExportTypeoptional
buildingbuildingCityGML3ExportTypeoptional
storeystoreyCityGML3ExportTypeoptional
building_roombuildingRoomCityGML3ExportTypeoptional
building_unitbuildingUnitCityGML3ExportTypeoptional
building_constructive_elementbuildingConstructiveElementCityGML3ExportTypeoptional
doordoorCityGML3ExportTypeoptional
windowwindowCityGML3ExportTypeoptional
building_installationbuildingInstallationCityGML3ExportTypeoptional
wall_surfacewallSurfaceCityGML3ExportTypeoptional
floor_surfacefloorSurfaceCityGML3ExportTypeoptional
roof_surfaceroofSurfaceCityGML3ExportTypeoptional
wallwallCityGML3ExportTypeoptional

CityGML3ExportSettings#

PropertyJSONTypeDescription
crscrsstroptionalThe 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
selectionselectionstroptionalBQL that selects which objects should (per object) be converted to the parent citygml type
filterfilterstroptionalBQL 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.
slice_height_mmslice_height_mmfloatoptionalFor SLICE_2D on a building, the height of the cut above the IfcSite placement in millimetres

CommitTransactionRequest#

PropertyJSONTypeDescription
version_uuidversion_uuidUUIDrequiredThe UUID of the Version to apply the transaction to. Must be the head Version of its Node (dry runs excepted)
bulbulList[str]requiredThe BUL statements to apply, in order, as one atomic transaction
commentcommentstroptionalA description of the intent of the transaction, stored with the transaction and shown in the Version history
dry_rundry_runbooloptionalWhen true, the updates are resolved and applied in memory only and the response reports what a commit would do, without persisting anything
include_oidsinclude_oidsbooloptionalDry 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
updatesupdatesList[TransactionUpdate]optionalDry run only. Per update the matched and changed counts, exactly what a commit would do
is_headis_headbooloptionalDry run only. Whether the given Version is the head of its Node — a commit is only accepted against the head
head_versionhead_versionintoptionalDry run only, and only when the given Version is not the head. The version number of the current head
next_versionnext_versionintoptionalDry run only, and only when the given Version is the head. The version number a commit would create (the head's number plus one)
oids_truncatedoids_truncatedbooloptionalDry 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
transaction_uuidtransaction_uuidUUIDoptionalThe UUID of the transaction
version_uuidversion_uuidUUIDoptionalThe UUID of the new Version the transaction produced
versionversionintoptionalThe version number (incremental) of the new Version
summarysummaryCommittedTransactionSummaryoptionalA summary of what the transaction did
deleted_oidsdeleted_oidsList[int]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)
geometry_changedgeometry_changedbooloptionalThe 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
links_orphanedlinks_orphanedintoptionalThe links whose object the transaction deleted (only when the model has linked data)
links_checklinks_checkintoptionalThe links on the new Version that are to check (only when the model has linked data)

CommittedTransactionSummary#

PropertyJSONTypeDescription
updatesupdatesList[TransactionUpdate]optional

CompareAlignment#

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

PropertyJSONTypeDescription
appliedappliedbooloptionalWhether the right side was judged with the move undone (align auto)
translationtranslationList[float]optionalx, y, z
unitunitstroptionalmm
rotationrotationCompareAlignmentRotationoptional
matrixmatrixList[float]optionalThe move as a column-major 4x4 matrix in mm
countcountintoptionalThe pairs that share it
measuredmeasuredintoptionalThe pairs with geometry it was found among
sharesharefloatoptional

CompareAlignmentRotation#

PropertyJSONTypeDescription
angleanglefloatoptional
axisaxisList[float]optional
unitunitstroptional

CompareBul#

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

PropertyJSONTypeDescription
result_uuidresult_uuidUUIDoptionalThe stored compare result the BUL is made from
left_version_uuidleft_version_uuidUUIDoptional
right_version_uuidright_version_uuidUUIDoptional
bulbulstroptionalThe statements the dry run accepts, one per line
statementsstatementsList[CompareBulStatementsInner]optional
residualresidualList[CompareBulResidualInner]optionalThe changes the BUL does not write
coveragecoverageCompareBulCoverageoptional
verifiedverifiedbooloptionalWhether every statement ran in a dry run of the left Version
blockerblockerstroptionalWhy 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
changeschangesintoptional
in_bulin_bulintoptional
ratioratiofloatoptional

CompareBulRecord#

PropertyJSONTypeDescription
possiblepossiblebooloptional
reasonreasonstroptional

CompareBulResidualInner#

PropertyJSONTypeDescription
llintoptional
rrintoptional
keykeystroptional
namenamestroptional
typetypestroptional
kindkindstroptional
pathpathstroptional
reasonreasonstroptional

CompareBulStatementsInner#

PropertyJSONTypeDescription
bulbulstroptional
kindkindstroptional
objectsobjectsintoptional
changeschangesintoptional

CompareCategory#

PropertyJSONTypeDescription
ididstroptionalStable within a result, for example top.changed.0
kindkindstroptionalOne of added, removed, changed, unchanged, ignored.
labellabelstroptional
rulerulestroptionalThe name of the rule whose outcome block made the category
countcountintoptional

CompareCluster#

PropertyJSONTypeDescription
ididstroptionalStable within a result, for example c0
categorycategorystroptional
labellabelstroptionalThe change in words, for example 36 objects moved 500 mm along X
countcountintoptional
signaturesignatureDict[str, object]optionalWhat the units share

CompareCounts#

PropertyJSONTypeDescription
addedaddedintoptional
removedremovedintoptional
changedchangedintoptional
unchangedunchangedintoptional
ignoredignoredintoptional

CompareDefinitionRef#

PropertyJSONTypeDescription
hashhashstroptionalThe xxh64 of the definition text
action_uuidaction_uuidUUIDoptional
action_versionaction_versionintoptional

CompareGroup#

PropertyJSONTypeDescription
keykeyDict[str, object]optionalPer group-by feature its value, null when an object has none
countscountsDict[str, int]optionalPer category id the units with this key
totaltotalintoptional

CompareLayer#

PropertyJSONTypeDescription
categorycategorystroptional
kindkindstroptionalOne of added, removed, changed, unchanged, ignored, others.
sidesidestroptionalOne of left, right, others.
default_leftdefault_leftbooloptionalThe 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
oidsoidsList[int]optionalThe object ids of the layer, on its side's Version
oids_voids_vList[int]optionalA federation's side only. Aligned with oids, the index of each object's Version in vids
actionsactionsDict[str, object]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
colorcolorstroptional
transparencytransparencyfloatoptional
resetresetbooloptional
visiblevisiblebooloptional

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)
bcolbcolstroptionalA BCOL definition. When neither bcol, bcol_json, definition nor action_uuid is given, the built-in Default is used
bcol_jsonbcol_jsonDict[str, Optional[object]]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
definitiondefinitionstroptionalA built-in definition. One of default, everything, inventory, geometry.
action_uuidaction_uuidUUIDoptionalA stored compare (BCOL) action
action_versionaction_versionintoptionalThe version of the stored action; default its current version
optionsoptionsCompareOptionsoptional

CompareMoves#

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

PropertyJSONTypeDescription
countcountintoptional
truncatedtruncatedbooloptionalWhether more pairs moved than items has (it keeps 2,000)
itemsitemsList[List[float]]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
left_vleft_vList[int]optionalA federation's left side only. Per item the index of the left object's Version in vids
right_vright_vList[int]optionalA federation's right side only. Per item the index of the right object's Version in vids

CompareObjectSet#

PropertyJSONTypeDescription
leftleftList[int]optional
rightrightList[int]optional
left_vleft_vList[int]optionalA federation's left side only. Aligned with left, the index of each object's Version in vids (-1 where left is -1)
right_vright_vList[int]optionalA federation's right side only. Aligned with right, the index of each object's Version in vids
matched_bymatched_byList[int]optionalPer pair, the index of its matcher in matchers

CompareObjectsRequest#

PropertyJSONTypeDescription
leftleftstrrequiredThe first object, as a qid
rightrightstrrequiredThe second object, as a qid
bcolbcolstroptionalA BCOL definition
definitiondefinitionstroptionalA built-in definition. One of default, everything, inventory, geometry.

CompareObjectsResult#

PropertyJSONTypeDescription
leftleftstroptional
rightrightstroptional
statusstatusstroptionalOne of changed, unchanged, ignored.
categorycategorystroptional
labellabelstroptional
changed_featureschanged_featuresList[str]optional
changeschangesDict[str, object]optionalPer changed feature at its record path its left and right value, and geometry's measures
watchedwatchedList[str]optionalWhat the definition watches; a feature that differs but is not watched is not compared
definitiondefinitionCompareDefinitionRefoptional
hidden_featureshiddenFeaturesList[str]optional

CompareOptions#

PropertyJSONTypeDescription
detailsdetailsstroptionalHow 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.
layerslayersbooloptionalWhether full includes the layers
forceforcebooloptionalCompute again even when a stored result answers the request
wait_mswait_msintoptionalWait 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
categorycategorystroptionalOnly the records of this category (an id from summary.categories)
offsetoffsetintoptionalThe first record of the page
limitlimitintoptionalThe number of records in the page
alignalignstroptionalOverrides 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
categorycategorystroptional
offsetoffsetintoptional
limitlimitintoptional
totaltotalintoptionalThe records available (of the category, or of all categories)
returnedreturnedintoptional

ComparePairOverride#

PropertyJSONTypeDescription
uuiduuidUUIDoptional
left_version_uuidleft_version_uuidUUIDoptional
right_version_uuidright_version_uuidUUIDoptional
kindkindstroptionalOne of pair, removed, added.
left_oidleft_oidintoptional
right_oidright_oidintoptional
notenotestroptional
created_bycreated_bystroptional
created_oncreated_onstroptional

ComparePairOverrideSet#

PropertyJSONTypeDescription
overrideoverrideComparePairOverrideoptional
overridesoverridesList[ComparePairOverride]optional

ComparePairOverrides#

PropertyJSONTypeDescription
deleteddeletedbooloptional
overridesoverridesList[ComparePairOverride]optional

CompareRecord#

PropertyJSONTypeDescription
categorycategorystroptional
rulerulestroptional
statusstatusstroptionalOne of added, removed, changed.
llintoptionalThe left object id
rrintoptionalThe right object id
l_vl_vintoptionalA federation's left side only. The index of the left object's Version in vids
r_vr_vintoptionalA federation's right side only. The index of the right object's Version in vids
matched_bymatched_bystroptionalThe matcher that paired the objects
keykeystroptionalThe GlobalId
changed_featureschanged_featuresList[str]optionalThe watched features that changed, for example attribute.Name, geometry.translation
changeschangesDict[str, object]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
leftleftDict[str, object]optional
rightrightDict[str, object]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
result_uuidresult_uuidUUIDoptionalThe stored result, for GetCompareResult
statusstatusstroptionalOne of PENDING, RUNNING, READY, FAILED.
errorerrorstroptionalWhy the compare failed (status FAILED)
cachedcachedbooloptionalCompareModels only. Whether the result was answered from the store
formatformatstroptionalThe format of the result document, bcol-result/1
engine_versionengine_versionstroptionalThe version of the compare algorithm the result was computed with
completed_oncompleted_ondatetimeoptional
leftleftCompareResultSideoptional
rightrightCompareResultSideoptional
vidsvidsList[UUID]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
parametersparametersDict[str, object]optionalWhat else the result was computed with besides the definition (the side conditions, the limits, a fingerprint of the caller's feature visibility)
statsstatsCompareStatsoptional
warningswarningsList[CompareWarning]optional
summarysummaryCompareSummaryoptional
objectsobjectsDictstr, [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
clustersclustersDictstr, [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
matchersmatchersList[str]optionalThe matchers in order, lineage first when the Versions descend from one another; the object sets' matched_by index this list
recordsrecordsList[CompareRecord]optionalDetails changes and up. One page of the records of the added, removed and changed objects, in legend order
pagingpagingComparePagingoptional
layerslayersList[CompareLayer]optionalDetails full. The styling of every category and side
hidden_featureshiddenFeaturesList[str]optionalFeatures the definition reads that the caller's feature visibility hides; they were left out
truncatedtruncatedbooloptionalWhether records were left out because there are more than the server keeps

CompareResultModel#

One model of a federation's side

PropertyJSONTypeDescription
version_uuidversion_uuidUUIDoptional
node_uuidnode_uuidUUIDoptional
versionversionintoptional
namenamestroptional

CompareResultSide#

PropertyJSONTypeDescription
version_uuidversion_uuidUUIDoptionalThe Version; for a federation an id of its models, which names no Version
node_uuidnode_uuidUUIDoptional
versionversionintoptional
namenamestroptional
objectsobjectsintoptionalThe objects of this side in the compare's scope
modelsmodelsList[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
modelsmodelsList[ModelIdentifier]requiredThe model of this side, or the models of a federation
wherewherestroptionalA BQL condition every object of this side must meet besides the definition's scope, for example type = IFCWALL

CompareStats#

PropertyJSONTypeDescription
leftleftintoptionalObjects in scope on the left
rightrightintoptionalObjects in scope on the right
matchedmatchedintoptionalPairs
match_ratematch_ratefloatoptionalPairs per object of the smaller side
matched_bymatched_byDict[str, int]optionalPairs per matcher
duplicatesduplicatesCompareStatsDuplicatesoptionalObjects not matched because their key occurs more than once on their side
ignoredignoredintoptionalObjects and pairs a rule ignored
lineagelineagebooloptionalWhether one Version descends from the other, so equal object ids are the same object
same_contentsame_contentbooloptionalWhether both sides have identical content
fast_pathfast_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
elapsed_mselapsed_msintoptional

CompareStatsDuplicates#

PropertyJSONTypeDescription
leftleftintoptional
rightrightintoptional

CompareStatsFastPath#

PropertyJSONTypeDescription
touchedtouchedintoptional
geometry_skippedgeometry_skippedintoptional

CompareSummary#

PropertyJSONTypeDescription
categoriescategoriesList[CompareCategory]optionalIn legend order
groupsgroupsList[CompareGroup]optionalCounts per value of the definition's group by, the largest first
clustersclustersList[CompareCluster]optionalUnits that changed in the same way, the largest first; their objects are in the result's clusters

CompareWarning#

PropertyJSONTypeDescription
codecodestroptionalduplicate_key, low_match_rate, definition, not_available
messagemessagestroptional
detailsdetailsDict[str, object]optional

ConfirmLinkMatchRequest#

PropertyJSONTypeDescription
link_uuidlink_uuidUUIDrequired
version_uuidversion_uuidUUIDrequired

ConfirmLinkMatchResult#

PropertyJSONTypeDescription
confirmed_anchor_uuidconfirmed_anchor_uuidUUIDoptional
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
geo_referencegeo_referenceGeoReferenceoptional
anchor_pointanchor_pointVector3optionalThe point in the target's model coordinates the georeference places
rotation_northrotation_northstroptionalOne of GRID, TRUE.
original_epsgoriginal_epsgstroptionalThe coordinate system the source's georeference was found in
grid_convergencegrid_convergencefloatoptionalDegrees between grid north and true north at the point; absent when 0
geo_reference_sourcegeo_reference_sourceGeoReferenceSourceoptionalWhere a copied georeference came from (CopyGeoReference); absent for one of the Version's own
warningswarningsList[str]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)
var_fromfromModelIdentifierrequiredThe Version whose georeference is copied, usually the model model is aligned onto

CreateAnonymousTokenRequest#

PropertyJSONTypeDescription
identifieridentifierstroptionalOptional identifier stored with the token, useful for debugging

CreateAnonymousTokenResult#

PropertyJSONTypeDescription
tokentokenstrrequiredThe anonymous token, prefixed with "at-". Store it safely, it is never shown again.
uuiduuidUUIDrequired
root_node_uuidroot_node_uuidUUIDrequired

CreateApiTokenRequest#

PropertyJSONTypeDescription
node_uuidnode_uuidUUIDrequiredThe Node (folder) the token is rooted at; needs write rights on it
namenamestrrequiredThe name of the token
scopesscopesList[str]requiredThe scopes the token grants, as wire names (fs:read, model:upload, ...). A scoped caller can grant no more than it has itself
expires_onexpires_onstroptionalWhen 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
cors_enabled_domainscors_enabled_domainsList[str]optionalThe browser origins that may use the token, with only_cors_enabled_addresses
only_cors_enabled_addressesonly_cors_enabled_addressesbooloptionalRefuse calls from other origins than cors_enabled_domains
white_listed_ip_addresseswhite_listed_ip_addressesList[str]optionalThe client addresses that may use the token, with only_white_listed_ip_addresses
only_white_listed_ip_addressesonly_white_listed_ip_addressesbooloptionalRefuse calls from other addresses than white_listed_ip_addresses
bim_contextbim_contextstroptionalThe regional context of the token. One of DEFAULT, MKM, HONG_KONG, NL, GB.

CreateNodeRequest#

PropertyJSONTypeDescription
namenamestrrequired
folderfolderboolrequired
input_file_typeinput_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.
parent_node_uuidparent_node_uuidUUIDoptionalThe 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
allow_existingallow_existingbooloptionalWhen 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
expires_secondsexpires_secondsintrequired
node_uuidsnode_uuidsList[UUID]required
taskstasksList[str]optionalDeprecated - use scopes instead. Task-name allow-lists do not cover API calls added later and can name tasks that no longer exist.
scopesscopesList[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
ip_addressesip_addressesList[str]optional
lock_to_called_iplock_to_called_ipbooloptional
response_formatresponse_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
expires_secondsexpires_secondsintrequired
node_uuidnode_uuidUUIDrequired
taskstasksList[str]optionalDeprecated - use scopes instead. Task-name allow-lists do not cover API calls added later and can name tasks that no longer exist.
scopesscopesList[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
ip_addressesip_addressesList[str]optional
lock_to_called_iplock_to_called_ipbooloptional
response_formatresponse_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
expires_secondsexpires_secondsintrequired
version_uuidsversion_uuidsList[UUID]required
taskstasksList[str]optionalDeprecated - use scopes instead. Task-name allow-lists do not cover API calls added later and can name tasks that no longer exist.
scopesscopesList[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
ip_addressesip_addressesList[str]optional
lock_to_called_iplock_to_called_ipbooloptional
response_formatresponse_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
namenamestrrequiredThe name
parent_workspace_uuidparent_workspace_uuidUUIDoptionalMake it a sub-workspace of this one
scopesscopesList[str]optionalWhat a visitor may do, as scope wire names; unscoped (or the parent's) when null
filterfilterstroptionalA BQL condition that limits the objects a visitor sees
load_all_models_initiallyload_all_models_initiallybooloptionalLoad every model when a visitor opens it
current_spacecurrent_spaceDict[str, Optional[object]]optional{get_clause, label_template}: how the web app names the space a visitor is in
feature_visibilityfeature_visibilityDict[str, Optional[object]]optional{mode: allow | deny, features: [...]}: the features a visitor sees

CreateWorkspace200Response#

PropertyJSONTypeDescription
uuiduuidUUIDoptional

DatabaseStatus#

Values: UP, DOWN, UNKNOWN.

DeleteActionRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequiredThe action

DeleteApiTokenRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequiredThe token

DeleteComparePairOverrideRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequired

DeleteLinkedDataRequest#

PropertyJSONTypeDescription
item_uuidsitem_uuidsList[UUID]required
reasonreasonstroptional

DeleteLinkedDataResult#

PropertyJSONTypeDescription
deleteddeletedList[UUID]optional
retention_daysretention_daysintoptionalHow long the items can be restored

DeleteNodeErrorRequest#

PropertyJSONTypeDescription
node_uuidnode_uuidUUIDrequiredThe Node
error_uuiderror_uuidUUIDrequiredThe error, from ListNodeErrors

DeleteNodeRequest#

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

DeleteVersionRequest#

PropertyJSONTypeDescription
node_uuidnode_uuidUUIDrequiredThe UUID of the Node the Version belongs to
version_uuidversion_uuidUUIDrequiredThe UUID of the Version to delete

DeleteWorkspaceRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequiredThe 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
uuiduuidUUIDrequiredThe UUID of the folder Node to download
include_deletedinclude_deletedbooloptionalWhether to also include deleted Nodes (default: false)
formatformatstroptional`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
item_uuiditem_uuidUUIDrequired
deliverydeliverystroptional`stream`: the content as the body; `url`: a LinkedDataDownloadUrl as JSON. One of stream, url.
dispositiondispositionstroptionalWith `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
formatformatstroptional`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.
error_uuiderror_uuidUUIDoptionalInstead of a model identifier, the error of an upload that failed (from ListNodeErrors), whose uploaded file comes back. Needs read rights on its Node
typetypestroptionalThe kind of model identifier, required unless error_uuid is given. One of UrlModelIdentifier, NodeModelIdentifier, VersionModelIdentifier.
namenamestroptionalName of the model, see ModelIdentifier
uuiduuidUUIDoptionalThe UUID of the Version (VersionModelIdentifier) or of the Node (NodeModelIdentifier)
urlurlstroptionalThe URL of the model (UrlModelIdentifier)
target_schematarget_schemastroptionalThe IFC schema to convert the model to, for example IFC4. Absent means the model as it was uploaded
validatevalidatebooloptionalOnly 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
link_uuidlink_uuidUUIDrequired
from_version_uuidfrom_version_uuidUUIDrequired

ErrorResponse#

PropertyJSONTypeDescription
codecodeintoptionalMachine-readable error code
typetypestroptionalMachine-readable textual version of the error code
domain_fulldomain_fullstroptionalThe full domain name of the error namespace
domaindomainstroptionalThe domain of the error (namespace)
messagemessagestroptionalHuman readable version of the error

ExportCityGML3Request#

PropertyJSONTypeDescription
modelsmodelsList[ModelIdentifier]requiredModels to export. Passing an empty model set is also valid, and allows you to validate your export settings
settingssettingsCityGML3ExportSettingsrequired
formatformatstroptionalAbsent, 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
result_uuidresult_uuidUUIDrequired
formatformatstroptionalxlsx: 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.
categoriescategoriesList[str]optionalOnly the records of these categories (ids from summary.categories)

ExportGeometryRequest#

PropertyJSONTypeDescription
modelsmodelsList[ModelIdentifier]required
queryquerystroptionalA BQL condition, such as type = IFCWALL
formatformatstroptional`glb` (`model/gltf-binary`), the only format so far. One of glb.
colorscolorsDict[str, List[float]]optionalColours by object, qid (version uuid, a dash, the oid) to [r, g, b, a], each 0 to 1
only_outside_trianglesonly_outside_trianglesbooloptionalLeave out the triangles that cannot be seen from outside

ExportVectorSvgRequest#

PropertyJSONTypeDescription
viewviewstroptional
directiondirectionVector3optional
cutcutfloatoptional
cut_fractioncut_fractionfloatoptional
sizesizeintoptional
jitterjitterintoptional
hairlinehairlinebooloptional
modelmodelModelIdentifierrequired
stylingstylingObjectStylingoptional
labelslabelsLabelSettingsoptional
cachecachestroptional

ExtractGeoReferenceRequest#

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

ExtractedGeoReference#

PropertyJSONTypeDescription
geo_referencegeo_referenceGeoReferenceoptional
anchor_pointanchor_pointVector3optional
original_epsgoriginal_epsgstroptionalThe coordinate system it was found in
methodmethodstroptionalThe method that found it (for auto: which one)

Generate3DTilesUrlRequest#

PropertyJSONTypeDescription
node_uuidnode_uuidUUIDoptionalA folder node; its models are collected recursively on every tileset request. Wins over version_uuids when both are given.
version_uuidsversion_uuidsList[UUID]optionalA fixed set of model versions
settingssettingsTilesSettingsoptional
link_accountlink_accountbooloptionalBind the URL to the calling account

Generate3DTilesUrl200Response#

PropertyJSONTypeDescription
urlurlstroptional

GeoReference#

PropertyJSONTypeDescription
latitudelatitudefloatoptional
longitudelongitudefloatoptional
elevationelevationfloatoptional
rotationrotationfloatoptional
epsgepsgstroptional

GeoReferenceResult#

PropertyJSONTypeDescription
geo_referencegeo_referenceGeoReferenceoptional
anchor_pointanchor_pointVector3optionalWith model: the point in model coordinates the georeference places
grid_convergencegrid_convergencefloatoptionalDegrees between grid north and true north at the point; absent when 0
rotation_northrotation_northstroptionalOne of GRID, TRUE.
map_conversionmap_conversionDict[str, object]optionalWith include_map_conversion: what the model's IfcMapConversion says
original_epsgoriginal_epsgstroptionalWith include_source: the coordinate system the georeference was found in
geo_reference_sourcegeo_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
version_uuidversion_uuidUUIDoptionalThe Version it was copied from
alignmentalignmentList[float]optionalThe alignment the Version had when it was copied (mm, column-major), null for none
node_namenode_namestroptionalThe name of the Node it was copied from, while that Version exists
versionversionintoptionalThe number of the Version it was copied from, while it exists

GetActionRequest#

PropertyJSONTypeDescription
uuiduuidUUIDoptionalThe action
pathpathstroptionalThe action, as a path from the caller's own folder

GetApplicationVersion200Response#

PropertyJSONTypeDescription
versionversionApplicationVersionoptional

GetCheckinRequest#

PropertyJSONTypeDescription
job_uuidjob_uuidUUIDoptionalThe checkin job, as UploadModel or AddModelWithUrl answered it
version_uuidversion_uuidUUIDoptionalThe Version the checkin made, instead of job_uuid
wait_mswait_msintoptionalWait up to this long for the checkin to end

GetCompareBulRequest#

PropertyJSONTypeDescription
left_version_uuidleft_version_uuidUUIDrequiredThe older Version, which the statements address
right_version_uuidright_version_uuidUUIDrequired

GetCompareResultRequest#

PropertyJSONTypeDescription
result_uuidresult_uuidUUIDrequiredThe result, as CompareModels answered it
detailsdetailsstroptionalHow much of the result to return. One of summary, objects, changes, full.
layerslayersbooloptionalWhether full includes the layers
categorycategorystroptionalOnly the records of this category (an id from summary.categories)
offsetoffsetintoptionalThe first record of the page
limitlimitintoptionalThe number of records in the page
formatformatstroptionalAbsent, 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.
categoriescategoriesList[str]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)
geo_referencegeo_referenceGeoReferenceoptionalA georeference to convert instead of reading one; its epsg is required
target_epsgtarget_epsgstroptionalThe coordinate system of the answer
include_map_conversioninclude_map_conversionbooloptionalAlso the model's IfcMapConversion (with model only)
include_sourceinclude_sourcebooloptionalAlso the coordinate system it was found in (original_epsg) and where a copied georeference came from (geo_reference_source), with model only

GetGeometryMetaDataRequest#

PropertyJSONTypeDescription
modelsmodelsList[ModelIdentifier]requiredThe models, by Version or Node identifier

GetLinkedDataCountsRequest#

PropertyJSONTypeDescription
version_uuidversion_uuidUUIDrequired
include_laterinclude_laterbooloptional

GetLinkedDataRequest#

PropertyJSONTypeDescription
item_uuiditem_uuidUUIDrequired
version_uuidversion_uuidUUIDoptional

GetMatchCandidatesRequest#

PropertyJSONTypeDescription
result_uuidresult_uuidUUIDrequired
left_oidsleft_oidsList[int]optionalOnly these removed objects (a compare of two Versions)
left_qidsleft_qidsList[str]optionalOnly these removed objects, as qids; also for a compare of federations
limitlimitintoptionalCandidates per object
radius_mmradius_mmfloatoptionalHow far a candidate may be

GetNodeRequest#

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

GetObjectHistoryRequest#

PropertyJSONTypeDescription
modelmodelModelIdentifierrequiredThe Version or Node whose history to read
oidoidintrequiredThe object id
featurefeaturestroptionalOnly the changes to this feature
features_onlyfeatures_onlybooloptionalOnly the names of the features that changed

GetValidationReportRequest#

PropertyJSONTypeDescription
modelmodelModelIdentifieroptionalThe Version (a Node stands for its latest Version)
error_uuiderror_uuidUUIDoptionalA failed checkin instead, from ListNodeErrors
summary_onlysummary_onlybooloptionalOnly the summary
min_severitymin_severitystroptionalOnly findings of this severity or worse. One of INFO, WARNING, ERROR, FATAL.
stagestagestroptionalOnly this stage
ruleruleList[str]optionalOnly these rules
global_idglobal_idstroptionalOnly findings about this object
express_idexpress_idintoptionalOnly findings about this STEP line

GetVersionChangesRequest#

PropertyJSONTypeDescription
version_uuidversion_uuidUUIDoptionalOne Version
version_uuidsversion_uuidsList[UUID]optionalSeveral Versions
only_storedonly_storedbooloptionalAnswer from stored results only; compute nothing

GetVersionRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequiredThe 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
midmidUUIDoptionalThe UUID of the indexed model, used by the viewer to fetch geometry
ifc_schemaifcSchemastroptionalThe IFC schema of the source model (e.g. IFC2X3, IFC4)
filenamefilenamestroptionalThe filename of the uploaded source model
filesizefilesizeintoptionalThe size of the source model in bytes
filesize_estimatedfilesize_estimatedbooloptionalWhether filesize is an estimate (e.g. for TRANSACTION versions)
geometry_typegeometryTypestroptionalThe type of the generated geometry (e.g. BASIC, OCTREE_CHUNKED)
nr_of_primitivesnrOfPrimitivesintoptionalThe number of geometric primitives (triangles) in the model
multiplier_to_mmmultiplierToMmfloatoptionalMultiplier to convert the model's length unit to millimeters
transformed_bounds_mmtransformedBoundsMmBoundingBoxoptionalAn axis-aligned bounding box
transformed_main_bounds_mmtransformedMainBoundsMmBoundingBoxoptionalAn axis-aligned bounding box
untransformed_bounds_mmuntransformedBoundsMmBoundingBoxoptionalAn axis-aligned bounding box
total_boundstotalBoundsBoundingBoxoptionalAn axis-aligned bounding box
obb_mmobbMmOrientedBoundingBoxoptionalAn oriented bounding box, defined by a center, extent and three axes
base_translationbaseTranslationVector3optional
global_translation_vectorglobalTranslationVectorVector3optional
anchor_pointanchorPointVector3optional
vertex_unquantization_matrixvertexUnquantizationMatrixList[float]optionalColumn-major 4x4 matrix (16 numbers) to unquantize vertex coordinates
geo_referencegeoReferenceGeoReferenceoptional
point_cloudpointCloudPointCloudMetadataoptionalPresent 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
widthwidthintoptional
heightheightintoptional

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
sizesizefloatoptionalFont size in drawing millimetres (2.5 mm on paper at 1:100).
fitfitstroptionalWhat happens when a label is wider than the object it sits in. One of overflow, shrink, omit.

LinkDataResult#

PropertyJSONTypeDescription
itemsitemsList[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
indexindexintoptionalThe position of the item in the request
itemitemLinkedDataItemoptionalA file, URL, text or identifier, linked to objects. Times are UTC, without a zone
linkslinksList[LinkedDataLink]optional
filenamefilenamestroptionalThe file name of a refused file
errorerrorstroptionalThe error type of a refused item, for example FILE_TYPE_NOT_ALLOWED
messagemessagestroptional

LinkDataSpec#

The request part of LinkData

PropertyJSONTypeDescription
version_uuidversion_uuidUUIDrequiredThe Version the targets are objects of
targetstargetsList[LinkTarget]required
itemsitemsList[LinkedDataItemSpec]required

LinkTarget#

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

PropertyJSONTypeDescription
oidoidintoptional
qidqidstroptional
global_idglobal_idstroptionalThe 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
uuiduuidUUIDoptional
link_uuidlink_uuidUUIDoptional
directiondirectionLinkedDataAnchorDirectionoptional`FORWARD` from the link's first Version to newer ones, `BACKWARD` to older ones (links added in later Versions). One of FORWARD, BACKWARD.
first_versionfirst_versionintoptional
first_version_uuidfirst_version_uuidUUIDoptional
last_versionlast_versionintoptional
last_version_uuidlast_version_uuidUUIDoptional
oidoidintoptionalThe 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.
confidenceconfidencefloatoptionalOf a MATCHED span, 0 to 1
candidatescandidatesList[int]optionalThe objects of a CHECK span with the same GlobalId
followed_onfollowed_onstroptional
confirmed_onconfirmed_onstroptional
confirmed_byconfirmed_bystroptional

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
namenamestroptional
sizesizeintoptional

LinkedDataCountTotals#

PropertyJSONTypeDescription
objectsobjectsintoptional
itemsitemsintoptionalDistinct items
checkcheckintoptionalObjects to check
orphanedorphanedintoptionalLinks orphaned on this Version
laterlaterintoptional

LinkedDataCounts#

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

PropertyJSONTypeDescription
version_uuidversion_uuidUUIDoptional
versionversionintoptional
node_uuidnode_uuidUUIDoptional
objectsobjectsList[int]optionalThe objects with linked data
checkcheckList[int]optionalThose of them with a link to check
laterlaterList[int]optionalWith include_later, the objects whose only links were made on later Versions
by_familyby_familyDict[str, List[int]]optionalThe objects per file family (PDF, IMAGES, ...), or per kind for what is not a file (URL, TEXT, IDENTIFIER)
markersmarkersList[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)
replaced_byreplaced_byList[LinkedDataReplacement]optional
linkslinksList[LinkedDataLink]optional

LinkedDataDownloadUrl#

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

PropertyJSONTypeDescription
urlurlstroptionalThe URL, valid until expires without a token; treat it like the file itself
expiresexpiresdatetimeoptional
dispositiondispositionstroptionalWhat the URL sends. One of attachment, inline.
pathpathstroptionalThe 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
entriesentriesList[LinkedDataArchiveEntry]optionalThe first entries of an archive
entry_countentry_countintoptionalThe entries of an archive
widthwidthintoptionalAn image's width in pixels
heightheightintoptionalAn image's height in pixels
taken_ontaken_onstroptionalWhen a photo was taken (EXIF), local time without a zone, for example 2024-05-17T10:11:12
locationlocationbooloptionalThe photo holds a GPS position
metadata_strippedmetadata_strippedbooloptionalThe location and camera details were removed on upload (strip_metadata)
metadata_keptmetadata_keptstroptionalWhy strip_metadata kept them (a HEIC or TIFF is stored as it is)

LinkedDataFileExtension#

PropertyJSONTypeDescription
extensionextensionstroptionalWithout the dot, for example pdf or shp.zip
labellabelstroptional
media_typemedia_typestroptional
inlineinlinebooloptionalWhether a browser may show it in a tab

LinkedDataFileFamily#

PropertyJSONTypeDescription
namenamestroptionalFor example PDF, IMAGES, OFFICE
titletitlestroptional
tokentokenstroptionalThe design token of the family's colour
colorcolorstroptional
extensionsextensionsList[LinkedDataFileExtension]optional

LinkedDataIdentifier#

PropertyJSONTypeDescription
systemsystemstroptionalThe system the value is from, for example SAP
valuevaluestrrequiredAt most 1 KiB

LinkedDataItem#

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

PropertyJSONTypeDescription
uuiduuidUUIDoptional
owner_node_uuidowner_node_uuidUUIDoptionalThe 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.
titletitlestroptional
descriptiondescriptionstroptional
categorycategorystroptional
valuevaluestroptionalThe URL, the identifier, or a short text
text_previewtext_previewstroptionalThe first KiB of a long text (which downloads whole)
identifier_systemidentifier_systemstroptional
sha256sha256stroptionalThe SHA-256 of a file or a long text, hex
media_typemedia_typestroptionalThe media type the server found
declared_media_typedeclared_media_typestroptionalThe media type the client declared, when it differs
familyfamilystroptionalThe file family (see the policy), for example PDF or IMAGES
extensionextensionstroptional
filenamefilenamestroptional
sizesizeintoptionalBytes
factsfactsLinkedDataFactsoptionalWhat the server read from a file's content (an archive's entries, an image's size and EXIF)
valid_untilvalid_untilstroptionalA date, yyyy-mm-dd
replaces_item_uuidreplaces_item_uuidUUIDoptional
copied_from_item_uuidcopied_from_item_uuidUUIDoptional
created_oncreated_onstroptional
created_bycreated_bystroptional
created_by_uuidcreated_by_uuidUUIDoptional
created_on_version_uuidcreated_on_version_uuidUUIDoptional
created_on_versioncreated_on_versionintoptional
viaviaLinkedDataViaoptionalThrough which door an item or a link came in. One of APP, TASK_API, OPEN_API, CHAT, COPY, IMPORT.
clientclientstroptionalThe client that added it (its X-BIMworks-Client label)
modified_onmodified_onstroptional
modified_bymodified_bystroptional
row_versionrow_versionintoptionalSend it with UpdateLinkedData
scan_statusscan_statusstroptional
deleted_ondeleted_onstroptional
deleted_bydeleted_bystroptional
deleted_reasondeleted_reasonstroptional
purged_onpurged_onstroptional

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.
titletitlestroptionalWithout one, the file name without its extension, the URL's host, the identifier's system and value, or the text's first line
descriptiondescriptionstroptional
categorycategorystroptionalOne of the policy's categories
valid_untilvalid_untilstroptionalA date, yyyy-mm-dd
urlurlstroptionalA URL with one of the policy's schemes (URL)
texttextstroptionalThe text (TEXT); a long one is stored as a file and the item keeps a preview
identifieridentifierLinkedDataIdentifieroptional
filenamefilenamestroptionalThe file name (FILE); the file part's own name when absent
content_typecontent_typestroptionalThe media type the client declares (FILE); the server decides from the content
streamstreamintoptionalThe position of the item's file among the file parts (FILE); by default the FILE items take the parts in order
strip_metadatastrip_metadatabooloptionalRemove 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
uuiduuidUUIDoptional
item_uuiditem_uuidUUIDoptional
node_uuidnode_uuidUUIDoptional
first_version_uuidfirst_version_uuidUUIDoptionalThe Version the link was made on
first_versionfirst_versionintoptional
oidoidintoptionalThe object the link was made on, on its first Version
global_idglobal_idstroptionalThe GlobalId the link follows
ifc_typeifc_typestroptional
object_nameobject_namestroptional
ended_from_version_uuidended_from_version_uuidUUIDoptional
ended_from_versionended_from_versionintoptional
ended_onended_onstroptional
ended_byended_bystroptional
backward_through_versionbackward_through_versionintoptionalHow far down the backward follow took the link; 0 when it found nothing further down
copied_from_link_uuidcopied_from_link_uuidUUIDoptional
linked_onlinked_onstroptional
linked_bylinked_bystroptional
viaviaLinkedDataViaoptionalThrough which door an item or a link came in. One of APP, TASK_API, OPEN_API, CHAT, COPY, IMPORT.
clientclientstroptional
deleted_ondeleted_onstroptional
deleted_bydeleted_bystroptional
anchor_uuidanchor_uuidUUIDoptionalThe span the link is on, on the Version listed
oid_hereoid_hereintoptionalThe 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.
span_first_versionspan_first_versionintoptionalSince which Version the link is where it is
candidatescandidatesList[int]optional
object_hereobject_hereLinkedDataObjectoptionalAn object of a Version
object_beforeobject_beforeLinkedDataObjectoptionalAn object of a Version
node_namenode_namestroptional
anchorsanchorsList[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
linkslinksList[LinkedDataLink]optional

LinkedDataList#

PropertyJSONTypeDescription
version_uuidversion_uuidUUIDoptional
versionversionintoptional
node_uuidnode_uuidUUIDoptional
itemsitemsList[LinkedDataItem]optional
linkslinksList[LinkedDataLink]optional

LinkedDataMarker#

One object with linked data, for a marker

PropertyJSONTypeDescription
oidoidintoptional
countcountintoptionalIts items
familyfamilystroptionalThe family most of its items have
extensionextensionstroptionalThe extension most files of that family have
checkcheckbooloptional
laterlaterbooloptional

LinkedDataObject#

An object of a Version

PropertyJSONTypeDescription
oidoidintoptional
namenamestroptional
ifc_typeifc_typestroptional
global_idglobal_idstroptional
versionversionintoptionalThe Version number (object_before)

LinkedDataPolicy#

PropertyJSONTypeDescription
familiesfamiliesList[LinkedDataFileFamily]optional
denieddeniedList[str]optionalThe extensions never accepted, whatever the configuration
max_file_bytesmax_file_bytesintoptional
max_inline_bytesmax_inline_bytesintoptionalA text up to this size is kept in the item; a longer one is stored as a file
max_files_per_requestmax_files_per_requestintoptionalItems per LinkData call
max_targets_per_requestmax_targets_per_requestintoptional
categoriescategoriesList[str]optionalThe categories an item may have; "*" allows any
identifier_systemsidentifier_systemsDict[str, str]optionalThe identifier systems this server knows, name to a URL template ({value} is the identifier) that makes an identifier of that system a link
url_schemesurl_schemesList[str]optional
retention_daysretention_daysintoptionalHow long a deleted item can be restored

LinkedDataReplacement#

One side of a replacement (ReplaceLinkedData)

PropertyJSONTypeDescription
uuiduuidUUIDoptional
titletitlestroptional
from_versionfrom_versionintoptionalThe 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
account_uuidaccount_uuidUUIDoptionalThe account; the caller's own when absent

ListAccountsRequest#

PropertyJSONTypeDescription
include_invitesinclude_invitesbooloptionalAlso the open invites
show_deletedshow_deletedbooloptionalAlso the removed accounts

ListActionsRequest#

PropertyJSONTypeDescription
uuiduuidUUIDoptionalThe folder
pathpathstroptionalThe folder, as a path from the caller's own folder (Checks/Fire safety)
show_deletedshow_deletedbooloptionalAlso the deleted ones

ListApiTokensRequest#

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

ListBuildingStoreysRequest#

PropertyJSONTypeDescription
modelsmodelsList[ModelIdentifier]requiredThe models, by Version or Node identifier

ListComparePairOverridesRequest#

PropertyJSONTypeDescription
left_version_uuidleft_version_uuidUUIDrequired
right_version_uuidright_version_uuidUUIDrequired

ListLinkedDataRequest#

PropertyJSONTypeDescription
version_uuidversion_uuidUUIDrequired
oidsoidsList[int]optionalOnly the links on these objects of the Version
qidsqidsList[str]optionalOnly the links on these objects, as qids of the Version
include_orphanedinclude_orphanedbooloptional
include_deletedinclude_deletedbooloptional
with_objectswith_objectsbooloptional
include_laterinclude_laterbooloptional
kindskindsList[LinkedDataKind]optionalOnly items of these kinds
categoriescategoriesList[str]optionalOnly items of these categories

ListNodeErrorsRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequiredThe UUID of the Node to get the errors of

ListNodesRecursiveRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequiredThe UUID of the Node to start from

ListNodesRequest#

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

ListReferenceValuesRequest#

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

ListVersionsRequest#

PropertyJSONTypeDescription
pathpathstroptionalThe path to the Node from the current Root Node. Use forward slashes to separate Nodes
uuiduuidUUIDoptionalThe UUID of the Node to get information about
version_uuidversion_uuidUUIDoptionalThe UUID of a Version (convenience method)
version_uuidsversion_uuidsList[UUID]optionalThe UUIDs of the Versions to get, from any Node, instead of a Node. The answer keeps their order

LoginAnonymousRequest#

PropertyJSONTypeDescription
response_formatresponse_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
tokentokenstrrequired
response_formatresponse_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
tokentokenstrrequired
response_formatresponse_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
usernameusernamestrrequired
passwordpasswordstrrequired
response_formatresponse_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
modelsmodelsList[ModelHash]required

LookupModelHashes200Response#

PropertyJSONTypeDescription
knownknownList[bool]optional
max_concurrent_checkinsmax_concurrent_checkinsintoptional

MapQidsRequest#

PropertyJSONTypeDescription
from_versionfrom_versionUUIDrequired
to_versionto_versionUUIDrequired
qidsqidsList[str]optionalObjects of from_version as qids (Version uuid, a dash, the object id)
oidsoidsList[int]optionalObjects of from_version as object ids
allallbooloptionalEvery matched object
viaviaUUIDoptionalThe result_uuid of a compare of the two Versions to read

MapQidsResult#

PropertyJSONTypeDescription
from_versionfrom_versionUUIDoptional
to_versionto_versionUUIDoptional
result_uuidresult_uuidUUIDoptionalThe compare the correspondence comes from
pairspairsMapQidsResultPairsoptional
matchersmatchersList[str]optional
unmatchedunmatchedList[int]optionalThe asked objects of from_version without a counterpart

MapQidsResultPairs#

PropertyJSONTypeDescription
var_fromfromList[int]optional
totoList[int]optional
matched_bymatched_byList[int]optional

MatchCandidateObject#

PropertyJSONTypeDescription
oidoidintoptional
vidvidUUIDoptionalThe object's Version (a federation's side has several)
typetypestroptional
namenamestroptional
scorescorefloatoptionalCandidates only: 1 for the same place, size, type and name
distance_mmdistance_mmfloatoptionalCandidates only

MatchCandidates#

PropertyJSONTypeDescription
removedremovedList[MatchCandidatesRemoved]optional
addedaddedList[MatchCandidateObject]optional
confirmedconfirmedMatchCandidatesConfirmedoptional
truncatedtruncatedbooloptional

MatchCandidatesRemoved#

PropertyJSONTypeDescription
oidoidintoptional
vidvidUUIDoptional
typetypestroptional
namenamestroptional
candidatescandidatesList[MatchCandidateObject]optional

MatchCandidatesConfirmed#

PropertyJSONTypeDescription
removedremovedList[int]optional
removed_vidsremoved_vidsList[UUID]optional
addedaddedList[int]optional
added_vidsadded_vidsList[UUID]optional

ModelError#

PropertyJSONTypeDescription
uuiduuidUUIDoptionalUUID of this TreeErrorNode
node_uuidnode_uuidUUIDoptionalThe UUID of the Node this error belongs to
metadatametadataobjectoptionalAdditional untyped metadata for this error
node_namenode_namestroptionalName of the Node this error belongs too, redundant but added for convenience
created_oncreated_ondatetimeoptionalWhen this error was created
created_bycreated_bystroptionalBy whom this error was created
error_messageerror_messagestroptionalHuman readable message
unique_model_uuidunique_model_uuidUUIDoptionalThe UUID of the Unique model (for internal use)
filenamefilenamestroptionalThe name of the model that was uploaded, for debugging purposes only
deleted_statusdeleted_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
sizesizeintoptional
partial_xxh64partial_xxh64stroptional
full_xxh64full_xxh64stroptional

ModelIdentifier#

PropertyJSONTypeDescription
typetypestrrequiredOne of UrlModelIdentifier, NodeModelIdentifier, VersionModelIdentifier.
namenamestroptionalName 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
ifc_project_guidifcProjectGuidstrrequired
filenamefilenamestrrequired
upload_date_time_utcuploadDateTimeUtcdatetimerequiredUTC timestamp.

ModelVersion#

PropertyJSONTypeDescription
uuiduuidUUIDoptionalThe UUID of this Version
node_uuidnode_uuidUUIDoptionalThe UUID of the Node this Version belongs to
versionversionintoptionalThe 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.
disciplinesdisciplinesList[Discipline]optionalMulti-label disciplines ordered by classification share, primary first; the single discipline field stays the primary for backwards compatibility
discipline_sourcediscipline_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
node_namenode_namestroptionalThe name of the Node this version belongs to. Redundant but for convenience.
created_oncreated_ondatetimeoptionalWhen this Version was created
created_bycreated_bystroptionalThe username of the user that created this Version
statusstatusVersionStatusoptionalOne of OK, ERROR.
deleted_statusdeleted_statusRecordStatusoptionalOne of ACTIVE, DELETED.
demo_lockeddemo_lockedbooloptionalPresent 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
bim_contextbim_contextstroptionalDeprecated
input_file_typeinput_file_typeInputFileTypeoptionalOne of IFC, E57, PDF, PLY_ASCII, LAZ, LAS, TEST, ZIP, BCF, UNKNOWN, FOLDER, GLB, GLTF, IFCX, DWG.
filenamefilenamestroptionalThe name of the uploaded file; absent for a Version made by a transaction
originoriginstroptionalHow 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.
transaction_uuidtransaction_uuidUUIDoptionalFor origin TRANSACTION, the transaction that made this Version
commentcommentstroptionalFor origin TRANSACTION, the comment of that transaction
model_uuidmodel_uuidUUIDoptionalThe UUID of the model record behind this Version, for internal use
unique_model_uuidunique_model_uuidUUIDoptionalThe UUID of the Unique Model, for internal use
alignmentalignmentList[float]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
geo_referencegeo_referenceGeoReferenceoptional
im_metadataim_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.
user_datauser_dataDict[str, object]optional

MoveNodeRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequiredThe UUID of the Node to move
target_parent_uuidtarget_parent_uuidUUIDrequiredThe UUID of the folder Node to move the Node to

Node#

PropertyJSONTypeDescription
uuiduuidUUIDoptionalThe UUID of this Node
parent_node_uuidparent_node_uuidUUIDoptionalThe UUID of the parent Node, can be null
has_loadable_childrenhas_loadable_childrenbooloptionalWhether this Node has children that can be loaded (can be used UI purposes)
read_accessread_accessbooloptionalWhether the current Token has read access to this Node
write_accesswrite_accessbooloptionalWhether the current Token has write access to this Node
noncenoncestroptionalCurrently not used
namenamestroptionalThe name of this Node
folderfolderbooloptionalWhether this Node is a folder or not
pathpathstroptionalThe full path of this Node from the current Root Node
levellevelintoptionalThe current level of this Node, indicating the depth of this Node compared to the Root Node
root_node_uuidroot_node_uuidUUIDoptionalThe 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.
demo_lockeddemo_lockedbooloptionalPresent 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.
last_versionlast_versionModelVersionoptional
tree_node_statustree_node_statusNodeStatusoptionalOne of NEW, UPLOADING, NONE, UNKNOWN, DONE, CHECKING_IN, INDEXING, PROCESSING, ERROR, RE_PROCESSING, PENDING.
last_version_uuidlast_version_uuidUUIDoptionalUUID of the latest Version, can be null for Nodes without active Versions
last_version_numberlast_version_numberintoptionalThe last version number (incremental id)
progressprogressfloatoptionalThe current progress on this Node, for example when there is an upload active. A percentage between 0-100 inclusive
processingprocessingintoptionalIndication of the number of uploads currently being processed on this Node and all sub nodes
created_bycreated_bystroptionalUsername of the user that created this Node
created_oncreated_ondatetimeoptional
versionsversionsList[ModelVersion]optional
errorserrorsList[ModelError]optional
input_file_typeinput_file_typeInputFileTypeoptionalOne of IFC, E57, PDF, PLY_ASCII, LAZ, LAS, TEST, ZIP, BCF, UNKNOWN, FOLDER, GLB, GLTF, IFCX, DWG.
user_datauser_dataDict[str, object]optional

NodeModelIdentifier#

PropertyJSONTypeDescription
uuiduuidUUIDrequired
recursiverecursivebooloptional

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
typetypestrrequired
ididintrequired
uuiduuidUUIDrequired
check_resultcheckResultCheckResultStatusrequiredOverall result status. One of SUCCESS, WARNING, ERROR, INFO, SKIPPED.
resolved_actionsresolvedActionsResolvedActionsrequiredWhat 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.
object_infosobjectInfosList[ObjectInfo]required
model_infomodelInfoModelInforequired
cameracameraCamerarequired
multiplier_to_mmmultiplierToMmfloatrequiredUnit multiplier to millimeters.
center_mmcenterMmVector3required
isolateisolateboolrequired
has_geometryhasGeometryboolrequired
overlaysoverlaysList[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
qidqidstrrequiredQualified object identifier.
namenamestrrequired
long_namelongNamestrrequired
global_idglobalIdstrrequired
nice_typeniceTypestrrequired

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
bqlbqlstroptionalA BQL query (or a bare boolean expression) whose result objects are the visible set. Objects outside it are absent from the output.
bql_uuidbql_uuidUUIDoptionalA stored BQL query used instead of bql.
bvlbvlstroptionalA BVL script - SHOW/HIDE, COLOR, label(), annotate(text()), VIEWFIT. Actions that only mean something in the interactive viewer are ignored.
bvl_uuidbvl_uuidUUIDoptionalA stored BVL script used instead of bvl.
parametersparametersDict[str, object]optionalValues for the $name parameters of bql and bvl.
highlighthighlightDict[str, List[int]]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
uuiduuidUUIDoptional
namenamestroptional
created_atcreated_atstroptional
created_bycreated_bystroptional
primary_domain_nameprimary_domain_namestroptional
root_node_uuidroot_node_uuidUUIDoptional
statusstatusstroptionalOne of ACTIVE, DELETED.
self_registration_enabledself_registration_enabledbooloptional

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
versionversionintrequired
bindbindOverlayBindingrequired
layerslayersList[OverlayLayer]required

OverlayAreaItem#

PropertyJSONTypeDescription
typetypestrrequired
ididstrrequired
rolerolestroptional
colorcolorstroptional
depthdepthstroptional
qidsqidsList[str]optional
labellabelstroptional
label_showlabelShowstroptional
tooltiptooltipstroptional
viewsviewsList[str]optional
storeystoreystroptional
polygonspolygonsList[OverlayAreaItemAllOfPolygons]optional
circlescirclesList[OverlayAreaItemAllOfCircles]optional
zzfloatoptional
planeplaneOverlayAreaItemAllOfPlaneoptional
liftliftfloatoptional
stylestyleOverlayAreaItemAllOfStyleoptional

OverlayAreaItemAllOfCircles#

PropertyJSONTypeDescription
centercenterList[float]required
radiusradiusfloatrequired

OverlayAreaItemAllOfPlane#

PropertyJSONTypeDescription
originoriginList[float]required
x_axisxAxisList[float]required
normalnormalList[float]required

OverlayAreaItemAllOfPolygons#

PropertyJSONTypeDescription
outerouterList[float]required
holesholesList[List[float]]optional

OverlayAreaItemAllOfStyle#

PropertyJSONTypeDescription
fillfillfloatoptional
outlineoutlinebooloptional
hatchhatchstroptional

OverlayArrowItem#

PropertyJSONTypeDescription
typetypestrrequired
ididstrrequired
rolerolestroptional
colorcolorstroptional
depthdepthstroptional
qidsqidsList[str]optional
labellabelstroptional
label_showlabelShowstroptional
tooltiptooltipstroptional
viewsviewsList[str]optional
storeystoreystroptional
originoriginList[float]required
directiondirectionList[float]required
lengthlengthfloatoptional
sizesizestroptional
head_lengthheadLengthfloatoptional

OverlayBinding#

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

OverlayItem#

PropertyJSONTypeDescription
typetypestrrequired
ididstrrequired
rolerolestroptional
colorcolorstroptional
depthdepthstroptional
qidsqidsList[str]optional
labellabelstroptional
label_showlabelShowstroptional
tooltiptooltipstroptional
viewsviewsList[str]optional
storeystoreystroptional
originoriginList[float]required
directiondirectionList[float]required
lengthlengthfloatoptional
sizesizestroptional
head_lengthheadLengthfloatoptional
polygonspolygonsList[OverlayAreaItemAllOfPolygons]optional
circlescirclesList[OverlayAreaItemAllOfCircles]optional
zzfloatoptional
planeplaneOverlayAreaItemAllOfPlaneoptional
liftliftfloatoptional
stylestyleOverlayPathItemAllOfStyleoptional
atatList[float]required
texttextstrrequired
pointspointsList[float]required
directeddirectedbooloptional
arrowsarrowsOverlayPathItemAllOfArrowsoptional
stationsstationsOverlayPathItemAllOfStationsoptional
marksmarksList[OverlayPathItemAllOfMarks]optional
segment_rolessegmentRolesList[List[object]]optional

OverlayItemCommon#

PropertyJSONTypeDescription
typetypestrrequired
ididstrrequiredUnique within the overlay.
rolerolestroptionalSemantic role, mapped to the design-system palette by the viewer. One of route, hazard, warning, ok, info, area, neutral.
colorcolorstroptionalOverrides the role colour.
depthdepthstroptionalOne of test, ghost, always.
qidsqidsList[str]optionalRelated model objects.
labellabelstroptional
label_showlabelShowstroptionalWhen 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.
tooltiptooltipstroptional
viewsviewsList[str]optional
storeystoreystroptionalStorey qid hint for the 2D viewer.

OverlayLabelItem#

PropertyJSONTypeDescription
typetypestrrequired
ididstrrequired
rolerolestroptional
colorcolorstroptional
depthdepthstroptional
qidsqidsList[str]optional
labellabelstroptional
label_showlabelShowstroptional
tooltiptooltipstroptional
viewsviewsList[str]optional
storeystoreystroptional
atatList[float]required
texttextstrrequired

OverlayLayer#

PropertyJSONTypeDescription
ididstrrequired
namenamestroptional
visiblevisiblebooloptional
itemsitemsList[OverlayItem]required

OverlayPathItem#

PropertyJSONTypeDescription
typetypestrrequired
ididstrrequired
rolerolestroptional
colorcolorstroptional
depthdepthstroptional
qidsqidsList[str]optional
labellabelstroptional
label_showlabelShowstroptional
tooltiptooltipstroptional
viewsviewsList[str]optional
storeystoreystroptional
pointspointsList[float]required
liftliftfloatoptional
directeddirectedbooloptional
stylestyleOverlayPathItemAllOfStyleoptional
arrowsarrowsOverlayPathItemAllOfArrowsoptional
stationsstationsOverlayPathItemAllOfStationsoptional
marksmarksList[OverlayPathItemAllOfMarks]optional
segment_rolessegmentRolesList[List[object]]optional

OverlayPathItemAllOfArrows#

PropertyJSONTypeDescription
spacingspacingfloatrequired

OverlayPathItemAllOfMarks#

PropertyJSONTypeDescription
atatfloatrequired
kindkindstroptional
labellabelstroptional

OverlayPathItemAllOfStations#

PropertyJSONTypeDescription
intervalintervalfloatrequired
labelslabelsbooloptional

OverlayPathItemAllOfStyle#

PropertyJSONTypeDescription
kindkindstroptional
radiusradiusfloatoptional
smoothsmoothstroptional

ParseQueryRequest#

PropertyJSONTypeDescription
queryquerystrrequiredThe BQL query
parametersparametersDict[str, Optional[object]]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
resolved_actionsresolvedActionsResolvedActionsoptionalWhat 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.
overlaysoverlaysList[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.
record_versionrecordVersionintoptional2 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.
robust_boundsrobustBoundsBoundingBoxoptionalThe 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).
outlier_shareoutlierSharefloatoptionalThe share of the points outside robustBounds, from 0 to 1
scansscansList[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
namenamestroptionalThe scan's name, when the file gives one
guidguidstroptionalThe scan's GUID, when the file gives one
positionpositionList[float]optionalThe scanner's position (x, y, z) in mm; the origin when the scan has no pose
rotationrotationList[float]optionalThe scanner's rotation as a unit quaternion (x, y, z, w); the identity when the scan has no pose
pointspointsintoptionalThe number of points the scan declares, or -1 when unknown

PublishWorkspaceRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequiredThe workspace
publishpublishbooloptionalPublish (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
itemitemintoptionalThe 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
aliasaliasstrrequiredThe AS alias of the item, null without one
sourcesourcestroptionalThe item as BQL text, without its alias
labellabelstroptionalThe header to show, the alias or else the text
pathpathList[str]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)
kindkindstroptionalThe feature family, for styling (attribute, property, quantity, calculated, type, ...)
aggregateaggregatestroptionalThe aggregate's keyword (COUNT, SUM, COLLECT, ...), on an aggregate column
unitunitstroptionalThe unit of the item's UNIT clause, as written
group_keygroupKeybooloptionalTrue for a group key of a grouped result
hiddenhiddenbooloptionalTrue for an item the workspace's feature visibility hides; it has no values
addedaddedbooloptionalTrue for an entry the server added rather than the query
columnscolumnsList[QueryColumn]optionalThe items inside a relation, or the features of a COLLECT, relative to one element of this column's value

QueryRequest#

PropertyJSONTypeDescription
modelsmodelsList[ModelIdentifier]optionalModels to query, by Version or Node identifier (a Node stands for its latest Version). An empty model set validates the query instead
queryquerystroptionalThe query, in BQL. Pass either query or action_uuid
action_uuidaction_uuidUUIDoptionalA stored query (BQL) action to run instead of query
action_versionaction_versionintoptionalThe version of the stored action to run; its current version when absent
formatformatstroptionalAbsent, 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.
parametersparametersDict[str, Optional[object]]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
virtual_featuresvirtual_featuresobjectoptionalThe 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}
force_get_qidforce_get_qidbooloptionalFormat json; add the qid of each object to its record, also when the query does not GET it
columnscolumnsbooloptionalFormat 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
alias_keysalias_keysbooloptionalFormat 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
filenamefilenamestroptionalThe file name of the Content-Disposition, for the formats csv, xlsx, ifc and ifcxml
colorscolorsDict[str, List[float]]optionalFormats ifc and ifcxml; the objects' colours, written as IfcStyledItems
bvlbvlstroptionalFormats 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
compressioncompressionintoptionalOutput 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.
group_pathgroupPathList[int]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.
group_keysgroupKeysList[str]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
group_levelgroupLevelintoptionalOptional validation aid for groupPath and groupKeys: must equal the number of their entries (the nesting level of the returned groups)

ReattachLinkRequest#

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

RecordStatus#

Values: ACTIVE, DELETED.

RecordUploadAsTransactionRequest#

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

RecordUploadAsTransactionResult#

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

ReferenceValue#

PropertyJSONTypeDescription
codecodestroptional
namenamestroptional

RegisterRequest#

PropertyJSONTypeDescription
usernameusernamestrrequiredThe e-mail address of the account
preferred_languagepreferred_languagestroptionalThe 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
viewviewstroptionalA 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
linkslinksList[LinkedDataLink]optionalThe new item's links, on the objects the old one is on from that Version
endedendedList[UUID]optionalThe old item's links ended from that Version (the older Versions keep them)
unlinkedunlinkedList[UUID]optionalThe old item's links made on that very Version, taken off
deleteddeletedbooloptionalThe old item was on that Version only and is deleted (restorable)

ReplaceLinkedDataSpec#

The request part of ReplaceLinkedData

PropertyJSONTypeDescription
item_uuiditem_uuidUUIDrequiredThe item to replace
from_version_uuidfrom_version_uuidUUIDrequiredThe 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
usernameusernamestrrequiredThe e-mail address of the account

RequestValidationEmailRequest#

PropertyJSONTypeDescription
usernameusernamestrrequiredThe e-mail address of the account

ResolveBvlRequest#

PropertyJSONTypeDescription
modelsmodelsList[ModelIdentifier]requiredThe models to resolve the script against. Version and Node identifiers (a Node stands for its latest Version); a URL identifier is refused
bvlbvlstrrequiredThe BVL script
parametersparametersDict[str, Optional[object]]optionalValues for the $name parameters of the script, by name
include_non_geometricinclude_non_geometricbooloptionalWhether 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
forceforceboolrequiredVisibility, pickability and section changes override what the viewer's user set by hand
showshowDict[str, List[int]]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.
hidehideDict[str, List[int]]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.
selectselectDict[str, List[int]]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.
unselectunselectDict[str, List[int]]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.
view_fitviewFitDict[str, List[int]]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.
view_fit_optionsviewFitOptionsResolvedActionsViewFitOptionsoptionalThe 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.
colorcolorDict[str, Dict[str, List[int]]]optionalThe new colour of objects: hex colour #rrggbbaa (the alpha byte is the opacity) to the objects that get it
color_resetcolorResetDict[str, List[int]]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.
labelslabelsList[Dict[str, object]]optionalTexts shown next to objects (BVL label), one entry per object with its qid and its labels
annotationsannotationsList[Dict[str, object]]optionalAnnotations placed at objects (BVL annotate), one entry per object with its qid and its annotations

ResolvedActionsTransition#

PropertyJSONTypeDescription
durationdurationintrequired
easingeasingstroptional

ResolvedActionsViewFitOptions#

PropertyJSONTypeDescription
durationdurationintoptional
var_fromfromstroptional
marginmarginintoptional

RestoreLinkedDataRequest#

PropertyJSONTypeDescription
item_uuidsitem_uuidsList[UUID]required

RestoreLinkedDataResult#

PropertyJSONTypeDescription
restoredrestoredList[UUID]optional

SchemaConversionReportRequest#

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

PropertyJSONTypeDescription
typetypestrrequiredThe kind of model identifier. One of UrlModelIdentifier, NodeModelIdentifier, VersionModelIdentifier.
namenamestroptionalName of the model, see ModelIdentifier
uuiduuidUUIDoptionalThe UUID of the Version (VersionModelIdentifier) or of the Node (NodeModelIdentifier)
urlurlstroptionalThe URL of the model (UrlModelIdentifier)
target_schematarget_schemastroptionalOnly for a converted download, the schema it was converted to
formatformatstroptionaljson 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
reportreportDict[str, object]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
detail_logdetail_logbooloptionalWhether this conversion has a detail log

SchemaConversionSummary#

The numbers of one schema conversion

PropertyJSONTypeDescription
var_fromfromstroptionalThe schema of the model
totostroptionalThe schema it was converted to
rule_set_versionrule_set_versionintoptionalThe version of the conversion rules
statusstatusstroptionalOne of COMPLETED, COMPLETED_WITH_LOSS, FAILED.
losseslossesintoptionalThe number of findings about information that was lost
additionsadditionsintoptionalThe number of findings about information that was added
by_severityby_severityDict[str, int]optionalThe number of findings per severity
by_rule_typeby_rule_typeDict[str, int]optionalThe number of findings per category, for example schemaconv.loss
objectsobjectsSchemaConversionSummaryObjectsoptionalWhat became of the objects of the model
detail_log_completedetail_log_completebooloptionalWhether the detail log holds every finding

SchemaConversionSummaryObjects#

PropertyJSONTypeDescription
sourcesourceintoptional
kept_same_oid_same_typekept_same_oid_same_typeintoptional
kept_same_oid_retypedkept_same_oid_retypedintoptional
inlinedinlinedintoptional
droppeddroppedintoptional
createdcreatedintoptional
targettargetintoptional

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
kindkindstroptionalWhat the credential is. One of account, api_token, delegated, workspace, anonymous_token, anonymous, system, oauth, ops.
usernameusernamestroptionalThe account (or, for an API token, the account that created it)
expiresexpiresdatetimeoptionalWhen the credential expires (UTC)
scopesscopesList[str]optionalThe scopes it grants; absent when it is unscoped
root_node_uuidroot_node_uuidUUIDoptionalThe Node it is rooted at; absent for a nodes or versions token, which has none
node_uuidsnode_uuidsList[UUID]optionalFor a nodes token (CreateNodesToken), the Nodes it names
version_uuidsversion_uuidsList[UUID]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
uuiduuidUUIDoptional
usernameusernamestroptional
organization_uuidorganization_uuidUUIDoptional
typetypestroptionalOne of USER, SUPER_ADMIN.

SetComparePairOverrideRequest#

PropertyJSONTypeDescription
left_version_uuidleft_version_uuidUUIDrequired
right_version_uuidright_version_uuidUUIDrequired
kindkindstrrequiredOne of pair, removed, added.
left_oidleft_oidintoptionalThe left object (pair, removed)
right_oidright_oidintoptionalThe right object (pair, added)
notenotestroptional

SetGeoReferenceRequest#

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

SignOutOtherSessionsRequest#

PropertyJSONTypeDescription
response_formatresponse_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
matched_inmatched_instroptionalOne of VALUE, NAME.
kindkindstroptional
setsetstroptional
namenamestroptional
typetypestroptional
indirectindirectbooloptional
countcountintoptional
qidsqidsList[str]optional
qids_completeqids_completebooloptional

TextSearchRequest#

PropertyJSONTypeDescription
modelsmodelsList[ModelIdentifier]requiredThe models, by Version or Node identifier
queryquerystrrequiredThe words to find
fuzzyfuzzybooloptionalAllow small spelling differences
max_editsmax_editsintoptionalFor fuzzy: the number of edits allowed (1 when 0 or absent)
prefixprefixbooloptionalMatch the start of words
search_valuessearch_valuesbooloptionalSearch the values
search_namessearch_namesbooloptionalSearch the names
kindkindstroptionalOnly this kind of feature. One of attribute, property, quantity, classification, material, layer.
setsetstroptionalOnly this property or quantity set
namenamestroptionalOnly this feature name
typetypestroptionalOnly objects of this IFC type
max_qids_per_groupmax_qids_per_groupintoptionalAt most this many qids per group; negative for all

TextSearchResult#

PropertyJSONTypeDescription
queryquerystroptional
groupsgroupsList[TextSearchGroup]optional

TextToActionRequest#

PropertyJSONTypeDescription
inputinputstrrequiredWhat the action should do, in a sentence; any language the model understands
modelsmodelsList[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
languagelanguagestroptionalRequire 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
languagelanguagestrrequiredThe language of `query`, and so the call that runs it: BQL with Query, BVL with ResolveBvl, BCL with Check. One of BQL, BVL, BCL.
queryquerystrrequiredThe action's code, formatted
main_typemain_typestrrequiredThe action type as the actions tree stores it (QUERY3, BVL, CHECK3), to save the answer as an action
descriptiondescriptionstroptionalThe input text, as the description of the action
output_shapeoutput_shapestroptionalFor 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)
input_arche_typeinput_arche_typestroptionalFor a query, the kind of input it runs on (ONE_SET_OF_QIDS)

TilesSettings#

PropertyJSONTypeDescription
bqlbqlstroptional
bql_uuidbql_uuidUUIDoptional
bvlbvlstroptional
bvl_uuidbvl_uuidUUIDoptional
parametersparametersDict[str, object]optional
highlighthighlightDict[str, List[int]]optional
undulateundulatebooloptional
fullfullbooloptional
visibilityvisibilityList[TilesSettingsAllOfVisibility]optional

TilesSettingsAllOfVisibility#

PropertyJSONTypeDescription
actionactionstroptional
queryquerystroptional

TopLevelResults#

PropertyJSONTypeDescription
check_java_classcheckJavaClassstrrequired
check_resultscheckResultsCheckResultsrequired
overall_resultoverallResultCheckResultStatusoptionalOverall 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
update_indexupdate_indexintoptionalThe index of this update within the transaction, in source order
operationoperationstroptionalOne of SET, DEL, DELETE_OBJECT, TRANSFORM_OBJECT, SET_GEOREFERENCE, REMOVE_GEOREFERENCE.
featurefeaturestroptionalThe 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"
georeferencegeoreferenceDict[str, object]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
warningswarningsList[str]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
valuevaluestroptionalDry 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)
matched_countmatched_countintoptionalHow many objects the WHERE clause matched
changed_countchanged_countintoptionalHow 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
created_countcreated_countintoptionalCommit summary only. How many objects the update created
deleted_countdeleted_countintoptionalHow many objects the update deleted (roots plus emptied relationships and sole-reference cascade, such as property sets and representations)
statement_indexstatement_indexintoptionalDry 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
statement_linesstatement_linesList[int]optionalDry run with include_oids only. The first and last line (from 1) of that statement within its BUL string
matched_oidsmatched_oidsList[int]optionalDry run with include_oids only. The objects the WHERE clause matched, sorted ascending. Left out when the result has oids_truncated
changed_oidschanged_oidsList[int]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
uuiduuidUUIDrequiredThe action

UndeleteNodeRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequiredThe UUID of the Node to restore

UnlinkDataRequest#

PropertyJSONTypeDescription
link_uuidslink_uuidsList[UUID]required

UnlinkDataResult#

PropertyJSONTypeDescription
unlinkedunlinkedList[UUID]optional
items_deleteditems_deletedList[UUID]optionalThe items deleted because they lost their last link

UpdateActionRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequiredThe action
namenamestroptionalThe new name
queryquerystroptionalThe new text
descriptiondescriptionstroptionalThe new description
output_hintoutput_hintstroptionalOne of VIEWER_3D, VIEWER_2D, JSON_VIEW, TABLE_VIEW, POPUP_VIEW, TAKEOFF.
favouritefavouritebooloptionalFavourite or not
save_modesave_modestroptionalOne of NEW_VERSION, OVERWRITE.
save_commentsave_commentstroptionalWhat changed, for the version history
base_versionbase_versionintoptionalThe version the change was made on

UpdateApiTokenRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequiredThe token
namenamestroptionalThe name of the token
scopesscopesList[str]optionalThe scopes the token grants, as wire names (fs:read, model:upload, ...). A scoped caller can grant no more than it has itself
expires_onexpires_onstroptionalWhen 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
cors_enabled_domainscors_enabled_domainsList[str]optionalThe browser origins that may use the token, with only_cors_enabled_addresses
only_cors_enabled_addressesonly_cors_enabled_addressesbooloptionalRefuse calls from other origins than cors_enabled_domains
white_listed_ip_addresseswhite_listed_ip_addressesList[str]optionalThe client addresses that may use the token, with only_white_listed_ip_addresses
only_white_listed_ip_addressesonly_white_listed_ip_addressesbooloptionalRefuse calls from other addresses than white_listed_ip_addresses
rotate_secretrotate_secretbooloptionalReplace the secret; the new one is answered once in token. Needs tokens:issue as well; an API token replaces only its own

UpdateLinkedDataRequest#

PropertyJSONTypeDescription
item_uuiditem_uuidUUIDrequired
row_versionrow_versionintrequiredThe row_version of the item as you read it
titletitlestroptional
descriptiondescriptionstroptional
categorycategorystroptionalOne of the policy's categories
valid_untilvalid_untilstroptionalA date, yyyy-mm-dd
identifier_systemidentifier_systemstroptionalOnly for an IDENTIFIER item

UpdateNodeRequest#

PropertyJSONTypeDescription
pathpathstroptionalThe path to the Node from the current Root Node. Use forward slashes to separate Nodes
uuiduuidUUIDoptionalThe UUID of the Node to get information about
version_uuidversion_uuidUUIDoptionalThe UUID of a Version (convenience method)
namenamestroptionalA new name for the Node, optional
user_datauser_dataDict[str, Optional[object]]optionalUser defined data, optional

UpdateVersionRequest#

PropertyJSONTypeDescription
version_uuidversion_uuidUUIDrequiredThe Version
disciplinesdisciplinesList[Discipline]optionalThe disciplines, primary first; [] clears them
alignmentalignmentList[float]optional16 numbers, column-major, the translation in millimetres
clearclearList[str]optionalFields to remove

UpdateWorkspaceRequest#

PropertyJSONTypeDescription
uuiduuidUUIDrequiredThe workspace
namenamestroptionalThe new name
scopesscopesList[str]optionalWhat a visitor may do, as scope wire names; unscoped (or the parent's) when null
filterfilterstroptionalA BQL condition that limits the objects a visitor sees
load_all_models_initiallyload_all_models_initiallybooloptionalLoad every model when a visitor opens it
current_spacecurrent_spaceDict[str, object]optional{get_clause, label_template}: how the web app names the space a visitor is in
feature_visibilityfeature_visibilityDict[str, object]optional{mode: allow | deny, features: [...]}: the features a visitor sees
sub_pathsub_pathstroptionalFor a sub-workspace: the folder in its parent's actions that becomes its own
clearclearList[str]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
ididstroptionalYour own name for the text, given back with its result
languagelanguagestrrequiredOne of BQL, BVL, BCL.
texttextstrrequiredThe text as 2.x accepted it

UpgradeSyntaxRequest#

PropertyJSONTypeDescription
inputsinputsList[UpgradeSyntaxInput]required

UpgradeSyntaxResponse#

PropertyJSONTypeDescription
resultsresultsList[UpgradeSyntaxResult]optional

UpgradeSyntaxResult#

The 3.0 form of one input

PropertyJSONTypeDescription
ididstroptionalThe input's id, when it had one
languagelanguagestroptionalOne of BQL, BVL, BCL.
statusstatusstroptional`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.
texttextstroptionalThe text to use in 3.0
changeschangesList[str]optionalThe changes made, in order, such as IN → UNIT and length → "length"; empty unless REWRITTEN
errorerrorstroptionalOnly 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
urlurlstrrequired

UserFeatureState#

PropertyJSONTypeDescription
namenamestroptional
titletitlestroptional
descriptiondescriptionstroptional
urlurlstroptional
developer_onlydeveloper_onlybooloptional
enabledenabledbooloptional

ValidateEmailAddressRequest#

PropertyJSONTypeDescription
usernameusernamestrrequiredThe e-mail address of the account
tokentokenstrrequiredThe token from the validation e-mail
passwordpasswordstrrequiredThe password to set

ValidationReportResult#

PropertyJSONTypeDescription
summarysummaryDict[str, object]optionaloverall, aborted, bySeverity, byRuleType, stages, truncated
reportreportDict[str, object]optionalPer stage: status, timing and the findings
pendingpendingList[str]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
max_findings_per_rulemax_findings_per_ruleintoptional0 for no limit
max_findings_totalmax_findings_totalintoptional0 for no limit
report_indeterminatereport_indeterminatebooloptional
include_rulesinclude_rulesList[str]optional

Vector3#

PropertyJSONTypeDescription
xxfloatrequired
yyfloatrequired
zzfloatrequired

VectorView#

The orthographic view of a vector drawing.

PropertyJSONTypeDescription
viewviewstroptionalOne of top, bottom, front, back, left, right.
directiondirectionVector3optional
cutcutfloatoptionalCut 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.
cut_fractioncut_fractionfloatoptionalCut as a fraction through the bulk of the visible geometry (0.5 = mid height); resolved to millimetres server-side.
sizesizeintoptionalResolution of the visibility raster.
jitterjitterintoptionalJittered passes of the visibility raster.
hairlinehairlinebooloptionalEvery line one screen pixel wide at any zoom (vector-effect non-scaling-stroke) instead of a width relative to the drawing.

VersionChange#

PropertyJSONTypeDescription
version_uuidversion_uuidUUIDoptional
versionversionintoptional
previous_version_uuidprevious_version_uuidUUIDoptional
previous_versionprevious_versionintoptional
statusstatusstroptional`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.
result_uuidresult_uuidUUIDoptional
countscountsCompareCountsoptional
errorerrorstroptional

VersionChangesResult#

PropertyJSONTypeDescription
versionsversionsList[VersionChange]optional
version_uuidversion_uuidUUIDoptional
versionversionintoptional
previous_version_uuidprevious_version_uuidUUIDoptional
previous_versionprevious_versionintoptional
statusstatusstroptional
result_uuidresult_uuidUUIDoptional
countscountsCompareCountsoptional
errorerrorstroptional

VersionModelIdentifier#

PropertyJSONTypeDescription
uuiduuidUUIDrequired

VersionStatus#

Values: OK, ERROR.

VersionTag#

Values: DEMO.

Workspace#

PropertyJSONTypeDescription
uuiduuidUUIDoptional
namenamestroptional
created_bycreated_bystroptional
created_oncreated_onstroptional
record_statusrecord_statusstroptionalOne of ACTIVE, DELETED.
parent_workspace_uuidparent_workspace_uuidUUIDoptional
publish_uuidpublish_uuidUUIDoptionalThe share link, when published
filterfilterstroptional
scopesscopesList[str]optional
settingssettingsDict[str, object]optional
effective_root_nodeeffective_root_nodeUUIDoptional
activeactivebooloptional
childrenchildrenList[Workspace]optional