Add a model note to a document's 3D model.
Leaves a note at position (x, y, z in model space), optionally on an object (object_viewer_key, object_external_key, object_name), with a title, text, status (open, in_progress or resolved) and metadata (up to 20 text values; a saved camera goes under model_viewer_camera_v1, up to 8192 characters). The note belongs to the model revision it is made on. Needs Create Model Markups and read access to a model document; open viewers are told. The note is shown with View Model Markups, otherwise the answer is the write receipt.
| |
|---|
| Scope | annotations:write |
| Asynchronous | No |
| MCP tool | create_document_model_note |
| Portal permissions | create_model_markups |
Parameters
| Name | In | Type | Required | Description |
|---|
document_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
Idempotency-Key | header | string | Optional | max 255 |
Request body
Responses
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
ModelNote
| Field | Type | Required | Description |
|---|
can_edit | boolean | Required | Whether you made the note, so you may change or delete it. |
created_at | string (date-time) or null | Required | |
created_by | UserRef | Required | |
document_id | string | Required | |
metadata | object | Required | Text values; the saved camera is the key model_viewer_camera_v1. |
model_note_id | string | Required | |
note_text | string | Required | |
object_external_key | string or null | Required | The object's identifier in the model file (an IFC GlobalId, for one). |
object_name | string or null | Required | |
object_viewer_key | string or null | Required | The viewer's database key of the object the note is on. |
position | ModelNotePosition | Required | |
source_file_hash | string | Required | The model revision the note was made on. |
status | string: open, in_progress, resolved or string | Required | |
title | string | Required | |
updated_at | string (date-time) or null | Required | |
| Field | Type | Required | Description |
|---|
metadata | object | Optional | Up to 20 text values; none when absent. |
note_text | string or null | Optional | Up to 10,000 characters; empty when absent. |
object_external_key | string or null | Optional | Up to 512 characters. |
object_name | string or null | Optional | Up to 512 characters. |
object_viewer_key | string or null | Optional | |
position | ModelNotePositionInput | Required | A point in model space. |
status | string: open, in_progress, resolved or null | Optional | open when absent. |
title | string | Required | 1 to 160 characters. |
ModelNotePosition
| Field | Type | Required | Description |
|---|
x | number | Required | |
y | number | Required | |
z | number | Required | |
| Field | Type | Required | Description |
|---|
x | number | Required | |
y | number | Required | |
z | number | Required | |
UserRef
| Field | Type | Required | Description |
|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required | |