Dataset.add_note¶
Add a text note to this dataset.
Signature¶
add_note(content: str) -> dict[str, Any]
Parameters¶
| Name | Type | Required | Default |
|---|---|---|---|
content |
str |
yes | - |
HTTP parameters¶
| Name | In | Type | Required | Default |
|---|---|---|---|---|
dataset_id |
path |
string |
yes | - |
Fields¶
Schema: DatasetNoteCreateSchema
| Field |
|---|
content |
Return shape¶
HTTP 201 — Created
Schema: DatasetNoteSchema
| Field | Type | Required |
|---|---|---|
author_id |
string |
no |
author_name |
string |
no |
content |
string |
yes |
created_at |
string |
yes |
id |
string |
yes |
updated_at |
string |
yes |
Permission¶
Required permission: dataset:update
HTTP¶
POST /api/datasets/{id}/notes/ (createDatasetNote)
Usage¶
ds.add_note("Anomaly detected at 2.4 GHz — possible connector issue")