Create note
Add a note to an item, or a standalone note.
POST https://cotlet.dev/api/v1/zotero/notes
write
With parent_item_key the note becomes a child note of that item; without it, a standalone note appears next to the other items. It never changes the item or its PDF, reaches nobody and runs without asking first. Move Item(s) to Trash… in Zotero removes it.
Parameters
| Name | Type | Description |
|---|---|---|
| parent_item_key string | string | Attach the note to this item. Omit for a standalone note. |
| note string required | string | Note text. |
| collection_key string | string | For a standalone note: put it in this collection. |
Request
curl -X POST https://cotlet.dev/api/v1/zotero/notes \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"parent_item_key":"H6R2VB5D","note":"Yellow (claims): p. 4 \"Attention cost grows linearly with window size.\" p. 9 \"Recall holds up to 64k tokens.\" Red (doubts): p. 12 \"Evaluation uses one dataset.\""}' result = client.call("zotero", "create_note", {"parent_item_key":"H6R2VB5D","note":"Yellow (claims): p. 4 \"Attention cost grows linearly with window size.\" p. 9 \"Recall holds up to 64k tokens.\" Red (doubts): p. 12 \"Evaluation uses one dataset.\""}) const result = await cotlet.call('zotero', 'create_note', {"parent_item_key":"H6R2VB5D","note":"Yellow (claims): p. 4 \"Attention cost grows linearly with window size.\" p. 9 \"Recall holds up to 64k tokens.\" Red (doubts): p. 12 \"Evaluation uses one dataset.\""}); cotlet call zotero create_note --data '{"parent_item_key":"H6R2VB5D","note":"Yellow (claims): p. 4 \"Attention cost grows linearly with window size.\" p. 9 \"Recall holds up to 64k tokens.\" Red (doubts): p. 12 \"Evaluation uses one dataset.\""}' Example response
{
"note_key": "T3P6YK8R",
"parent_item_key": "H6R2VB5D",
"created_at": "2026-10-16T09:00:00+02:00"
}