Tag note

Add or remove a tag on a bullet.

POST https://cotlet.dev/api/v1/remnote/notes/{note_id}/tag

write

Adds a tag to a bullet, or removes it when remove is true. The tag has to exist in your knowledge base already; the call fails with the tag name instead of creating a new one. It changes only your own notes and is undone by calling it again with remove set the other way, so it does not ask first.

Parameters

Parameters: tag_note
NameTypeDescription
note_id string required string Bullet ID from search_notes or get_document.
tag string required string Existing tag name, without ##.
remove boolean boolean true removes the tag. Default: false.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/remnote/notes/note_8c41d2/tag \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tag":"tag"}'
Python
result = client.call("remnote", "tag_note", {"note_id":"note_8c41d2","tag":"tag"})
Node.js
const result = await cotlet.call('remnote', 'tag_note', {"note_id":"note_8c41d2","tag":"tag"});
CLI
cotlet call remnote tag_note --data '{"note_id":"note_8c41d2","tag":"tag"}'

Example response

JSON

{
  "document_id": "rem_91ab02",
  "tag": "ToRead",
  "status": "tagged"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.