Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

docs: better api docs (#2530)

Mohamed Bassemdd2c6cc08721
diff --git a/docs/docs/api/_category_.json b/docs/docs/api/_category_.json
index 695d9dbe..49c10f38 100644
--- a/docs/docs/api/_category_.json
+++ b/docs/docs/api/_category_.json
@@ -1 +1 @@
-{ "label": "API", "position": 9 }
+{ "label": "API" }
diff --git a/docs/docs/api/add-a-bookmark-to-a-list.api.mdx b/docs/docs/api/add-a-bookmark-to-a-list.api.mdx
deleted file mode 100644
index a7c43463..00000000
--- a/docs/docs/api/add-a-bookmark-to-a-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: add-a-bookmark-to-a-list
-title: "Add a bookmark to a list"
-description: "Add the bookmarks to a list"
-sidebar_label: "Add a bookmark to a list"
-hide_title: true
-hide_table_of_contents: true
-api: eJy9VE1v00AQ/SurOYG01C0qovItHJAKCFWQikPkw8SexNvY3u3uuE2w9r+jsU2ctKFcEL7Yu56PN2/eTAcFhdwbx8Y2kMKsKBSXpJbWbmr0m6DYKlSVCQwaGNcB0gV8MYEDZBoC5a03vIN00cGS0JOftVxCushipsGhx5qYfOgNQl5SjZB2wDtHkEJgb5o1aKAt1q6SK0OmqLa7df14d/Xebn++K7fMNr+S7IZ7E8l+XUDU4Om+NZ4KSNm3pKHBWgyqwUCDkZIccglR/7P0H0ZqXoSwnIyOYGTiEZxtAgVB8vb8Ul7HTfhqVW4bpobVm6NuqEcMCouC+tSXp3yFHGX95NJYVivbNgJkjCpe6FxlchSv5C6I6wmC7PKOcmm889aRZzOAzm1Bz2mMGmoKAden/h0xtRgiTPZZlEfOXNpCyGr7rEJZCon0MyTd0NaY7LWZdBPNEUSN/uG31lpfQQodFoWnEGKCziQPF6DhAb3BZTVUMv4eaFxhWzGkUDK7kCYJ+93ZBj1uiNwZOgf6CdfzktQYQdlV36nPo70asECM8WBMvgvBQ+bDYdmzJZmljt5MVNQbgR4/PlpfoyD89GPeU2qalRV3qXqAdHF2fnZ+INY9ntnN9Un8s5trtbL+GLwUGzU4G7jGXhqjrGU94KStw91wFLqbpPa3lTJUzrTlxFVoGkncN68b+7/o5zmAhnQ/2PtYcnswa5mG0gYWp65bYqBbX8Uo1/cteVlT2aSAXieFCfJdQLrCKtALdbz6Ngr4tfoT7vESm10vtKqVE2jY0G5aS7KK/mPWA3ZiFjWUhAX5vvbBYJbn5PjA9dlqEAnvR/Pmdg4a8Fi4T4TaRz8Jq+sGi7ndUBPjHiXLWQDG+As6ID3T
-sidebar_class_name: "put api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Add a bookmark to a list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"put"}
- path={"/lists/{listId}/bookmarks/{bookmarkId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Add the bookmarks to a list
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - the bookmark was added"},"404":{"description":"List or bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/add-bookmark-to-list.api.mdx b/docs/docs/api/add-bookmark-to-list.api.mdx
new file mode 100644
index 00000000..09e02769
--- /dev/null
+++ b/docs/docs/api/add-bookmark-to-list.api.mdx
@@ -0,0 +1,71 @@
+---
+id: add-bookmark-to-list
+title: "Add a bookmark to a list"
+description: "Add a bookmark to a manual list. This operation is idempotent — adding an already-present bookmark has no effect."
+sidebar_label: "Add a bookmark to a list"
+hide_title: true
+hide_table_of_contents: true
+api: eJzFVm2LGzcQ/iuD8iUxe/alpDTsh4LTNnBNKEfio5SLwePVrFexVlIk7Z0ds9Af0V/YX1JG+2I7uaYtlPbT+bQzo2eemXlGB2EdeYzKmispcoFSvrB2W6PfLuxrFaLIhKRQeOXYRuRiLiUgrHsjiBYQajQNatAqxCksKhVgjAoqgJJUOxvJRPj9198ApVRmA2gAtSeU+wvnKfDXMWqFAYwFKksq4lRkIuImiPxWMKQglpkIVDRexb3Ibw9iTejJz5tYifx22S4z4dBjTZF8SAahqKhGkR9E3DsSuQjRK7P5LLlFRdAY9aEhBm2iKhV5sCXEirr0RCZoh7XTHEWRknq339T3759/Y3cfv652MdriOQNWMZkw4Csp2kx4+tAoT1Lk0TeUCYM1G+jOIBOKATiMlWizfwnxwOc/Rj30wBeRr49GZ+iX7BGcNYECJ/DV5TP+c477JwuFNWNPnKKFewzcJCS5uwbmITRFQSGUjdb7KcN6dvn087g3BptYWa8+khwjv0j9AdFuKTVkrUJQZpOBMneolczAeqCd4ySZqx5ZYp92ceY0cn5fqsqR3lMEom3bhPQBBrgz+N4xbWMjlLYxn0JA57Qq0jTN3gf7MBC7fk8FT6vzPHtRddwXVtJfN9EcaiwqZeiC5xHXmoC8tx7YPXFdUwi4+VuhqqZG82mg3n8q2rN+uu0AHuMvjz34AzsmAtP9sbIsUK5JSXKj5WLGjRFmh26G2tlAZZgdjs3ZClYLfzdoQeO1yMUBpfQUQjtDp2Z3T0Um7tArhpyI6z93ZSux0VHkoorRhXw2i34/3aLHLZGbonMPTmUfYZjFV709dFg4sRMZe8v17G4+FbORbb6Z80hmPHvJSGT9j5fW18gIf/x5kShWprTszll3kJ5OL6eXJyM+4plfX32Gf/yoAiAE0uVFZUNMBR2Y7TRcAlf6QsULjZF8yk4V1K+B+fUVoNb2PsDeNjzONRrcHIOELA13yIAVPoNKbSqtNhWfYAiU/hoJayy2jQvgvN14rGuMqkAWgnfmnXn0CJguVr9uTPhwrjWQkc4qEwP0LQd4rgWO75CgTCrRat4PbgqygopQkp/CL7aBAg1syPBWI15dnNmW9lB6W5/X957WcHMFjZHkYTJ5SzEqswnwbfJ5RfswmQywr3GjzAg5KcIRc2icsz5C0fhg/cUaGaobPeBOIay6j6tE0kqrWsUVfGjI7+G4ArkYBIMmgzKFbiRxZVeGdvG7PkSpSHeaybSAioCh42W4ZAzJlSwpFlX6zkEYGE1hDivTaL2CO9QNQWn9+R3KSK4RpcBcD0+86GvrE8BGxzBwM+wgWOwdBT4cTkKqxprAGurGyxMBT0rI35kLmEy0MtvJJOUyh5s3r092i4oV2NTnqKHweK9JQk0RJUacdu4s+qN7En/gI1Zo6k1Scw42BhqnLfLGKpUmeKxqbnLr4fr7l0+SgDobYo1Ju/v1+dBDSj/w4jocd8H/9fjqNOhkFbZZJ6OHXolv0zMmiEzk43tmHHE+PXkrLDPBWsJOhwM39Y3XbcvHqW/5BXfU4qTYUgX+LUVeog70BX4ev+lXyxP4M9z9IZp9knzd8H8iE1vaH19j/AL7D289YaddtpnohCfl3hnMi4JcPHE9jb48WY/XNwuRCTxfHp8sixT3QUCHQ2exYHFs2xFfEkuG1rZ/AKDKROU=
+sidebar_class_name: "put api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Add a bookmark to a list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"put"}
+ path={"/lists/{listId}/bookmarks/{bookmarkId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Add a bookmark to a manual list. This operation is idempotent — adding an already-present bookmark has no effect.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the list.","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — the bookmark was added to the list successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"List or bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/admin-update-user.api.mdx b/docs/docs/api/admin-update-user.api.mdx
new file mode 100644
index 00000000..efbaaad7
--- /dev/null
+++ b/docs/docs/api/admin-update-user.api.mdx
@@ -0,0 +1,71 @@
+---
+id: admin-update-user
+title: "Update a user (admin)"
+description: "Update a user's role, bookmark quota, storage quota, or browser crawling setting. Requires admin role. You cannot update your own user account via this endpoint."
+sidebar_label: "Update a user (admin)"
+hide_title: true
+hide_table_of_contents: true
+api: eJztV82OGzcMfhVCPTQxZm1vkl58KOD8AdvksE12ERSbRU2PaI9ijTTRz3pdY4A+RJ+wT1JQ82N77QRFkUuB+LBrSxRFfqTIj1thK3IYlDUXUkwEylKZ60pioGtPTmRCks+dqlhCTESzBQjRk/vRg7OaMphbuyrRreBztAEz8ME6XFL30zqYO7v25CB3uNbKLMFTCMosh/COPkflyEO6Oikcwm82Qo7G2ACxuXFjowO7NuliwDy30QS4UwihUB7IyMoqE4YiEwGXXkxuxJQVittMeMqjU2EjJjdbMSd05KYxFGJyc1vfZqJChyUFcj4J+LygEsVkK8KmIjERPjhllkdQXBUEFy/BLiAU1JgVbGsum0H3WFaaFfDe7+dPnoo6E65xV4pJcJEyYbDsRC6kyIRi1RWGQrBpLE0+PLdywwYdG7BQpKXfuximWner6AhskkYNf//5F1ijN1A5e6ckyU5qrbSGOUFeoFmSZNNzawKZwFdiVWmVpwQZffJ87wmE7PwT5UFkonKcTkGR512O5SkcycSSAxSbDMMmTnUmujz6lfNm76QygZZJ1kStcc5qG/hKZVTJ2sZ1Jtq0+4+n2xR90WboK8OSck/P3FpNaI701PXRK+FkaBNXYsD9bOhgad0+cvp8PB4/dOWncfep+cN54StrfAPzk/H4ODn2TJDgY56T94uo9eYbxrdVexKiQ2s+FBQKfiD8Uhpc1uj37BqK+uBx3PTKbxuPn51y8jlKaJ9Iym9l7lArCcpUMSTkufZgCFRWjEP/TPpK8g3RyK08me2HJk+hxLxQhs4coeQkAnLOOuDjQ64QJXmPy3+lqoglmoeK2vPHiCYDd/pvMxFUSKn4ig+KDujzE9lkMIbCOvUHyYQ0B/J5qqQQ7IoMKA+l8l6ZZdaFIRV+uq/4/gc4B7oPo0qjOo3wrlL0NXTfgt7Sp8eWvrZurqQkk8xsegqmTIIOi+8xP475sy9UEO7ACxvNd9AegJbuD4Vl0lTF5CQ37YkYpZwbcXHxo23T12vBJMTddRQjOi0mYotSOvK+HmGlRnfnIhN36BRbmHBqt5vILDDqICaiCKHyk9EouM1whQ5XRNUQq+okPWk1dBzlTSsPjS3sxx47es/ha27e50g9uHwz+5HEuNYnIW5g6ctr60pkC3/5cJUQ5bR4t+Mvr75RA2SKtLCshuFsfD0fjodjsQtT7+j08uIImH5TeUDwpBdnhfUhJUZnCjNUNNxcUJ6pcKYxkEuwqZyGcMWUc3p5Aai1XXsmp9xbSjTMejslPgOtfPAZMCPNoFDLQqtlwSvoPaX/RsIc81WsPBOzpcOyxKBy5E790Xw0P/wAHAcyoX1uvMgcr2O8fV0DPKzIFd/BvTDFfjZty2dSMoOCUJLrmTYsyfAcQIAmebaiDSycLQ8TZ01zuL6AaCQ5GAzeNyTew8/pzBva+MGgM/sSl8r0Jr9VPuzZ7GNVWRcgj85bdzZHNrXqTyRiP2s2ZwmkmValCjP4HMltYEfZORgEHR8CZXIdJU8TMDN0H160KhLXTS2BYQEVAH2DS3dJr5IjuaCQF2mflbBhzKxhxsRvBneoI8HCusM7lJEcI0qKOR6OwFgorUsGRh18h83zbmC62lTkebFb8SkacwJrqHm3jgj4CfrJR3MGg4FWZjUYJF+mcP3u7W76WqtQ7Ah/GrVIQkkBmQoNm+PcevvjqQUDL3Glp1YkJWcnYyBW2mIzMGiCR6rkJLcOLl++fpwKcWV9KDH1gHacORgT4VF66Y8fvsTtrqH8P+bKpg7ucZc6a0r5ti3+N31NS+VfZGLSDna3meAiwyLbLWf7tdN1zcspoXkU3VX/1COk8u0AskDt6SvYPWpdlY/hS1a2i2g2qcnoyL9EJla02Q2fNY9gTV1IFjSbL5p7zjhT9w4fEYA6605M85yq8FXZ273ueXl9lZpAM+KWiRwIh2uRpb/Jziapm6GS17ZCo1nG1P1Fo5JbDh52rAcdKjl1EonttpG44sJZ1z0wqZAyLnX9DxwY/7Q=
+sidebar_class_name: "put api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Update a user (admin)"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"put"}
+ path={"/admin/users/{userId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Update a user's role, bookmark quota, storage quota, or browser crawling setting. Requires admin role. You cannot update your own user account via this endpoint.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The ID of the user to update.","example":"user_123"},"required":true,"name":"userId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The fields to update. All fields are optional — only provided fields will be changed.","content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["user","admin"]},"bookmarkQuota":{"type":"integer","nullable":true,"minimum":0},"storageQuota":{"type":"integer","nullable":true,"minimum":0},"browserCrawlingEnabled":{"type":"boolean","nullable":true}},"description":"User update data","example":{"role":"admin","bookmarkQuota":1000,"storageQuota":5000000000}}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"User updated successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the update was successful."}},"required":["success"]}}}},"400":{"description":"Bad request — invalid input data or attempted to update own user.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"403":{"description":"Forbidden — admin access required.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}},"404":{"description":"User not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/attach-asset-to-bookmark.api.mdx b/docs/docs/api/attach-asset-to-bookmark.api.mdx
new file mode 100644
index 00000000..469710cb
--- /dev/null
+++ b/docs/docs/api/attach-asset-to-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: attach-asset-to-bookmark
+title: "Attach asset to a bookmark"
+description: "Attach a previously uploaded asset to a bookmark. The asset must be uploaded first via the POST /assets endpoint."
+sidebar_label: "Attach asset to a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJzdV9uKG0cQ/ZWi/WKLWckODjF6CMg3srFJlr0QwnpBpZkaTVs93ePuHmllMZCPyBfmS0LVXKRdrY0hhEBeFm1PdXXVqepzqnfKVeQxamdPMzVVGCOmxSwEipfupXOrEv1KJSqjkHpdsZ2aqplYAULlaa1dHcwW6so4zCgD5M0QHSAsOgdjuCyo+1DWIcKC9va59iHCWiPEguDs14tLmIhpALJZ5bSNY5WoiMugpteqDyqom0QFSmuv41ZNr3dqQejJz+pYqOn1TXOTqAo9lhTJBzEIaUElqulOxW1FaqpC9Nouj9LjYGurP9UEOiMbda7Jg8slwCEnlSi6xbIy7EmTzsztdlluPr74wd1+/r64jdGlLzhwHcWkD/w0U02iPH2qtadMTaOvKVEWSzZa7I0SpTmYCmOhOBneQSG+dNmWUzgOucX39DWgzYAzlCJIqTjY1NlINvJerCqjU6n65GNgBw+A4xYfKY0qUZXnHomaAn/V2bcBePq6R+yLTTJmIOTXpbg7dku2LrnoRtvVT7E0r7ocEhVST2RD4STCLFedp4vD9QVaS/60xCWpROW1MWe4pJlP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wajcEjzWLMYvR2eu3T4SAmfdKFO7vRtr+sXD8LLh/HXd7NflvnhgtzRxIaJO0bLzriPx6GC6YtKd3pvWOy28SxRTCtrsd9/KVN03Dy9Ku/DTZM7nwfaYD/87UNEcT6CugPD7vFOkJfCncbhHtVgTD1PyfStSKtnefFw2POO3Nlyhag45aT4Rx9w6OpL1J+h2zNKUqftX25kAXGXyZ0dpXTCm6rzxuVCJ/Jdi2b0VsZG2nDNplLcKuWp+sIXhXgu5JjmT1IBy7XWtxydzYNAM6wpUMTNP8Dd4ASw8=
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Attach asset to a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/bookmarks/{bookmarkId}/assets"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Attach a previously uploaded asset to a bookmark. The asset must be uploaded first via the POST /assets endpoint.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The asset ID and type to attach.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the previously uploaded asset."},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"],"description":"The type classification for this asset."}},"required":["id","assetType"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"201":{"description":"The asset was attached successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/attach-asset.api.mdx b/docs/docs/api/attach-asset.api.mdx
deleted file mode 100644
index b1dc7233..00000000
--- a/docs/docs/api/attach-asset.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: attach-asset
-title: "Attach asset"
-description: "Attach a new asset to a bookmark"
-sidebar_label: "Attach asset"
-hide_title: true
-hide_table_of_contents: true
-api: eJztVU2P2zYQ/SvCnBqAXe0GKRro5hQtsgnQLrIOejB8GIsji2uKVEjKHxX434Oh5JUdO8EeesxFkEaP5Lw3b4Y9SPKlU21Q1kABsxCwrDPMDO0y9J5CFmyG2craTYNuAwICrj0UC3g3hjwsBXgqO6fCAYpFDytCR27WhRqKxTIuBbTosKFAzieAL2tqEIoewqElKMAHp8waBNAem1ZzSJGSen9YN7unt7/b/X+/1fsQbPmWM1AhQY4Z3EuIAhx96ZQjCUVwHQkw2DBoNYEEKObYYqiBs+IV5MM7Kw+cy7kS85pOBEiygIDSmkAmMBzbVqsSGZ4/eV5zhZhdPVEZQEDrbEsuKPL8V8lL8lFAOm+eolekMV3DumtlNu9Do/8YUxHgS0dkfG3TQbKCcafH0/gKjSF33+CaQEDVaf2Aa5q5slZbjmyVJMu4Ua8Z75ASp9LhTpOcsJ0n97nVFiWxqrjFgI7jZmPszsAyntVjwXxP2S1jHBC+tcYPkry+vftOEZL2JIdq/KzBi2sgoFKa/k5tcEnFdFrjivuI2+VlBXtz++ayRscuzIwNWWU7I/+/GpVWXkk+CmjIe1bx8t83RNIOEz4RSetDbSUPA+vTsTwTCsiPyvu8nwZHzJMSnstMbnucYp3TUECPUjryPubYqnx7x2VEp1jaRGH8PehWYacDFFCH0Poiz4M73GzQ4YaovcG2BXGtAYYdMltloabs44jPhlwgxngygB9Z2eHk0zH8LBOfnOzKMB6PCcSeSy9/WdcgZ/jh33nSkiv2aZqTfx7n89A/k51O2uaiOyIP3sryIhZvYHZ3c3tzezLMn2nNHu6vyjB7uM8q6841YM2iSFVsMFlrHPvHi2zsoLPt+smeL7rwBlaB9iFvNSrDJ6bi96NvFs8dyx4pzq6c0TpLATVbrVhA36/Q02enY+Twl44c35vLyTjJXlJ5fpdQVKg9/YDDL59Gw7/KvpfuGERzSP7UHX+BgA0dzu/IyHOjJpTkUhYDYKzkr6nA0wYXrR3FccWsLKkNP8QuT9rw4Z/HeRp8w1XcpL4HhzsQ6ZmStYl78naK9aDRrLs0B2DYky2L547/xuGJ1VU5+n5AzO2GTIzP6gT+ZmFi/ApH4yvL
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Attach asset"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/bookmarks/{bookmarkId}/assets"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Attach a new asset to a bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The asset to attach","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]}},"required":["id","assetType"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"201":{"description":"The attached asset","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/attach-tags-to-a-bookmark.api.mdx b/docs/docs/api/attach-tags-to-a-bookmark.api.mdx
deleted file mode 100644
index 6c1c6968..00000000
--- a/docs/docs/api/attach-tags-to-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: attach-tags-to-a-bookmark
-title: "Attach tags to a bookmark"
-description: "Attach tags to a bookmark"
-sidebar_label: "Attach tags to a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVU2P0zAQ/SvRnEAyTUEgUG4FgbQgwQqKOFQ9TJNp420SG3uytET572icr5aWFUL0UCXO83jmzZvnBjLyqdOWtakggQUzpnnEuPMRmwijjTH7Et0eFMgiJCt43S95WCvwlNZO8xGSVQMbQkduUXMOyWrdrhVYdFgSk/MB4NOcSoSkAT5aggQ8O13tQAEdsLSFLGnSWXE47sofd69emsPPF/mB2aSvJAPNATJkcJNBq8DR91o7yiBhV5OCCksBbSaQAi3FWeQcJCvZQZ5fm+wouZxTsMxpqj/QMQMFqamYKhY4WlvoFAUe33nZc6Uws7mjlEGBdcaSY00+fA0cjih0Do+SHlPp/2r3TXbJXht68zGUffFNfqccrboc1sO6t6byXfhn8/l1OgrtOTLbng7KhJ9IZ/7/8TJE/gtu/k0yy0DdBRfjuT0fz+fPLykY5BZVhqOtqavs/xWemuxa1xSU5D3urnb0vIQQYcKv+46XxLnJRPXGh2NF/AnEw1j4uJkmpI2DKGSc3f0wrLUrIIEGs8yR922MVsf3T0HBPTqNm6LvXPe5Y22LdcGQQM5sfRLH7I6zPTrcE9kZWgvqirr6CCIwzin60OOjLhfp2YnPfBFeu5NP3WYkSU6WOgJMXCCAQPUP74wrUTJ8/20ZmJR+fZ7s4O2gqWFUV+PUTcIbh21syboVi9ka2Sf8dcU9nc1n8xMNjpUtbm+uMrG4vYm2xp3TILS1KrSxxKCt3uAe8uqz2M0k1ocNvqOQ6cCxLVBXcm5QQdPLZzW6qoglObPYzlYU5KK3ZAVNs0FPX13RtrL8vSYnt8R60k9gN9NenjNItlh4eiD1R5971T+O/pTsYB3VMci0qOUNFOzpeH4jhI7lhBm5kEUHeNOd9WQpYaYAF/PdqmHHIk3J8oPY9cks3n76shQt9hdPGYYfHP4AFf5DsibUHiQe1hoosNrVwQygiynKxXPh/yb0TrnX6GiaDrE0e6radmSH5V2IadtfmYTHdA==
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Attach tags to a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/bookmarks/{bookmarkId}/tags"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Attach tags to a bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The tags to attach.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"tagId":{"type":"string"},"tagName":{"type":"string"}}}}},"required":["tags"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The list of attached tag ids","content":{"application/json":{"schema":{"type":"object","properties":{"attached":{"type":"array","items":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"}}},"required":["attached"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/attach-tags-to-bookmark.api.mdx b/docs/docs/api/attach-tags-to-bookmark.api.mdx
new file mode 100644
index 00000000..c2af6bfe
--- /dev/null
+++ b/docs/docs/api/attach-tags-to-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: attach-tags-to-bookmark
+title: "Attach tags to a bookmark"
+description: "Attach one or more tags to a bookmark. Tags can be identified by ID or name. If a tag name is provided and the tag doesn't exist, it will be created automatically."
+sidebar_label: "Attach tags to a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJzVV9uO2zYQ/ZUB89DE0NqbIkUDPRRwboCbIF0kXhTFZgGPxbHEmCIVkrKtGAb6Ef3Cfkk7lCV7126QFnmpH9YWNTOcy5kzs1thK3IYlDUTKVKBIWBWTDH3U/vM2mWJbikSIclnTlUsJlIxjkJgDYF1UFpHEDD3ECwgzPdaQ2ArkKGBOYGSZIJaKJIwb2DyghUNljSEyQKQ1eMjKA+VsyslSQIaCaGItkFa8ua7ALRRPiSgAqyV1mw5c4SBpetgSwwqQ62boUgEuyTSG9GF4cVtIjxltVOhEenNVswJHblxHQqR3tzubhNRocOSAjkfBXxWUIki3YrQVCRS4YNTJj9JyLQgqI36VB8F6sAuovt9QkQiaINlpdmSIiX1psnL9cenP9rN5x+KTQg2e8qOqxBFOscnUuwS4ehTrRxJkQZXUyI4XSIV84NQIhQ7U2EoBAfDGuTDMysbDuHU5b5osZ5DeMlV5WyXtQ9Q4IqAVCjIAcIsYD6RM65b+/AWS5pxTJk1gUzgK7CqtMoimkYfPd9zJod2/pGyIBJROcZeUOTj21iuXgqdw4ZDClT6r9Jm/N4v1C7C4G1M1Zl3beAknzXnakymLhlAqEQiirpEwwiStMBaB5Huj3b8OS7PTRvKbXfuK2t86+X3l5fnKzF54Tu4tEUpMMCaHEHn4jfMdGfyK7L9X/AeMP/XUJ/G8p0ksvd0n8wnl49P83dtsA6Fderz3+Ty5+9/RCeexdaGYJdkmFRK5b0yeQLKrFArmTCQaVPxTfdSG2gTRpVGdT6pB3j0AR57IDpPn5x62jU0GBtgYWvzLauaWXkG5CfUDSVmhTJ04QglzjUBOWcdsPqQe6Ik7zH/KlOxAe4b2usPxf1iRgcP9m8P1X/Jil0jlRQKy6Oosj5GyXSWilFHdH60PXDebhR7jXndrTrWrp0WqdiilI68342wUqPVY5GIFTrFnrZd0L5uq9S3dAiVT0ej4JrhEh0uiaohVtXZDthb6HD/ei8PrS8cz9HAec9lbG8+Hjt9kvlmjiOKMa9HIZHsf7yyrkT28OdfpzGzDI93B4J/2YGxI9KbnhMP9eup8HB0zIAdod3ueJIsLBvjpLYRPx5eDi+PWrYPd3w1OUlP/1J5QPCkFxeF9SHCpKueMnkc8YyfCxUuNAZyMXkqoyFMC+XZNqDWdu2hsTXPqhIN5gcjPgGtfPBJ5M0ECpUXWuUFn6D3FL+NhDlmy7qKy0XusDwsCh/MB/PgAXA1mMja5uPDsdZARlZWmeBhD2TAu8xS8R0SlIkImI33NBCNzKAglOSG8Jut4x6Uk+FdiwBNjGxJDSycLe/CZ01zuJ5AbSQ5GAzeUwjK5B5+ijqvqfGDQef2FebK9C6/UT4c+ezrqrIuQFY7b93FHNnVqteAlUKYtS9nMUkzrUoVZvCpJtfAYRfiYhB0kwyUyXQtiSs7M7QJz/cmFop0y8CcFt7R0Ld56S7pTXIlFxR43SgI2Ag7RkMYw8zUWs9ghbomWFh39w5lJNeIomGuhyMwtt1BHflaB9/lpmfbaVOR58N+E+y20rjBcvc6IuBG9OkHcwGDgVZmORjEWMZw/e5NjzdYq1CAjThHDZnDtSYJJQWUGHDYqvMI6dXjKAE+Yt6nvUgEZydjoK60RV56F0oTPFQlg9w6uHrx6lGkZWZD7s50221++y38dPO+343bw4j5v6zuLSceTeJd0tL6dj8PbvrFl9k/vbMFt+tXIphxWHK7ZehfO73b8XFENy/8h4EQ6VIqz7+lSBeoPX0hiQ/f7cfaI/gnZ7u9yjRx7uian0QiltTcXdoj27ZEEb1oBZ63d10wdI8MnOwHu6TTGGcZVeGLsrdHw/Xql/dTHi77/w3KuDwIh2uRxL/R2RbmcWbFs63QaPI6bgeitcmjCO9OsnuTqx1F59Kx3bYSU6bS3a7PTqRWTsxu9xcThBgt
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Attach tags to a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/bookmarks/{bookmarkId}/tags"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Attach one or more tags to a bookmark. Tags can be identified by ID or name. If a tag name is provided and the tag doesn't exist, it will be created automatically.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The tags to attach. Each tag must have either a `tagId` or a `tagName`.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"tagId":{"type":"string"},"tagName":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"],"default":"human"}}}}},"required":["tags"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The IDs of the tags that were attached.","content":{"application/json":{"schema":{"type":"object","properties":{"attached":{"type":"array","items":{"type":"string","description":"The unique identifier of the tag.","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"}}},"required":["attached"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/check-bookmark-url.api.mdx b/docs/docs/api/check-bookmark-url.api.mdx
new file mode 100644
index 00000000..21abd723
--- /dev/null
+++ b/docs/docs/api/check-bookmark-url.api.mdx
@@ -0,0 +1,71 @@
+---
+id: check-bookmark-url
+title: "Check if a URL exists in bookmarks"
+description: "Check if a URL is already bookmarked. Uses substring matching to find candidates, then normalizes URLs (ignoring hash fragments and trailing slashes) for exact comparison."
+sidebar_label: "Check if a URL exists in bookmarks"
+hide_title: true
+hide_table_of_contents: true
+api: eJzVVtuOGzcM/RVCeUmMWXtT9GkeAjhJU2wToEGyi6LYLGB6RM8o1kiKqNldxzDQj+gX9ksKai7rvfSh6FOfPNaFPDwkD7VXPlDEZLw706pUVUPV9rX32xbj9iJaVShNXEUT5Igq1Rs5AGYDCBefPoBhQBsJ9Q7Wwy3Sc7hgYuBuzSkaV0OLqWrkI3nYGKehQqeNxkRcQGrIgfOxRWu+E4tZhuemdj7fbZAb2ESsW3KJAZ2GFNFY2WOL3BC/gI2PQLdYJah8GzAa9m6uCpWwZlVeqjEiVleFYqq6aNJOlZd7tSaMFJddalR5eXW4KlTAiC0lipwPcNVQi6rcq7QLpErVx/SImPOGMiPJQyYRsEbjOAHdGk6CdiSI5+pQqEjfOhNJqzLFjv6TtUI5bAValxNmxMC3juJOSTyROHjHxBLDD6en8nPf2a/rr1QlME6bCrPxm4ZSQ1FyM6b5OL2r8c+ZXsneynXWrqQqnE+w8Z3TgqryLpFL4hBDsNm4d4uvLF6fYNZnHKpQIUpVJtNjvnP2VBbENa4t/TOPZ2/Bb3Ioj8grwEcQC4L9KFgJ4yhgdbiXsMtjSFeHg+z+ePryMbEXDrvU+Gi+k4a//vgzu3idKw6S35ITX61hNq4uwLhrtEZnTHQbxNcDFhPdpkWwaJ7mb+KEbrENQsk9BOrQQ20pNV6avaZMNkrtq8VUUItccSd9MTHF67EVZKVUe9Q6EvNhgcEsrl+qQl1jNJKDnK5hu2djg51NqlRNSoHLxSLF3XyLEbdEYY4hPNlGg4Uxa++H89BjkTCOuvizsDAUylEvT6SIZ4kjH1PlcEgVw8c7ER5B+Mtv5znNxm28XJeoe0gv56fzUxETkzKnE57lx7NH+KdNUUZgspuTxnMSdqaKkgoUHRPdPDHpxGKimKMzFc3hvDEstgGt9TcMO9+JDrTosL4zwgVYw0kEFGsuoDF1Y03dyAoyU/51GtZYbbvAEKKvI7YtJlOhtbv5F/fFPXsGQhe5NDSnLC6tBXI6eCOCO5Q94P3CDeJDg3E5RavlUGXZyAoaQk1xDr/7TrQeanIyZQjQ5ci2tINN9O39/N7QGi7OoHOaIsxmnylJszK8ynfe045nsxH2R6yNmyB/MCKNE2buQvAxQdVF9vFkjQI1TDfg2iCs+s1VJmllTWvSCrJqwt0EkGQQjAoKxlW20ySZXTm6TW8GExtDtm9woQVMAuSel9HJZDKPQEpVk/fFiACjOSxHFb1G21GeaPd8DOpM2bDkIxI4D62PGWBnE4/cjNMOzneBWBan+ZezsSbwjvr2ikQgncLlF3cCs5k1bjub5ViWWQ3HeoMbkxrwuc7RQhXxxpKGlhJqTDjvr4tCTdezUoEsiaDScCQX53jGQResR00aNsYSPDetFLmP8PHtuxd5UAbPqcWseMOYe/AGyarOUopTbzxsy/2div7fXjC9ih0p/6HohXg/KPfdNJKw77T7qlCiPHJgv5cWuIj2cJDl/m0giq4NizJpVW7Q8sPpecza80/D+HsB//Jt8mQEW9pN75Vc8KpU+bUyjpL8GitULyQZa39lWVUU0tGtRy8LsTKNuJ9/OleFwvsj4cEIyNaHLXS7I9v7fX/iXCTvcFAj7iyB6iCj/2/jS/aa
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Check if a URL exists in bookmarks"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/bookmarks/check-url"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Check if a URL is already bookmarked. Uses substring matching to find candidates, then normalizes URLs (ignoring hash fragments and trailing slashes) for exact comparison.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The URL to check against existing bookmarks."},"required":true,"description":"The URL to check against existing bookmarks.","name":"url","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"Object indicating whether the URL is bookmarked. `bookmarkId` is `null` if not found.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string","nullable":true,"description":"The ID of the existing bookmark, or null if the URL is not bookmarked."}},"required":["bookmarkId"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/create-a-new-bookmark.api.mdx b/docs/docs/api/create-a-new-bookmark.api.mdx
deleted file mode 100644
index 550c1e88..00000000
--- a/docs/docs/api/create-a-new-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: create-a-new-bookmark
-title: "Create a new bookmark"
-description: "Create a new bookmark"
-sidebar_label: "Create a new bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJztWktv4zYQ/ivGnNXYWfTkm3fRoulrgyaLHgwfxtLI4loitSTlxCvovxdDMpKclWJ7ExQtYAQIFHGGHM77y6iGhEysRWmFkjCHD5rQ0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/gCQXtHFBGxe0cUEbF7RxQRsXtHFBGxe0cUEbF7RxQRsno40fh8Yb7zGZhHns2wGMWCXDDVpBxrCBj05v3A4dvZvWOH6bqQTmUConb4k8lIXpup0+8/BZ70gb1525tgpqTBJNxjRTLMV0d83ehFqwhZ24YdkrJ8Uq50FgZm1p5tOp1furLWrcEpVXWJYQDeC1sMNEpROb0eS3QD/xsrD+e1PxO9aiP7k/G29Vwie7qGEyRjuOiF3fPfz8NKr89e97pze2zl/dSP2nRyzK0DQGR2gdu8Navlj30ZV/43FJx9HCj+5VDyf2Xx4MnMNc+Zthcm/jgFUCBAl3dw1xaIc72sFpbM+thEwV35ft7o1yfTW7mkEXCq1FFrc3gxZc3N5MUqUPzcfm5v5DGctoYV4H6DH6NcSzJrwNp/HPJ/y1uSJPyxyFw7QBDHjnXsK6/2lFxo4/X0Jdr9FwzWsafv2lIjbSctW5tvvaIoKMMOHOaVnDltgyIS//ECrTDvPKm+FZvHOl8hyLOKbSvki76sXm7ce7e5eo/ecdhUsGoJEdgn/PASJQTkkuCNy7GnKUm8olB/B7NqFL7AP/w1DoIzCU+56Ede0p7tWWZNNAFK5i+W9w099/AD6dDb4=
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Create a new bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/bookmarks"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Create a new bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The bookmark to create","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"title":{"type":"string","nullable":true,"maxLength":1000},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"note":{"type":"string"},"summary":{"type":"string"},"createdAt":{"type":"string","nullable":true},"crawlPriority":{"type":"string","enum":["low","normal"]},"importSessionId":{"type":"string"},"source":{"type":"string","enum":["api","web","cli","mobile","extension","singlefile","rss","import"]}}},{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string","format":"uri"},"precrawledArchiveId":{"type":"string"}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["type","assetType","assetId"]}]}]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The bookmark already exists","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}}}},"201":{"description":"The bookmark got created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/create-a-new-highlight.api.mdx b/docs/docs/api/create-a-new-highlight.api.mdx
deleted file mode 100644
index db7e10a0..00000000
--- a/docs/docs/api/create-a-new-highlight.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: create-a-new-highlight
-title: "Create a new highlight"
-description: "Create a new highlight"
-sidebar_label: "Create a new highlight"
-hide_title: true
-hide_table_of_contents: true
-api: eJztVj1v2zAQ/SvCzaztFJm4uUWLph0SNC46GB7O0tlSLJEMSSUxBP734ig5khwl6JChQzdbd7yPd+8e2UBGLrWF8YVWIOGzJfSUYKLoMcmLfV4W+9yDAI97B3IN307fHGwEOEprW/gjyHUDW0JLdln7HOR6EzYCLN3X5PwnnR1BNmepVjn1GRKvkzTmBgGpVp6U5yNoTFmkyEfmd47PNeDSnCrkX/5oCCTo7R2lXKSx2pD1BTm2brU+VGgPV9nA13lbqD0EAc6j9de7nSM/sKu62pJlO6nsDWuqS21fxuVjdcVAHaks9SMwCBkI2FsiBQK2ZU2MXEY7rEsP8uQYBHh68lMhVV2WuC0JpLc1BQFKe/oLx9BOoOAK5HqIx7j7Ya9dFV2OTQhtFGe0ci2sHxcX08Ns55eNaPN/lO8zSgHFdOu1I/sKKt08lhOFvAM1YkXP+YfZNgJ84bn0Xi2gJdLlYvGSO59wwJmk04z3406qswmEg4CKnMP9lO0MnRih99+cermc6KUDMlHaJztdq+xfbySe97nOQILREXiDLOEwz3utZ6m3D2RdVPraliChwSyz5FyYoynmDxcg4AFtwayN9XbmFqTTiuTeGyfnc2+PswNaPBCZGRoDYkJRugiJ3iU+p+RH55+0tTCnBnfQLcPYycXgJnrGhDNzH9ENZOfEexx/fNW2Qq7w++9VBI7H87O/wL48YWVKOlejfmNHIrQYic7iWWR6LWkVYrDwUQgGUy3UTnM2Rr2F5GK2mC2g365nPJY3V5P4LW+ukp22Y/AY7CDirCuMBFQYAXn17h8Fbno6v/FaaCHnHuemxEJFqWLWNB271pCPXhI5U0+uoWm26OiXLUPgz/c1WX5dbHpuxceFgJwwIxvpeKAjF9OW9WHFudmd5Vm+3LggTieWaUrGv+m7GWzHzfXtiunSvWaquI5gMd4M+AgSQICOMEUWxm8NlKj2dVxPaGMyuXDMzTMuxq46E6rjoMKmaT1W+kAqBBBdK57/Q+CN/gPpI19E
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Create a new highlight"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/highlights"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Create a new highlight
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The highlight to create","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true}},"required":["bookmarkId","startOffset","endOffset","text","note"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"201":{"description":"The created highlight","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"400":{"description":"Bad highlight request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/create-a-new-list.api.mdx b/docs/docs/api/create-a-new-list.api.mdx
deleted file mode 100644
index aea2e62b..00000000
--- a/docs/docs/api/create-a-new-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: create-a-new-list
-title: "Create a new list"
-description: "Create a new list"
-sidebar_label: "Create a new list"
-hide_title: true
-hide_table_of_contents: true
-api: eJy1VsFu2zAM/RWDZ61Jh+3iW1dsQLcCK7YMOwQ5MDYba5UlVZLbBob+faDkJE7qtRiwXQJLIsXHx0cqPdTkKydtkEZDCZeOMFCBhabHQkkfQEDAjYdyCdfSBw8rAZ6qzsmwhXLZw5rQkbvoQgPlchVXAhzdd+TDB1NvoexPAiwaSvcWwRRVCgYCKqMD6cDWaK2SFbL17Jdnlx581VCL/BW2lqAEs/5FFUOzzlhyQZLnU40tjax8cFJvQEAr9TXpDSM8F9Di0341n0dxDPBF7/mR9/vkLasptyiGjef3ke5aprNF3aECAb5FF5jXmm6xUwHK3VkUcN+R276WVBRg0ZEOV/WUqe6UwrUiKIPrKMZcIumoZhyJtSGPVYz52FujfWb17fx8uoy5fPVOJv+oiHIihSj+UNvXq3eS+wv1+gsG/3txn8Wz3VrJamS6NkYRar6lQX9p2N44DMb5aavOk/tm1IuozaMmx+taBsMfD5Ie084Qf3UqHlmDOFLQiMe91wTEEZ6VgCADA0sTBrIE383nz1X3AetimC7/TnCVqaeV1ZL3uJk6OyEh3XCwT02U/ENjaijBmoTXIjcrzFSaozxG3QNxuZY9dE5BCT3WtSPv4wytnD2ccwXQSVZCgjocZ2J2cmpCsL6czYLbnt2hwzsie4bWgpjo2eGGwtwWoaHiy2BfZCzM/Wi+f2cGc+TxlN/TwZE5j2TGaktGIIaPT8a1yAg//1wkzrgy3w6Pw8cnbG0WZO7ugyCPge+3c+8e1gOOfbMN/XQwOPT0qK5S3xoOyuTnAOdn87M5HHS4p+Xi5mqSxoubq+LWuGMOmXNuVeNDi3qU1tSjejK29lqefoFznoGewswqlLmhWTL9oKolqN3r3LDayiX0/Ro9/XAqRt4euFmuDppKD7aAhrAml2R4R0zfZQbzZsFh2Vx1HP5Zk0Wx87ioKrLhRdvVqCFuvn5fsEyGfwht6kBw+Agi/ZYAAkwiJ6kv7fWgUG+61JGQ72RR4bEmTzSYshqOUG9HCPs+WyzMHekYQQypBF5D5Cb+DVD4G/I=
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Create a new list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/lists"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Create a new list
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The list to create","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","minLength":0,"maxLength":500},"icon":{"type":"string"},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","minLength":1},"parentId":{"type":"string","nullable":true}},"required":["name","icon"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"201":{"description":"The created list","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/create-a-new-tag.api.mdx b/docs/docs/api/create-a-new-tag.api.mdx
deleted file mode 100644
index 1d3f2014..00000000
--- a/docs/docs/api/create-a-new-tag.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: create-a-new-tag
-title: "Create a new tag"
-description: "Create a new tag"
-sidebar_label: "Create a new tag"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVD1v2zAQ/SvCzayVdNTmFi2QdmjQuOhgaDhLZ4uxRDLkKYkh8L8XR6qxkhpFhy6STN7Hu/feeYKWQuO1Y20NVPDREzIVWBh6KhgPoIDxEKDawkbetYJAzeg1n6DaTrAj9OTXI3dQbetYK/D0MFLgD7Y9QTW9Kb/pqGiRsWBbNLkVdySNiifN3QoUNNYwGZZcdK7XDUpueR+kwASh6WhA+eKTI6jA7u6pYVDgvHXkWVOQW4MDLaICe20OEGMGqD21MlOKqmPM58FZE3L6+6vry+gz6nbm5j+B1e0FqOofZ9AtqMUgUcFA3NkWKnA2pGYo8kCZlBQB/SP5kPQbfQ8VTNi2nkKIJTpdPl6Dgkf0Gnd9xjdfZ0b2OPYMFXTMLlRlyf60OqLHI5FboXOgLtA2VyjsPgn+dY4vMhaIMS6cdSe05c5Lf70QIZ1ljhQG1RwEav74bP2AgvDLz01iS+T4frblp2ccXE9nlywo12Zv5UIIyuivV1erK1kDzZIDL9DXtzcXR13f3hR761/PKbxElQQZ0CxaX1i4VyWns8cuLmdmhOmZS9ejNtIliTrNsm/zAtcKOnFDtYVp2mGgH76PUY4fRvKyzPVZ9LTLCjrClnzyyZFOAiBDebeRrhLej9L9D+tH9Ttj3TTk+K+x9cKwt9/uNqLj/Ocx2FZyPD6BSs8KQIFN1CR7pLMJejSHEQ8Sm2uK6vjaNG9Mkqaar9CcFginKUds7JFMjKDmUVh+Q5Ql+wUehMct
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Create a new tag"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/tags"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Create a new tag
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The data to create the tag with.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"201":{"description":"The created tag","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/create-backup.api.mdx b/docs/docs/api/create-backup.api.mdx
new file mode 100644
index 00000000..4fcd00db
--- /dev/null
+++ b/docs/docs/api/create-backup.api.mdx
@@ -0,0 +1,63 @@
+---
+id: create-backup
+title: "Trigger a new backup"
+description: "Trigger a new full account backup. The backup is created asynchronously — use GET /backups/{backupId} to check its status."
+sidebar_label: "Trigger a new backup"
+hide_title: true
+hide_table_of_contents: true
+api: eJzFVsGO2zYQ/ZUBc0hraO2k6EmHAt60KbZJ0UXjRVFsFvBYHEuMKVLhkLvrGAL6Ef3CfkkxlOy1Nz701pMEznD4ZubNI3fKdxQwGu+utCpVFQgjXWK1SZ0qlCaugunErEq1CKauKQCCowdYJ2sBq8onF2GVd0xh0dD4D4ZhiKYBeeuqJnjnE9st/PPX35CY4OefFjAbvHm2G36udA/RQ9VQtQETGThiTDxVhYpYsypv1YCO1V2hmKoUTNyq8nanVoSBwjzFRpW3d/1doQJx5x0Tq3Knvnv1Wj6nKQ2xBqDGO3hAhjikSfokHb/6RFWUrALFFBxpeDCxAYSXHTltXP3yCGvlXSQX5UDsOmuqHH72ieXUneKqoRblL247UqUaoqtCdUEaEs2A2egjH47BuFr1hUpM4eq8CZkpnrMVyiVrcWVJlTEk6oux2Xoez0Zi84WODC61KwpiWHm/aTFs3kjnz3oMdTiHgVxqpYdjyVShOFUVMatCrdHYFEjd9YWiEHz4lZixpv+QSy+9/pxMIC3RjVaHIj2V5DjhMb3nyRyg3/W9BP3+HGduHKbY+GC+kM5cjg3BZSYfRL8hJyRpDbNxdQHG3aM1ugAfgB47gfiMIJEe46yzaM5T46l2j9h2kvIJAtUPUFuKjZcR7jxnIqHMgdrPl6RG4Z4C51lJwapS7VDrQMz9DDszu3+tCnWPwUhhc/dG81CCNSYbVamaGDsuZ7MYttMNBtwQdVPszshFQzBGAL/OVXo3+sOARbAfTfEHSX04+XiWD5WQkyWP7KbK0UmamH/e+tCiIPzlj4WSkhi39rJdsh4gvZ6+mr4SKTExF/KAZ3599RX+g9EwIDDZ9UXjOUp1YE8b42pApyEQ6gsTLyxGCjk7U5Hoh2GJDWitf2DY+iTq1qLD+ikIF2ANRy5AJK6AxtSNNXUjK5m88nV6VCKGLvg6YNtiNBVau51+dB/dixcg5SIXR7GRxbm1QE533rgowpVHBPCUrZ2cocG43KLlfKRWDrKEhlBTmMKfPkGFDmpycmEQoMuZbWgL6+Db0/4+0ApuriA5TQEmkw8Uo3E1ww95zzva8mSyh32NtXEHyO8NxyPMnLrOhwhVCuzDxQoFanfYAfcGYTkYl7lIS2taE5fwOVHYQocBW4oUeBDz/Y0AxlU2aZLOLh09xjdjiLUhO0y1lAVMBLkRpC77Qw4hpZNrilWT7RJEgNEU5rAUfVrCPdpEsPbh9AzjtPSIcmDpRyBwHlofMsBkI+9rczlSBBbbjlgW9yucu7Ei8I6G8QpEIJPC5Ud3AZOJNW4zmeRc5nDz+/sD34aLy2eeo4Uq4IMlDS1F1BhxOmwXWTpsz/IEsgTORxpdMjn3Pg5SZz1q0rA2luAb0wrJfYDrH99+O5V7QaSpxSxzDvMInz4pVmffHbsnsfzfnyCDEB0pttzGoqW7UXBv1erpeSJyIUu7nfD2Jti+l+VMTXmjPMltfrEUahi2rNAb2qpSzauKuph12SY5+qvXhAjoQfuvf/uwkBvvVDef6WQOP5rQbY+C73aDx0J0oe9VMaLIOqF6uRT/Bbudlic=
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Trigger a new backup"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/backups"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Trigger a new full account backup. The backup is created asynchronously — use GET /backups/\{backupId\} to check its status.
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"201":{"description":"Backup creation was triggered. The backup object is returned with a 'pending' status.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"assetId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"size":{"type":"number"},"bookmarkCount":{"type":"number"},"status":{"type":"string","enum":["pending","success","failure"]},"errorMessage":{"type":"string","nullable":true}},"required":["id","userId","assetId","createdAt","size","bookmarkCount","status"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/create-bookmark.api.mdx b/docs/docs/api/create-bookmark.api.mdx
new file mode 100644
index 00000000..a3786608
--- /dev/null
+++ b/docs/docs/api/create-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: create-bookmark
+title: "Create a new bookmark"
+description: "Create a new bookmark. The bookmark type (link, text, or asset) is determined by the `type` field in the request body. For link bookmarks, if the URL already exists, the existing bookmark is returned with a 200 status."
+sidebar_label: "Create a new bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJztWuFuI7kNfhVC9+cumDjeRX/5xwHO9hbd3rYX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VsOOBeIkzj5DQoaapkIf0Ufq3IrqBEiwV3JdUP39t3dJA6VVVGbNmppkf/rl4idioxsrFaQHpAF/Wy3aRZki05J5/mYZ4XYcFoAGOYcmydwj2qimBu7O4eUmdsIwoLsz0sgTZQGBsErJR3W91sgxtwEHY82HQwBWvMCIymCDCWKDRoudEnfQ5nZ3xpzs7CWcahE2C3QcAEP0cF9R2CgjyGUBjZGZob9gDRoeULGApqkuCcWxoNVZ2MAGcd8G3IhBn6r/78/rsQ0Rie+YPEaF1/3ehvOnt6E9dtxPg/71KLaNcJiu1HkxjT7sSs28HGeMSD6zVfjFurNhseDr7PbWxtRAtNbYmItzkEwSUxINf563mdwQePDej7JP/hjD5yjNOUSv8i7aQTkq9+ur4JCW3soitCciQschzg/0dCJCL6Yoh9YWwtFOpFFbIfEdfc1NV09wPpbgTsfqlCvepIuF5HihvGu81GJPVRAv6J0GPzO29NTqA=
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Create a new bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/bookmarks"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Create a new bookmark. The bookmark type (link, text, or asset) is determined by the `type` field in the request body. For link bookmarks, if the URL already exists, the existing bookmark is returned with a 200 status.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The bookmark to create.","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"title":{"type":"string","nullable":true,"maxLength":1000},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"note":{"type":"string"},"summary":{"type":"string"},"createdAt":{"type":"string","nullable":true},"crawlPriority":{"type":"string","enum":["low","normal"]},"importSessionId":{"type":"string"},"source":{"type":"string","enum":["api","web","cli","mobile","extension","singlefile","rss","import"]}}},{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string","format":"uri"},"precrawledArchiveId":{"type":"string"}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["type","assetType","assetId"]}]}]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A bookmark with this URL already exists. The existing bookmark is returned.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}}}},"201":{"description":"The bookmark was created successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}}}},"400":{"description":"Bad request — invalid input data.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/create-highlight.api.mdx b/docs/docs/api/create-highlight.api.mdx
new file mode 100644
index 00000000..4c4e90cc
--- /dev/null
+++ b/docs/docs/api/create-highlight.api.mdx
@@ -0,0 +1,71 @@
+---
+id: create-highlight
+title: "Create a new highlight"
+description: "Create a new text highlight on a bookmark. Highlights are defined by character offsets within the bookmark's content and support color coding."
+sidebar_label: "Create a new highlight"
+hide_title: true
+hide_table_of_contents: true
+api: eJztV9tuGzcQ/ZUB89BWWF1S5GkfCig31E2AGImNonAMaLQ70jLikgzJta0KC/Qj+oX9kna4V9lKkAc/FEXfFkty5syZ4ZnhQRhLDoM0+iwXqcgcYaCf5bZQclsEkYicfOak5R0iFS/iOiBouoVAdwGKbi8YDQhrY3Ylut0MeiMe0BHktJGacljvISvQYRbIgdlsPAUPtzIUUkMoqDfwnYfM6EA6AOocfGWtcQEyo4yDzORSb2ciEQG3XqRXYvAmrhPhKaucDHuRXh3EmtCRW1ahEOnVdX2dCEefK/Lhucn3Ij3cC/GioFFQwUDDSQJSZ6piv0c44exl0jDRBpNEvCaaQ9UAnmsTiOG2IbFXtFbJLFI//+TZ9UH4rKAS+SvsLYlUmPUnyjgN1nGigiTPq51zzlm/1wcn9VbUifABXXgX4YzWdVWuyfE66fwrqxHxQ7t8rCqZ6z0pZW4F85iLRGwdkRaJWKuKmPycNl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VLvJpMYyxIu378d3gn8xhk9CxzeKsqhpIA5Bpw1x/l69cdjG2reFvH90GyJxdnt0VBZZTCPY4Mi+F6WXOTGwfnL1z9EmWZ1LDF2CI1RQo4eccWX3nqHod/8C599jTiOujXPi6zvh7YPXIni6EnIKsJ/Dwcu50un6pp/x4rld+HQBeIrMRHNHYyNY0d7JqHBNeWqiE2DZ+T0YSuuk+7EMsvIhq/uvR71sfN3Hy5Y2NtnaRn7tHAYx3O8FakQiWgqKPaL+O8gFOptFRuxaGxyG8DjLnKva8So2iXU+xHCw6HZccEqVdciaUOJqiVqfjX9DdD6rAk=
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Create a new highlight"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/highlights"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Create a new text highlight on a bookmark. Highlights are defined by character offsets within the bookmark's content and support color coding.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The highlight to create, including the bookmark ID, text offsets, and optional color/note.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true}},"required":["bookmarkId","startOffset","endOffset","text","note"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"201":{"description":"The created highlight.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"400":{"description":"Bad request — invalid offsets or missing required fields.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found — the specified bookmarkId does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/create-list.api.mdx b/docs/docs/api/create-list.api.mdx
new file mode 100644
index 00000000..72b1fa17
--- /dev/null
+++ b/docs/docs/api/create-list.api.mdx
@@ -0,0 +1,71 @@
+---
+id: create-list
+title: "Create a new list"
+description: "Create a new bookmark list. Lists can be manual (bookmarks are added explicitly) or smart (bookmarks are matched automatically by a search query)."
+sidebar_label: "Create a new list"
+hide_title: true
+hide_table_of_contents: true
+api: eJzNV19vGzcM/yqE+pIal4szbC9+GOBkLdC1wII2wTCkBkzf0T7VOkmVdHE844B9iH3CfZKBuj8+O266AR2wl8QnkRT5I/UjtRPGksMgjX6Ti4nIHGGgd9IHkYicfOak5U0xEddxCxA0bWBhzLpEtwYlfUiBFTxkqGFBUKKuUMFZJ+MBHQHmOe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OC8zWlfVgnVk5LPvBLP2oP+oXL4CzRjq0xMGLU6WAdG6N1KEfkgAPr4zlM5jKYqXMp219RyNzKAhzcin8Zqo4Xa5I87RKgDpGtqYtLJ0pD8tsQwu4ewOVzsnBaPSBQpB65eHHqPOWtn406ty+wZXUvcvMxAOffWWtcQGyynnjzhfIrtpeAx4kwrzZnEeQ5kqWMswbXgWLDksK5Dwng6AbMEDqTFU5cWbnmh7DdWuimSiZWhgWkAHQN7h0h/QmOZNLClkR99kIO0YpTGHObXQOD6gqgqVxh2dInXOOKBrmfDgCbaA0LjpYqeA7bK66If92a8nz4lU/qLezvtHU3HJHBHxR/OSjPofRSEm9Ho1iLFO4e/9u/2KIrcfEOkcFmcONohxKCsidLG3UmRt79ciRwEs8QVMrEouzk9FQWWWQnxhLqQjOZMlFbhzc/PT6ZWwpzI8l6gERHLxo1Ik3z25P1//T509DTYNOwiMPs/yubQT3QnVPI+YPXtjtuJDvnKprXm7p7H62bwPxtZSI5vbFzrEmZrzrBo1zrofYNVTFxz8ZGOqk05hmGdnwrOxs0MNufvlwy8zePs/KOE0IhxuRxL8TIRLR1E5sGHFtJxTqVRXHBdHY5D6Ah23kqG3EqNot1NuBh7tdI3HL/FTXImlDiXwlan4s/A0IJEx+
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Create a new list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/lists"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Create a new bookmark list. Lists can be manual (bookmarks are added explicitly) or smart (bookmarks are matched automatically by a search query).
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The list to create. For smart lists, a `query` field is required. For manual lists, `query` must not be set.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","minLength":0,"maxLength":500},"icon":{"type":"string"},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","minLength":1},"parentId":{"type":"string","nullable":true}},"required":["name","icon"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"201":{"description":"The created list.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}}},"400":{"description":"Bad request — invalid input data (e.g., smart list missing query, or manual list with a query).","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/create-tag.api.mdx b/docs/docs/api/create-tag.api.mdx
new file mode 100644
index 00000000..1b4c9e0c
--- /dev/null
+++ b/docs/docs/api/create-tag.api.mdx
@@ -0,0 +1,71 @@
+---
+id: create-tag
+title: "Create a new tag"
+description: "Create a new tag. Tag names are normalized (trimmed and converted to the user's preferred tag style)."
+sidebar_label: "Create a new tag"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9VlFvGzcM/iuE+rDWuNjtsKd7GOB2K9C1wILVwTCkAUyf6DvVOkmVeE5uxgH7EfuF+yUDdWfHSYNhD8NeYoeiyI/kx08+KB8oIhvv3mlVqioSMq2wVoXSlKpogpypUr3JJ4Dg6BYY6zmssAaHLSXASOB8bNGa30nDc46mbUkDOg2Vd3uKTBrYAzcEXaL4TYIQaUsxih1rSNxbejFXhWKskyqv1Uo+bwqVqOqi4V6V1we1IYwUlx03qry+GW4KFelLR4lfe92r8vAI86qhHF1QSvqxOslSecfkWK5gCNZUuQWLz0nuHVSqGmpRvnEfSJXKbz5TxapQIUrD2FCSUwl85pU4GlerYRhxmUhaSsleN8Mw2lPwLo3Xv3356mnQI9Dcmv8QrdFPYC3+ZRFGq+JBJd89Bf7KYceNj5kHf/3xZ5746zw1YL8jByZBa1Iyri7AuD1aowvwEeguSKpH5TLd8SJYNE8XOmEtFN1hGyw9QqCGEWpL3Hihd/AptwWFQGqRuSYUi3uKKTOsi1aV6oBaR0ppWGAwi/0rVag9RoMbO3ZyOh7r32JnWZWqYQ6pXCw49vMdRtwRhTmG8NUqyYSnCOC3uUXvJ38YsQjwM+5/lLrHzOcbcGqDZJY6spsqJydVTF/eymoKwp9+XeW5CnF+uV+cH4/NOxL6jBzGbb0cSING9K/mL+cvZVEN54afoC8v331V6unQJEBIZLcXjU8sjYSN97sW4864OitFJNQXhi8sMsXcCFPRHFaNSRIb0Fp/m6D3nexyiw7r+yCpAGsSp0J2JhXQmLqxpm7EgilR/nQaNljtuiDy4+uIbYtsKrS2n39yn9yzZyCdJcfTiolxaS2Q08EbxwmmlQB8yOogOTQYl6e5Xk4UzEHW0BBqinP4zXdQoYOanIguAbpc2Y562EbfPqTCLW3g6h10TlOE2ewjMRtXJ/g+33lPfZrNjrAvsTbuBPmDSXyGOXUh+MhQdTH5eLFBgRpON2BvENbj4To3aW1Na3gNXzqKPQSM2BJTTDIMgqOEgXGV7bToP6wd3fGbKcTWkB23X9oChgHT2JdjklNImeSWuGryuQQRYDSHJaxdZ+0a9mg7gq2PD3MYp2VGlAPLPPITBK2PGWBnOR1783qiCKz6QEmMR0vK09gQeEfjJkYikKVK5Sd3AbOZNW43m+ValnD1y4cT3+DWcAM+8xwtVBFvLWloiVEj43y8LvJ1up5lDMQEzjNNLpmcRx8HXbAeNWnYGkvw3LRCch/h8oe3L+aykCJhLbqzZX38Mj9ewsO9oP5/r/goTGfyPRSjth4m9b0eX/qbQokgyP+HgzDzKtphEHMmnzzz99qbH/1CjeuU5XpHvVQ11nchA85SbTvJ/tVbORTHG8uqosD/6Htz9m5c/vxxJXI6/cpovZY7EW9Vkf+WShVqJENW6Ww7KIuu7rAW3zGmiC8+1O5HWp2rmo7Q9WcID4fRYyWCMwyqmErJAqQGeZX/Bt1jblI=
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Create a new tag"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/tags"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Create a new tag. Tag names are normalized (trimmed and converted to the user's preferred tag style).
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The tag name to create.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"201":{"description":"The created tag.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/delete-a-backup.api.mdx b/docs/docs/api/delete-a-backup.api.mdx
deleted file mode 100644
index 9d2f3be3..00000000
--- a/docs/docs/api/delete-a-backup.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: delete-a-backup
-title: "Delete a backup"
-description: "Delete backup by its id"
-sidebar_label: "Delete a backup"
-hide_title: true
-hide_table_of_contents: true
-api: eJx9U8Fu2zAM/RWBpw3Q4nbosMG3DO2AbsNQbBl2CHJgbCZWY1uqRLfJDP37QNlNkzarL5bEJ/Hx8bGHkkLhjWNjW8jhkmpiUkssNp1Ty50yHJQpQQPjOkA+h88pFGChIVDRecM7yOc9LAk9+WnHFeTzRVxocOixISYfEiAUFTUIeQ+8cwQ5BPamXYMG2mLjajkyZMp6u1s3D7efPtrt3w/VltkWnyS/4QQZ8l+XEDV4uuuMpxJy9h1paLERyPIRosFIUQ65AmHkKTjbBgrC4v3ZhfyO6/9hVWFbppbVO8XVXokHDKpM2qTEF6fuDsxUa1mtbNdK+vEtwaJztSlQsNltkAsnJLHLWyoYNDhvHXk2A9XClvRSuKihoRBwfSp2pM58eOEJv4jyyZ4rW0IOQ22SWLTKIRvqDln/KGYEabi/f2xn52vIocey9BRCzNCZ7P4cNNyjN7isB+ZjeBBrhV3NkEPF7EKeZex3kw163BC5CToH+pmis4rU+IKyq9SPbyNeDVwgxnjgxF8i6JD50I97dSSz1JFg4pQEAj0uvljfoDD8+meWJDTtysp1qXqgdD45m5wd2HHPZ3pzfZL/9OZaraw/Ji/FRg3OBm4wWWG07jh/OPru+Yv9k6NeG9WhWKYtZ65G00qu1K9+7O98nJEAGvL9uCw0VDawhPt+iYF++zpGOb7ryMuYL57am0xQmiDrEvIV1oFeYfvm5+jGt+p/DMdDbHfJRXUnO9Cwod3hUMdF1FARluQThyE8LQpyfHDxxbyJT/Z+v7z6fjW7Ag14bJBnhkgJTvLq+wExsxtqY9zTZNkLxxj/AVwN0vk=
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Delete a backup"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/backups/{backupId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Delete backup by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BackupId"},"required":true,"name":"backupId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - the backup was deleted"},"404":{"description":"Backup not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/delete-a-bookmark.api.mdx b/docs/docs/api/delete-a-bookmark.api.mdx
deleted file mode 100644
index 56a84103..00000000
--- a/docs/docs/api/delete-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: delete-a-bookmark
-title: "Delete a bookmark"
-description: "Delete bookmark by its id"
-sidebar_label: "Delete a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJx9U01v2zAM/SsCTxugxe3QYYNvGdoB3Yah2DLsEORA20ysxrZUiW6TGfrvA23nq83qi/XxKD4+PnZQUMi9cWxsAylcU0VMKrN2XaNfq2yrDAdlCtDAuAqQzuHzeBlgoSFQ3nrDW0jnHWSEnvy05RLS+SIuNDj0WBOTDz0g5CXVCGkHvHUEKQT2plmBBtpg7So5MmSKarNd1U/3nz7azd8P5YbZ5p+EgeEesmNwW0DU4OmhNZ4KSNm3pKHBWkDZAaTBSHEOuQRh5Sk42wQKwuT9xZX8TnX4YVVuG6aG1TvF5ZEiTxhU0avUJ786F73jpxrLamnbRiiM7wkanatMjoJO7oOEnJHGZveUM2hw3jrybAa6uS3opYBRQ00h4Orc3YlG8+GFA34R5ZM9l7aAFIbqJLHolUKyqz0k3UHUCNJ8/7hrbesrSKHDovAUQkzQmeTxEjQ8ojeYVQP78XqQbIltxZBCyexCmiTst5M1elwTuQk6B/qZrrOS1PiCssu+L99GvBq4QIzxyJW/RNQh87E39wpJZqmjh4lnehDocfHF+hqF4dc/s15G0yythEvVA6XLycXk4siaez7Tu9uz/Kd3t2pp/Sl5KTZqcDZwjb0dRhOP84h7/z1/szv46vXhHQpm2nDiKjSN5Ot71o19nu8nJoCG9Gh8FhpKG1ggXZdhoN++ilGOH1ryMvqLQ5t7MxQmyLqAdIlVoFc4v/k5OvOt+h/L8RCbbe+mqpUdaFjT9nTM4yJqKAkL8j2LATDNc3J8FPpi+sQxe/df33y/md2ABjy1yjNr9AnOMuu6ATGza2pi3BNl2QvHGP8BgxHeWQ==
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Delete a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/bookmarks/{bookmarkId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Delete bookmark by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - the bookmark was deleted"},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/delete-a-highlight.api.mdx b/docs/docs/api/delete-a-highlight.api.mdx
deleted file mode 100644
index 39cd9b2b..00000000
--- a/docs/docs/api/delete-a-highlight.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: delete-a-highlight
-title: "Delete a highlight"
-description: "Delete highlight by its id"
-sidebar_label: "Delete a highlight"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVcFu2zAM/RWDpw0QknTosMK3AO2wbANWbBl2CHJQLCZWY0uqRLfJDP37QNtJnNbtdtgpjvkkPj4+0jUoDJnXjrQ1kMI1FkiY5HqTF3qTU7LaJ5pCohUIILkJkC7g0yEaYCkgYFZ5TXtIFzWsUHr004pySBfLuBTgpJclEvrQAEKWYykhrYH2DiGFQF6bDQjAnSxdwa80alXs9pvy8e7qg939fp/viGx2xRQ0NZAjhZmCKMDjfaU9KkjJVyjAyJJReQ8lQHOBTlIOzMtjcNYEDMzl3WTCP+dazHNMVKOHOgkCAjJrCA3xAelcoTPJB8Z3gU8NVGhXd5jxQeetQ0+6zbmydltKv52p52pEAYGkp2/rdUDqxU1VrtBzHI16JZrZwvpBlU1Vcg/3WBT2EVgH1mbjEQ0IWBUVclMVrmVVEKQHYBRAuKOhK01VFHLFbWHxowBjCf8JqIdLrwL6F1TJPEpCNR0gEs98sOjre65mX7uuqo5zw+iYv59tOWA9iJFzXk4un3vnCEqMpWRtK6P+n3Myqwb0jQJKDEFuhmJPtGluOOGXsS2lRMqtghRa23NiHpcUxkf/h3Hdm6rI0qJ/OEx35QtIoZZKeQwhjqXT44cLEPAgvebWN/y7cKvawWc5kQvpeEx+P9pKL7eIbiSdAzEwlt0NiV0nlGPypcMnLRduTG8x/WBZu5nrraejRpyZ62hgkHYgHobm4aP1pWSGn3/NGyG1WVs+zlW3lC5Gk9Gkt52OfKa3s0H+09tZsrb+nDwXGwU4G6iUjSG6NdYtZXm2hc4urU/W+ssKb0tm049dIbVp5o27Vne9Xpy2ZgABaX+HLgXkNhCD6nolA/70RYz8+r5Cz1+A5anVjSGUDvysIF3LIuArtN987/z5NnmJZ/dSmn3jKF5VKYCALe6fLPu4jAJylAp9Q6NFTLMMHfXOPhtCts1xCK5vvt7Mb0CAPPfLE380CQap1XWLmNstmhiPTIn/M8cY/wCwMJE0
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Delete a highlight"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/highlights/{highlightId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Delete highlight by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"HighlightId"},"required":true,"name":"highlightId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The deleted highlight","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"404":{"description":"Highlight not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/delete-a-list.api.mdx b/docs/docs/api/delete-a-list.api.mdx
deleted file mode 100644
index 5059b462..00000000
--- a/docs/docs/api/delete-a-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: delete-a-list
-title: "Delete a list"
-description: "Delete list by its id"
-sidebar_label: "Delete a list"
-hide_title: true
-hide_table_of_contents: true
-api: eJx9U8tu2zAQ/BViTy3ARkmRooFuBpICaYMiaF30YPiwltYWY0lkyFViV+C/F0upfiROfbFIDjmzs7M9lBQKbxwb20IO11QTk6pNYLXYKsNBmRI0MK4C5DO4M4EDzDUEKjpveAv5rIcFoSc/6biCfDaPcw0OPTbE5EMChKKiBiHvgbeOIIfA3rQr0EAbbFwtW4ZMWW+2q+b54eqz3fz5VG2YbXEl7IYTRNhvS4gaPD12xlMJOfuONLTYCKAeABqMFOOQKxA1noKzbaAgCj6eX8rfcd3frSpsy9Sy+qC4IrWwdt2gX6tnDKpMriTiy1O3RZdqLaul7VqhH98SJDpXmwIFmT0EgZ+wwy4eqGDQ4Lx15NkMUgtb0mvTooaGQsDVqbMjb2bDC3v8PMpP1lzZEnIYKhNi8SqHTBwMWT8YGUEa7Z/+tbHzNeTQY1l6CiFm6Ez2dAEantAbXNSD6vF4sGmJXc2QQ8XsQp5l7Ldna/S4JnJn6BzoF15OK1LjC8ouUy++jXg1aIEY40ECf4qZA/NhDnfOCLPUkWCQjyDQ48cX6xsUhV9/T5N9pl1auS5VD5Iuzs7Pzg9iuNMzub89qX9yf6uW1h+Ll2KjBmcDN5hiMIZ2nDlMU/fyvX6fpbeHcyiUacOZq9G0wpN61Y99naXJCKAhH0dkrqGygeWo7xcY6JevY5Ttx468jPV839bU/NIE+S4hX2Id6D863/0YE/hevaVu3MR2m9JTd7ICDWva7sc4zqOGirAknxQMh5OiIMcH115NmKRjl/Drm7ub6Q1owONYvIhBIjipqu8HxNSuqY1xJ5JlLRpj/AuPmMsh
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Delete a list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/lists/{listId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Delete list by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - the bookmark was deleted"},"404":{"description":"List not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/delete-a-tag.api.mdx b/docs/docs/api/delete-a-tag.api.mdx
deleted file mode 100644
index aaf7e855..00000000
--- a/docs/docs/api/delete-a-tag.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: delete-a-tag
-title: "Delete a tag"
-description: "Delete tag by its id"
-sidebar_label: "Delete a tag"
-hide_title: true
-hide_table_of_contents: true
-api: eJx9U01v2zAM/SsCTxugxe3QYYNvAdoB3Yah2DLsEOTA2EysxrZUiW6TGfrvA2UvH206X2SJT+Lj42MPJYXCG8fGtpDDNdXEpBjXarlThoMyJWhgXAfI5zCTdaEhUNF5wzvI5z0sCT35accV5PNFXGhw6LEhJh8SIBQVNQh5D7xzBDkE9qZdgwbaYuNqOTJkynq7WzdP958+2u2fD9WW2RafJLnhBJnh+raEqMHTQ2c8lZCz70hDi43EOcU1GCnEIVcgXDwFZ9tAQfK/v7iS5bTm71YVtmVqWb1TXJFaWrtp0G/UEwZVJkVS3qtzt2e4Vq1ltbJdK9nHpwSIztWmQAFm90HQZ7Swy3sqGDQ4bx15NgPTwpb0UrGooaEQcH0udqLMfHjhgF9E+WTPlS0hh6EwSSxS5ZBJk7M+qRhBeuwf/3Ww8zXk0GNZegohZuhM9ngJGh7RG1zWA+cxPGi0wq5myKFidiHPMva7yQY9bojcBJ0D/VzIitT4grKr1IivI14NXCDGeGS+nyLlkPnYgntdJLPUkWCQjyDQ489n6xsUhl9+z5J4pl1ZuS5VD5QuJxeTiyMH7vlM727P8p/e3aqV9afkpdiowdnADSYTjIYdhw1l3J4/1x+M9OpQDmUybTlzNZpWsqRO9WNP58PgasiH2VhoqGxgCfT9EgP98nWMcvzQkZdpXhxamhpfmiD/JeQrrAP9h+SbH6P33qrXuI2H2O6Sc+pOdqBhQ7v9+MZF1FARluQTgSE2LQpyfHTrxWiJMfbWvr75djO7AQ146ohnDkgJzpLq+wExsxtqYzxwlL1wjPEvTTHFIQ==
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Delete a tag"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/tags/{tagId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Delete tag by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - the bookmark was deleted"},"404":{"description":"Tag not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/delete-backup.api.mdx b/docs/docs/api/delete-backup.api.mdx
new file mode 100644
index 00000000..5f28871f
--- /dev/null
+++ b/docs/docs/api/delete-backup.api.mdx
@@ -0,0 +1,71 @@
+---
+id: delete-backup
+title: "Delete a backup"
+description: "Permanently delete a backup and its associated archive file."
+sidebar_label: "Delete a backup"
+hide_title: true
+hide_table_of_contents: true
+api: eJylVttuGzcQ/ZUB85IIa8kuUiTYhwJK4wBugsJIbBSFI0Cj5Ug7FpfckFxZirBAP6Jf2C8phru62WlaoE9akTPDM5dzyK1yNXmM7OyVVrnSZCjSGyyWTa0ypSkUnmvZVrm6Jl+hJRvNBjpDQJglW0CrgWMADMEVjJE0oC9KXhHM2dBQZSriIqj8TnXRg5pkKlDReI4bld9t1YzQkx83sVT53aSdZKpGjxVF8iEZhKKkClW+VXFTk8pViJ7t4gnOm5KgsfylIWBNNvKcyYObQyypxyt4aI1VbSQOE2uz3iyqh/vXr9z664/lOkZXvBbQHJNJB/pKqzZTnr407EmrPPqGMmWxEpPZziRTLDBqjKWSNDyF2tlAQaD/cP5Sfk4R/+qgcDaSjfDXH38e4YQHDH2tNYSmKCiEeWPMZihAXp5fPI11a7GJpfP8lfQ+2ptUW4huSRY4QMUhsF1kwHaFhnUGzgOta0lLatOjSbWmdRzVBiWn7/XgUM5jBKpt24T0G1l3NQXrIsxdYx8fjHVtuEizOboP7tvHu9k9FVFlqvYyyZG7KhdO078PyhgqLEq2dOYJNc4MAXnvPIh7qnBFIeDiP4Uqmwrt40C9/1C1J3Nz1wE8xJ8cJu1SHFPZ0vmxdAdiSp4yVbkadfMRRtvd2LVK+ORXO7Y03qhcbVFrTyG0I6x5tLpQmVqhZ4GYCtVvd82ZY2OiylUZYx3y0Sj6zXCJHpdE9RDrp4ogTOsj7Pj1vreHDoskckT0T9K/7uRjuu+rKydLHslMOJWMVNZ/vHO+QkH4y283qaRs507cJesO0sXwfHh+RNw9nvH11RP8+00OgBDIzM9KF2Jq4My5ZYV+yXaR1E06e8bxzGAkn7LjgoZwU3KQ2IDGuIcAG9dAdFChxcUhSMjAcIghA1HBDEpelIYXpaxgCJR+re5ZH6D2buGxqjBygUL3z/azffYMpFyiaB0tZHFsDJDVtWMbA/QjBnjK+FrO0MA2tWg67umZgkyhJNTkh/C7a6BACwuycicQoE2ZLWkDc++q0/4+0Axur6CxmjwMBp8oRraLAD8ln/e0CYPBDvY1LtjuIX/gEI8wh6aunY9QND44fzZDgVrvPWDFCNNuc5qKNDVccZzCl4b8Bg6XhDSDYKe2wLYwjSbp7NTSOv7ch5gzmU4ZpSzAETB0ddkdsg8pnZxTLMq0L0EEGA1hDFPbGDOFFZqGYO786RlstfSIUmDphyewDirnE8DGxLCrzZt+ROBmU1OQxd1KSN2YEThLHb08EQhTQv7ZnsFgYNguB4OUyxhuP37Yzxs8cCzBpTlHA4XHB0MaKoqoMeKwcxdp37sniQdZEkWm3iQN587GQlMbh5p0utThOVcy5M7D9dt3L5Jg1i7ECpNW99fi29OXwmMObg+S/78fGJ2GHF1YbdbJ4LaXzbv+kg4qU/n+vp5kSlgv29utjN+tN20ry2nC5DVyUM2krZqDfGuVz9EE+k5Kzz/2ov8C/glhv4h2k8TZNPJPZWpJm+NXRTtpM9VRNWHotsdFQXU8cjyOPTm6QN5efri8uVSZwlPFfaSwKfQ3EW23ncWNKErb7gEmhRF0bfs3Y8WbRQ==
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Delete a backup"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/backups/{backupId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Permanently delete a backup and its associated archive file.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the backup.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BackupId"},"required":true,"name":"backupId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — the backup was deleted successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Backup not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/delete-bookmark.api.mdx b/docs/docs/api/delete-bookmark.api.mdx
new file mode 100644
index 00000000..fa95ea9c
--- /dev/null
+++ b/docs/docs/api/delete-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: delete-bookmark
+title: "Delete a bookmark"
+description: "Permanently delete a bookmark and all its associated data (tags, highlights, assets)."
+sidebar_label: "Delete a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJy1Vt1u2zYUfpUD9qY1FDsdOqzQxQB3TYGsxRC0CYYhNeBj8chiTZEsSSVWDQF7iD3hnmQ4lCzbadrtZleWyfPznb/vcCesI49RWXMpRS4kaYr0ytpNjX4jMiEpFF45FhC5uCJfoyETdQu9KCCsBmlAIwG1BhUDYAi2UBhJgsSI8DTiOmRQqXWl1bqKIWMRiuHZVGSCL0V+K/aOg1hkIlDReBVbkd/uxIrQk583sRL57aJbZMKhx5oi+ZAEQlFRjSLfidg6ErkI0Suz/iqE64qgMepzQ6AkmahKRR5sCbGiMRTGRFusnWZLipTU23Zd3396+ZPdfvmx2sZoi5cMXMUksgd+KUWXCU+fG+VJijz6hj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b6IhNMCiyy23F33njddXycGpCfLgdSTdQrVeBvKfISdaDvxPv0/bAXnsG3UA6HaNrE3brhfyITG2pPnx/dostEP8sJRS8wLwpy8Uj12PriaMu8vnh3cX0hMoGnlPyAgpPpRzHtdr3ENVNO140QEwUxuq77BxUht/M=
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Delete a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/bookmarks/{bookmarkId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Permanently delete a bookmark and all its associated data (tags, highlights, assets).
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — the bookmark was deleted successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/delete-highlight.api.mdx b/docs/docs/api/delete-highlight.api.mdx
new file mode 100644
index 00000000..28f99689
--- /dev/null
+++ b/docs/docs/api/delete-highlight.api.mdx
@@ -0,0 +1,71 @@
+---
+id: delete-highlight
+title: "Delete a highlight"
+description: "Delete a highlight by its ID."
+sidebar_label: "Delete a highlight"
+hide_title: true
+hide_table_of_contents: true
+api: eJytVsGO2zYQ/ZUBc0kMrb0pUjTQoYDT3aDbBGiQ7KIoNgt4LI4lxhSpkNSuFUNAP6Jf2C8phpJlee2kOfRkQxwO38x788itsBU5DMqaKylSIUlToF9VXmiVF0EkQpLPnKo4QqTiIq4DQrELgWUDKni4upiKRATMvUhvxZDBi7tEeMpqp0Ij0tutWBI6cvM6FCK9vWvvElGhw5ICOR8DfFZQiSLditBUJFLhg1MmP8JyXRDURn2uCZQkE9RKkQO7glDQHh+jog2WleZUipTUmyYvHz69/MluvvxYbEKw2UuGrkIMGaBfSdEmwtHnWjmSIg2upkQYLDmqGEUlQjGeCkMhuB5HvrLGk+cafjg/559j6F2r5aiTyoOjUDtDklFn1gQygXdjVWmVRZpmnzynONEmu/xEGVNWOSY1qA7A0tp1iW7N/D5uaZsIH9CF31crT2G0bupySY7XychvrGZWW3eKKjJ1yUJoSGv7ILgp3KjcERmRiKWuiZUhaYW1DiLdBbaJCLQJp1KaWmtcMkfMRJsIYwN9V6A6XXrtyX2lK5kjDCTnJ4C0B6K4Hff3sJvj3vVV9ZgjouH88Wl3J3Qo2pbPfHH+/FhINwbrUFinvpCEf/76O2r/VZwwCHZNhkVVKu+VyRNQ5h61kglYB7SpuIJHQmOUs0qjOi2xPb3DRI0RDEhfHCMdygFjA6xsbf5PkWdWnpTCIYY5lJgVytCZI5QsESDnrAPePmXeS/Ie8+9KVdQlmseJ+v3TI5VEgPv8I54veWPsXDw/FHZvxFwnu0oqZoNN+Nl2ZD4ti47c/c48a6dFKrYopSPv2xlWanb/XCTiHp1ioLFd/XLH0m4CixAqn85mwTXTNTpcE1VTrKqTxttn2Nntmz4eOixczsj3PzCLvRuN3H/oMZ/MdcQwkfZBbBPxz2vrSmSEv/1xHRurzMrydq66g/R8ej49H5n4gGf+7uoI/7CoPCB40quzwvoQadxNszI5oJHA/J6pcKYxkIvVqYymcF0oz7kB2bU8NLaGYKFEg/k+iU9AKx98AnwvJnur9wmg9xR/jYQlZuu68lA5mzssSwwqQ62b6Ufz0Tx5AtwuvuC64eCPc62BjKysMoFvjSg0wMPRr/gMCcpEihbzfk5jkgUUhJLcFP60NWRoICfDLwECNLGyNTWwcrY85PeBlnBzBbWR5GAy+UAhKJN7+DnueUONn0x2sN9hrswA+a3yYYTZ11VlXYCsdt66syUy1GrYAfcKYdEtLmKTFlqVKizgc02ugf2bgckg2N25oEyma0nM7MLQJvzSp1gp0p1FcltABUDf9WV3yJCSmVxRyIq4zkkYGE1hDgu+WxZwj7omWFl3eIYykjmimJj5cATGQmldBFjr4He9edVLBK6bijx/3H3xkY0lgTXUjZcjAp4Un340ZzCZaGXWk0msZQ43798OeoMHFQqwUeeoIXP4oElCSQElBpx229njh+3R64E/sS9THxLFuYsxUFfaoiQJK6UJnqqSRW4dvLt4/SzaZmV9KDE6dv8+On4oPh7D7d77//tZ2fnE6Hbi65utbtsb5O3+ReZFItLx++wuETzfHLTdstBunG5b/hy1xM/QvT9GF5XK838p0hVqT99A/vR9b/LP4Gs4+49ommjD/PJJhUjEmppHD8n2rk1EN5cRRhcxzzKqwmjv0UXJXjvcHBeXby+vL0Ui8NBkH5lqPOAktO22i7hmE2nbAWk0FcbYtv8CRuRA+A==
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Delete a highlight"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/highlights/{highlightId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Delete a highlight by its ID.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the highlight.","example":"ieidlxygmwj87oxz5hxttoc8","title":"HighlightId"},"required":true,"name":"highlightId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The deleted highlight is returned.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Highlight not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/delete-list.api.mdx b/docs/docs/api/delete-list.api.mdx
new file mode 100644
index 00000000..e16d0d04
--- /dev/null
+++ b/docs/docs/api/delete-list.api.mdx
@@ -0,0 +1,71 @@
+---
+id: delete-list
+title: "Delete a list"
+description: "Delete a list. This removes the list only — bookmarks within it are not deleted."
+sidebar_label: "Delete a list"
+hide_title: true
+hide_table_of_contents: true
+api: eJy1VlFv2zYQ/isH9qU1FDsdOrTQwwBnSYGsxRC0CYYhNeCzeLZYUyRLUo5VQ8B+xH7hfslwlCzbadbtZU9xyOPdd9/dfaedsI48RmXNtRS5kKQp0nsVosiEpFB45fhS5OIyXQGCViGO4bZUATxVdkMBYknpGKzRDfz1x5+wsHZdoV8HeFCxVAZUBPQExkbogsixyETEVRD5veCIQcwyEaiovYqNyO93YkHoyU/rWIr8ftbOMuHQY0WRfEgGoSipQpHvRGwciVyE6JVZfYP9tiSojfpSEyhJJqqlIg92OQBnLLTFymn2okhJvW1W1cPnN6/t9uuP5TZGW7xhwComEwZ8LUWbCU9fauVJijz6mjJhsGID3RlkQjEAh7EUnICn4KwJFBj0D+ev+M8p1l8tFNZEMjEROVD7gGHPHIS6KCiEZa11M2YQr85ffuvpzmAdS+vVV5KDr4vEKUS7JgMqQKVCUGaVgTIb1EpmYD3Q1nFKzEqPJXFM2zhxGjmj73F/IPIYgWjbNiF9ImdmM7XG0tbmcVh0Tqsi9ejkc7BPB7eLz1Rw0zrPHR1Vx3BhJf17e0yhwqJUhs48ocSFJiDvrQd+nvitKARc/SdXZV2heeyofz8W7UnH3HcAD/5nhw674oeJtBQ/lvYwoJwnd1QuJtwbYbLr2q0VPEF+s5+P2muRix1K6SmEdoJOTTYvRSY26BXDSyT1111ZlljrKHJRxuhCPplE34zX6HFN5Mbo3JOz1XvYT9S73h46LJzE0Wh/5Np1kY8HfGCWI3MeyUzkvZHI+h9vra+QEf7y222iU5ml5eecdQfp5fh8fH40rAOe6c31N/iHSxUAIZBenpU2xFS8vYopswI0EriqZyqeaYzkU3aqoF4LpzfXgFrbhwCNrSFaqNDg6uAkZGmQQwasehmUalVqtSr5BEOg9NdIWGCxrl0A5+3KY1VhVAXyoH8yn8yzZ8B0sYZ1I8GHU62BjHRWmciinNoL8HTWHceQoEwq0XzaD2ZyMoeSUJIfw++2hgINrMjwXiBAkzJbUwNLb6vT+j7QAu6uoTaSPIxGHylGZVYBfkpv3lETRqM97BtcKTNAThN/wBxq56yPUNQ+WH+2QIbqhhewUQjz7nKeSJprVak4hy81+QYOa4GLQbBXWVCm0LUkruzc0Db+3LtYKtKdJjItaTl1W2wIMrjkSi4pFmW6ZycMjMYwhbmptZ7DBnVNsLT+NIYykmvUrUeuR1p/UFmfANY6hj03F32LwG3jKPDhxbA/uRoLAmuoGy9PBDwpIf9kzmA00sqsR6OUyxTuPrwf+i1tXrCpz1FD4fFBk4SKIkqMOO6es6gPz5O4Ax+xGlNvkppzb2OgdtqiJAlLpQmeq4qb3Hq4uXz7IomlsyFWmHS6X4Yn3w6PJ3B3EPv/6SOj05Wj9dVmnTTuehm9T+s6iEzk/d6eZYJVgK92O27HO6/blo9Tx/H3yEFFk9ZKFfi3FPkSdaDvJPn8Q78AXsA/oesP0TRJrHXN/4lMrKk5fFu0szYT3eAmBN3ltCjIxaNnx55nR6vk8ur91e2VyASe6u8jvU2un8Sz23UWt6wvbTvAS3rD6Nr2b2ZfomE=
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Delete a list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/lists/{listId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Delete a list. This removes the list only — bookmarks within it are not deleted.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the list.","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — the list was deleted successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"List not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/delete-tag.api.mdx b/docs/docs/api/delete-tag.api.mdx
new file mode 100644
index 00000000..a6c2fd90
--- /dev/null
+++ b/docs/docs/api/delete-tag.api.mdx
@@ -0,0 +1,71 @@
+---
+id: delete-tag
+title: "Delete a tag"
+description: "Delete a tag. This removes the tag from all bookmarks it was attached to."
+sidebar_label: "Delete a tag"
+hide_title: true
+hide_table_of_contents: true
+api: eJytVttuGzcQ/ZUB85IIa8kpUiTYhwJy7QBugsJIZBSFI0Cj5WiXEZdkSK4sRVigH9Ev7JcUw12tZMdN+9CnlTjk8MzlnOFeWEceo7LmWopcSNIUaYalyISkUHjl2CZycZksgBCxHMOsUgE81XZDAWJFvAorb2tArWFp7bpGvw6gItxjAIwRi4okRDsWmYhYBpHfiRl/55kIVDRexZ3I7/ZiSejJT5tYifxu3s4z4dBjTZF8SBtCUVGNIt+LuHMkchGiV+ZbxLOKoDHqS0OgJJmoVoo82NUBLyOhLdZOsxNFSurtrqzvP795bbdff6y2MdriDcNVMW2ZYXktRZsJT18a5UmKPPqGMmGwZntM9kwovt1hrASj9xScNYECI/7h/BV/HgL91UJhTSQT4a8//hzSyYnr6iEhNEVBIawarXdjhvDq/OW3jm4NNrGyXn0lObi6SPmEaNdkQAWoVQjK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Ah5L7SGKT6yfh7PfdjhlLStse0fF/Rte2fwPHe5L9
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Delete a tag"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/tags/{tagId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Delete a tag. This removes the tag from all bookmarks it was attached to.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the tag.","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — the tag was deleted successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Tag not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/detach-asset-from-bookmark.api.mdx b/docs/docs/api/detach-asset-from-bookmark.api.mdx
new file mode 100644
index 00000000..0a7d8a5a
--- /dev/null
+++ b/docs/docs/api/detach-asset-from-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: detach-asset-from-bookmark
+title: "Detach asset from a bookmark"
+description: "Detach an asset from a bookmark."
+sidebar_label: "Detach asset from a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9Vm1v2zYQ/isH9ktrKHY6dFihDwPcNQWyFkPRJhiG1IDP4kliTZEsSSV2DQH7EfuF+yXDUZJf0qzrgGGf4lB3x+eeu3uOO2EdeYzKmkspciEpYlHPQ6D4ytvmhbXrBv1aZEJSKLxybCly8TLZARpAtoXS2wYQVoP9VGQiYhVEfiPGGEEsMhGoaL2KW5Hf7MSK0JOft7EW+c2iW2TCoceGIvmQDEJRU4Mi34m4dSRyEaJXpvoCzVVN0Br1qSVQkkxUpSIPtoRY0wkm2mDjNEdSpKTebKvm7uPzH+zm8/f1JkZbPGfgKiaTEfilFF0mPH1qlScp8uhbyoTBho1WB6NMKAbjMNaiy/4j9Inefw09FfCruHGwOAG9YPPgrAkUGPd358/4zyncXywU1kQyEf78/Y+h/ncYoO8dkhDaoqAQylbr7ZQxPDt/+mWca4NtrK1Xn0mmSJzui9QSEO2aDKgAjQpBmSoDZW5RK5mB9UAbxxkxKwOSRDJt4sxp5Hy+Rv6ByGMEouu6hPSBjMdG4Lv7dI2NUNrW3MeAzmlVpHGafQz2YSR29ZGKKDLhPA9fVD3ZhZX0z80yhwaLWhk684QSV5qAvLce2D2R3VAIWH1TqLpt0NwPNPhPRXfSPTc9wEP8xaHdLtgxMZjuj7XttURTZI/UXLmYjbMSZrvD2HSzRGmY7YaW7ATLhL8dRaD1WuRih1J6CqGboVOz26ciE7foFeNO7A2f++KV2OooclHH6EI+m0W/na7R45rITdG5B0dwiDAO3uvBHnosnN2Rfr3novY3H6vYnnK+mfNIZiwTyUhkw49X1jfICH/+9SrxrExp2Z2z7iE9nZ5Pz49Geo9n/vbyC/z7jyoAQiBdntU2xFTVkWplKkAjgct9puKZxkg+ZacKmsJVrQLHBtTa3gXY2haihQYNVocgIQOtQgwZsLxnUKuq1qqq+aSvY5YuWWGxbl0A523lsWkwqgJZDj6YD+bRI2C6WOr6WeHDudZARjqrTAww9B3gqSI4vkOCMqlEy/kwvinIEmpCSX4Kv9kWCjRQkeHdRrymOLM1bftFdVLfO1rB9SW0RpKHyeQ9xahMFeDH5POatmEyGWG/xUqZPeQ3KsQjzKF1zvoIReuD9WcrZKhu7wG3CmHZf1wmkpZaNSou4VNLfguH3cfFIBiVGJQpdCuJK7s0tIk/DSFKRbpXTqYFVAQMPS/jJfuQXMmSYlGn7xyEgdEU5rA0rdZLuEXdEpTWn96hjOQaUQrM9fAExkJjfQLY6hhGbvYqebV1FPhwv/lTNVYE1lA/Xp4IeFJC/sGcwWSilVlPJimXOVy/e7PvN7hTsQab+hw1FB7vNEloKKLEiNPenaV/755WAPARyzQNJqk5RxsDrdMWJUkolSZ4rBpucuvh7ctXT5KKOhtig0nAh405Pnkeeu/cH8jdYSl801OpF42jDdZlve7tBvG82T80gshEfvLq6OeOj8elvsgEjz+77Xbch9dedx0fp1bj19ZBPpPIShX4txR5iTrQV9J5/G5YCU/g75APh2i2SaV1y/+JTKxpe/pi4lfS/3jzSE+36DLRi0VKvv86Lwpy8cjvOPTiaK+9vHhzcXXBxJ9q/j2NT6EfBLTb9RZXrGldt8eXNI7Rdd1fn98Mqw==
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Detach asset from a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/bookmarks/{bookmarkId}/assets/{assetId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Detach an asset from a bookmark.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"string","description":"The unique identifier of the asset.","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — asset was detached successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark or asset not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/detach-asset.api.mdx b/docs/docs/api/detach-asset.api.mdx
deleted file mode 100644
index f08ec416..00000000
--- a/docs/docs/api/detach-asset.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: detach-asset
-title: "Detach asset"
-description: "Detach an asset from a bookmark"
-sidebar_label: "Detach asset"
-hide_title: true
-hide_table_of_contents: true
-api: eJy9VE1v2zAM/SsCTxugxe3QYYVvGdoB3Yah2DLsEPjA2HTsxrZUiW6TGfrvA23nq82KHYblEkt6oh4fH9lBRj51peXSNBDDFTGmhcJGoffEKnemVqgWxqxqdCvQwLj0EM/hw7jlIdHgKW1dyRuI5x0sCB25acsFxPMkJBosOqyJyfke4NOCaoS4A95Yghg8u7JZggZaY20r2SqpzKr1Zlk/3l2+N+tf74o1s0kvhUHJPWTL4CaDoMHRfVs6yiBm15KGBmsBLfYgDaWkaJELCPqf0ZiKUC9ywBFxRCARuLem8eSFw9uzC/k7LsdXo1LTMDWs3owVeUSvsr5KlCnfpil5n7dVtRECF6eCbHVSjWGVm7YRJmNYQaO1VZmioKM7L1dOaGMWd5QyaLDOWHJcDqxTk9FzBYOGmrzH5amzI53mQ4Q9PgnykzUXJoMYMqqIBdHLFkO0raiPun1xQ9Sr46NuFDuAuNI9bD3Xugpi6DDLHHkfIrRl9HAOGh7QlbiohnTG40HDHNuKIYaC2fo4ithtJit0uCKyE7QW9BOhZwWpMYIyueKC1OcRrwYuEEI4aJfvovLw8mHT7CSTlyWPHiZm7kGgx4+PxtUoDD/9nPW6lk1u5LpkPVA6n5xNzg7MuuMzvb05yX96e6Ny447JS7JBgzWea+z9MTp7Oy5E86fhur3H/masDBkzrTmyFZaNPNgXrRsrP9/1sgcN8VFjD8WX7W2vJRoK41mudd0CPf1wVQiyfd+Sk0GV7GvfOyQrvXxnEOdYeXohm1ffRv++Vn9iPm5is+ktVrWyAg0r2hwPJRlE//HlrTwhCRoKwoxcn/xwOk1Tsnxw79loEPfuWvPq+sv17FrkP7btE5v2D5yk1XUDYmZW1ISwY8myFo4h/Abov0RX
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Detach asset"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/bookmarks/{bookmarkId}/assets/{assetId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Detach an asset from a bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - asset was detached successfully"},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/detach-tags-from-a-bookmark.api.mdx b/docs/docs/api/detach-tags-from-a-bookmark.api.mdx
deleted file mode 100644
index 53a255cb..00000000
--- a/docs/docs/api/detach-tags-from-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: detach-tags-from-a-bookmark
-title: "Detach tags from a bookmark"
-description: "Detach tags from a bookmark"
-sidebar_label: "Detach tags from a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVV2v0zgQ/SvRPLGStykrVovydoG70gWEEBTxUPVhGk8b3yaxsSeXdqP8dzTOR1taLmhFH6rEOR7PnDlz3IKmkHvj2NgaMnhFjHmRMG5DsvG2SjBZW7ur0O9AgSxDtoQXw1KAlYJAeeMNHyBbtrAm9ORvGi4gW666lQKHHiti8iECQl5QhZC1wAdHkEFgb+otKKA9Vq6UJUNGl/vDtvp6//wfu//v72LPbPPnkoHhCBkzuNPQKfD0pTGeNGTsG1JQYyWg9RGkwEh5DrkAyUp2UOAXVh8kl3MSFgX1DLBNdCRkBgpyWzPVLHB0rjQ5Cjy9D7LnSmF2fU85gwLnrSPPhkL8GjmcUOg9HiQ9pir80u47fcleF3vzLpZ98U1+pxwt+xxW43pwtg59+L/m8+t0lCZwYjcDHaSFn8To8Pt4GSP/Ajf/TzKLSN0FF9O5Ax/P5s8uKRjlltSWk41tav37Cs+tvtY1BRWFgNurHT0vIUY44ldDxyviwmrIQFNJLIgo/wzScTBC2h5npEujLGSg/cM4ro0vIYMWtfYUQpeiM+nDU1DwgN7guuxLGD73vG2wKRkyKJhdyNKU/WG2Q487IjdD50Bd0dcQQSTGBSVvBnzS5yJdO3Gaj8Jsf/Kp30w0yclSR4SJD0QQqOHhX+srlAxff15ELqVjH46GcDuqahzW5TR3R+lN4zY1ZdWJyWys7BP++uKezuaz+YkKp8pu3t9dZeLm/V2ysf6cBqGtU+Bs4AqjugaLe9yvz6K3R8H+zOZ7Gpn2nLoSTS1nRyW0g4SWk7eKYLIzo+3NRUFhAwuybdcY6JMvu06WvzTk5a5YHTUUGdYmyLOGbINloEeSf/Jh0P4fyY+SHQ2kPkSplo28gYIdHc7vhdi1glCTj1n0gJf9WX8uJMwxwMWUd2rccZPn5PhR7OpkIl/dvr1d3IoihwuoiiYAHr+Civ8xXRurj0KPay2UWG+baArQRxX94rn8v5N7r99rhLRtj1jYHdVdN/HD8i7UdN03RJTKrQ==
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Detach tags from a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/bookmarks/{bookmarkId}/tags"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Detach tags from a bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The tags to detach.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"tagId":{"type":"string"},"tagName":{"type":"string"}}}}},"required":["tags"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The list of detached tag ids","content":{"application/json":{"schema":{"type":"object","properties":{"detached":{"type":"array","items":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"}}},"required":["detached"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/detach-tags-from-bookmark.api.mdx b/docs/docs/api/detach-tags-from-bookmark.api.mdx
new file mode 100644
index 00000000..e69f86ba
--- /dev/null
+++ b/docs/docs/api/detach-tags-from-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: detach-tags-from-bookmark
+title: "Detach tags from a bookmark"
+description: "Detach one or more tags from a bookmark. Tags can be identified by ID or name."
+sidebar_label: "Detach tags from a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJy1VttuGzcQ/ZUB85IIa8kpUjTYhwJy7ABugiBwZBSFY0Cj5WiXEZfckFzbG2GBfkS/sF/SDvci2VaDtEj9IEvkzHAuZ87MVtiKHAZlzbkUqZAUMCsWmPvXzpYn1m5KdBuRCEk+c6piQZGK0ygG1hBYB6V1BAFzD2tnS0BY9XpTYEuQoYEVgZJkglorkrBq4PyUVQ2WNBWJYG2RXonhRS+uE+Epq50KjUivtmJF6MjN61CI9Oq6vU5EhQ5LCuR8FPBZQSWKdCtCU5FIhQ9OmfyR74uCoDbqc73nkQO7hl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FZbwuSbXwG4b4mIQDLMMlMl0LYkruzR0F171JtaKdMfBnBZQAdB3eRkeGU1yJdcUeOEoCNgIO0ZTmMPS1Fov4QZ1TbC27v4bykiuEUXDXA9HYGy3MDrytQ5+yM3It4umIs+H4y44LJBx3eTudUTAjejTj+YIJhOtzGYyibHM4fLi7Yg3uFWhABtxjhoyh7eaJJQUUGLAaafOQ2RUj8ME+IiZn3qRCM5BxkBdaYuSJKyVJniqSga5dfD+9PWzSMyV9YG7M90Ou1+/Mh9akx/243Y3Zv6HTbsjsL3B2SYdB2978r4a91Sm6vTe0tptS4lgemDJ7ZZxeul02/JxhCLv5zv2jtwmlefvUqRr1J6+Eu/Ti34KPYN/cnZYg0wTh4Su+ZdIxIaa+zt2pMauq6MXncCr7q0jxtmegUfjvE0GjXmWURW+Knu9NwtPz96eLc54FvTLfBmnvXB4K5L4Gd3tUBlHTDzbCo0mr+M4F51Vnhx4f/A8GDTd5DiUkO22k1gw87XtmJ/IhJyatv0LslDeoA==
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Detach tags from a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/bookmarks/{bookmarkId}/tags"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Detach one or more tags from a bookmark. Tags can be identified by ID or name.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The tags to detach. Each tag must have either a `tagId` or a `tagName`.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"tagId":{"type":"string"},"tagName":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"],"default":"human"}}}}},"required":["tags"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The IDs of the tags that were detached.","content":{"application/json":{"schema":{"type":"object","properties":{"detached":{"type":"array","items":{"type":"string","description":"The unique identifier of the tag.","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"}}},"required":["detached"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/download-a-backup.api.mdx b/docs/docs/api/download-a-backup.api.mdx
deleted file mode 100644
index 34fd0777..00000000
--- a/docs/docs/api/download-a-backup.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: download-a-backup
-title: "Download a backup"
-description: "Download backup file"
-sidebar_label: "Download a backup"
-hide_title: true
-hide_table_of_contents: true
-api: eJx9VE1v2zAM/SsGTy0gxOnQYYVvKfaBbpdiy7BD4ANjM7Ea21IlOk1q6L8PtJ3PJTvZpijyvcdHt5CTz5y2rE0NCXw2b3VpMI/mmK0aGy10SaCAcekhmcFjF/WQKvCUNU7zFpJZC3NCR27ScAHJLA2pAosOK2JyvkvwWUEVQtICby1BAp6drpeggDZY2VJCmnRebrbL6u3l4ZPZvH8sNswme5D+mruUvv9TDkGBo9dGO8ohYdeQghorSZnvUhRoYWSRCxBEjrw1tScvKD6Mx/I4Jf944BzdvGsbocsKvaZbUJCZmqlmuYTWljpDuRS/ayuhPb0QQlBwP76/Wr02HC1MU+fXi754uXBBNDN/oYxBgXXGkmPdk8lMTv9KGxRU5D0uL52d6DfrKxzy09DzqIgLk0MCS+q6ipQJxL3EPm53Woc4H3wDYgy33o29cSUk0GKeO/I+xGh1vL4DBWt0Gudlj3847iVbYFMyJFAwW5/EMbvtaIUOV0R2hNaCOtN1WlA0VIjMIuKCoh9DftRjgRDCkWN/iax952Pf7jWSzsKjSxNHdUmghpevxlUoCL//mXZC6nph5Lqw7iHdjcaj8ZFt93gmz08X8U+en6KFcafghWxQYI3nCjtDDBbfLykOa3pesz046+pG91yZNhzbEnUtrbpxtcOcZ8MqeVCQHG3VftSpgsJ4lsy2naOn364MQcKvDTn5MaSHQXd2yLWX9xySBZae/oP65ufgztvoGtghiPW281PZyBcoWNH2+DcQ0qCgIMzJdRj640mWkeWji+dLLYbZ2//blykowFObnNmiK34RU9v2GVOzojqEPUSWb8EXwl+BY+PE
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Download a backup"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/backups/{backupId}/download"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Download backup file
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BackupId"},"required":true,"name":"backupId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Backup file (zip archive)","content":{"application/zip":{"schema":{}}}},"404":{"description":"Backup not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/download-backup.api.mdx b/docs/docs/api/download-backup.api.mdx
new file mode 100644
index 00000000..a4551931
--- /dev/null
+++ b/docs/docs/api/download-backup.api.mdx
@@ -0,0 +1,71 @@
+---
+id: download-backup
+title: "Download a backup"
+description: "Download a completed backup as a zip archive. The backup must have a 'success' status."
+sidebar_label: "Download a backup"
+hide_title: true
+hide_table_of_contents: true
+api: eJy1VttuGzcQ/ZUB85BEWEtOkaLBPhRQmqRwk4cgsVEUjgGNdke7jLgkw4ssWVigH9Ev7Je0w71IttK0L33SipzLmdsZ7oWx5DBIoy9KkYvS3GplsHyJxTpakYmSfOGkZQGRi1f9NSAUprGKApWwTLKAHhDupAV0RS03NIXLmobLJvoANW4IEB77WBTk/WPwAUP0U5GJgJUX+bXo/HpxkwlPRXQy7ER+vRdLQkduHkMt8uub9iYTFh02FMj5JOCLmhoU+V6EnSWRCx+c1NVJBIwpavklEsiSdJArSQ7MCsIIlvHQFjk8kQtJslTbXdXcfn7xg9nefV9vQzDFCwYtQxLpQF+Uos2Eoy9ROipFHlykTGhsWGQ5iGRCMgyLoRYchiNvjfbkGfp35+f8c4q4z+JKKjrNs8hEYXQgHVgZrVWySBWd3UnLR2Nu2rZtM/H8/NmplyuNMdTGybu/K/rn73+kfLxMWYdg1qRBemik91JXGUi9QSXLDIwD2loO+AGMQNswswo52m9V55DoYwRiQPr8FGmXbdAmwMpE/dDxcfyfvfm6e7P8TEUQmbCO+z/ILv+FKenfW2gODRa11HTmCEtcKgJyzjhg9Sk3QUPeY/WfTNWxQf3QUK8/Fe29jrruAB7s3xx68DUrprQl/6E2PM4VpSC52XIx67rIz/ZDN7azYd4Fz5vbDNMUnRK52GNZOvK+naGVs80zkYkNOslAU7r6665EK4wqiFzUIVifz2bB7aZrdLgmslO0p1zCfd1bGObvbS8PHRYO54gIPnIVO8/HdDDmmD1zHEmMZy4Jiaz/eGNcg4zwl18vU2KlXhlW56g7SM+m59Pzo8Ee8czfX5zgHy8lD6QntTqrjQ+pjEtj1g26tdQVoC6B63smw5nCQC5FJ4tEkNKzbUClzK2HnYkQDDSosToY8Rko6YPPgFkyg1pWtZJVzSfoPaVfPfCwB+tM5bBpMMgCldpNP+lP+tEj4HQx43XDwYdzpYB0aY3UwUPfaID3596yjxKkTiVazPshTUYWUBOW5Kbwm4lQoIaKNO8TAtQpsjXtYOVMc7++t7SEqwuIuiQHk8lHCkHqysOPSect7fxkMsB+j5XUI+R30ocjzD5aa1yAIjpv3NkSGaodNWAjERbd5SIlaaFkI8MCvkRyOzgskW5bDWwMUhcqlsSVXWjahp96EytJquNHTgvIwHSc8jI4GU1yJVcUijrdsxEGRlOYw0JHpRawQRUJVsbd9yF1yTWiZJjr4Qi0gca4BDCq4IfcvOxbBC53ljwfDic+VWNJYDR14+WIgCfF55/0GUwmSur1ZJJimcPVh3djv8GtDDWY1OeooHB4q6iEhgKWGHDaqTPBj+qJ6IGPmJepF0nNOchoiJaZhspujT2RDTe5cfD+1ZuniTat8aHBxNj92jx6byy/+iLZH6j/f3ycdPxytNLarKPIfc+t1/2C9yIT+dGuH+n1JhNMDiy533OXXjnVtnycGpEfNQdyTRRcSs/fpchXqDx9I+4nH/oN8RT+CWx/iHqXOFxF/icysabd8eOkvWkz0U10wtBdz4uCbDhSfPjEYJIeV87Pry9FJvA+NT+g4mT8q5j2+07ikqmnbUeIiYoYX9v+BSrqvTM=
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Download a backup"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/backups/{backupId}/download"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Download a completed backup as a zip archive. The backup must have a 'success' status.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the backup.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BackupId"},"required":true,"name":"backupId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The backup file as a zip archive.","content":{"application/zip":{"schema":{}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Backup not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/get-a-single-asset.api.mdx b/docs/docs/api/get-a-single-asset.api.mdx
deleted file mode 100644
index 63b18a94..00000000
--- a/docs/docs/api/get-a-single-asset.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-a-single-asset
-title: "Get a single asset"
-description: "Get asset by its id"
-sidebar_label: "Get a single asset"
-hide_title: true
-hide_table_of_contents: true
-api: eJx9U02P0zAQ/SvWnECymi4SYuVbhWC1cFlBEYeqB7eZNqaJ7bUnpSHyf0fjeEu72uUUf7zMezPveYQa4zYYT8ZZUHCHJHSMSGIzCENRmBokkN5HUCtY8E2EtYSI2z4YGkCtRtigDhgWPTWgVuu0luB10B0ShpgBcdtgp0GNQINHUBApGLsHCXjSnW/5yKCp29Ow737/uv3gTn/eNycit71lekMZkunva0gSAj72JmANikKPEqzuGKELQoLhbrymBlhPwOidjRhZw7v5nD/XjefaYussoaWZ+DgtBOsVJoqam+mMxZoHQw2WKfH9DFKS0CE1rgYFeySQE7WCKsNiNRZlCXh24fg0mT60oGDUdR0wxlRpb6rjDUg46mD0pp0Ul+tJ9U73LYGChshHVVUUhtlBB31A9DPtPchnrS1Z7VRBuF0W/7XgxaQFUkoXpn5nuybmS2vP7jEz95FhoAoIZFl8dqHTrPDLz2UejbE7x79z15Okm9l8Nr9w9qxn8XD/ov7Fw73YuXAtnptNEryL1GnLDCUGOcUiGrtvi1HPi45QrH4981OvhCeqfKuNZaps11jMXU1xiyBBPQVvLaFxkfhyHDc64o/QpsTHjz0Gfi7rf97mBNQm8roGtdNtxP/ofPOthP6teE1fOdR2yBFqe96BhAMOF68jrS/zevdpCRL0tcXPLM1KXyw+jhNi6Q5oUzpzEe+ZKaW/hvt+aA==
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get a single asset"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/assets/{assetId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get asset by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Asset content. Content type is determined by the asset type."}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-a-single-backup.api.mdx b/docs/docs/api/get-a-single-backup.api.mdx
deleted file mode 100644
index da620ed9..00000000
--- a/docs/docs/api/get-a-single-backup.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-a-single-backup
-title: "Get a single backup"
-description: "Get backup by its id"
-sidebar_label: "Get a single backup"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVMGO2zYQ/RVhTi1A2E6RooFubpEG2yBo0G6Rg+HDSBpbXEskQw43dgT+ezGU1uv1aoMccrLMGc689+ZxBmgo1F471tZACe+IiwrrQ3RFdSo0h0I3oIBxH6DcwO85FGCrIFAdveYTlJsBKkJPfh25hXKzTVsFDj32xORDTgh1Sz1COQCfHEEJgb02e1BAR+xdJ0eadNMdT/v+y92b3+zx66/tkdnWb6S/5pwy9r9pICnw9DlqTw2U7CMpMNhLSvWQokALI4fcgiDyFJw1gYKg+GW1kp+n5P+u7qjm4ovm9kGEBhkXoKC2hsmw3EHnOl2j3FneBbk4Q8/mUqDAeevIsx7b6ua5BElBDORv5kMYAvFcTIGJXYeV6CICJAW1J2Rq1jxbKeivdBEwsa/IS6Cy9tCjP/xho+HZjMDIMcxOz8RejOHINONJiHVNIYCCHeoueoJtUkDeW/+BQsA9fQeXJ+PdQPbgJNKjJJeEJ3rXZM7QtylJ0der18/HPpqqMJaLnY2m+XHjrm0zwzYp6F9S4pp5rvCYn2nk+9zaBkrYU+4qHi9hOZo2LIeHR5BEAfL3D88w+g5KGLBpPIWQluj08v4VKLhHr0X/DHsKj0rtMHYMJbTMLpTLJfvT4oAeD0Rugc6BupLztqViqlDYXcEtFe+n/GLEAimliw3yr6g5dr7cI2dppLPwyGnywnOSzDp//Gl9j4Lwr0+3WT9tdlauC+sR0qvFarG6WCNnPOuPN7P41x9vip31T8EL2aTA2cA9Zh9MK0eWJhZBm31H0+K4rjo8WurFHTuyZTry0nWoTd4MMrBhGvBmWm7yuMrzntsqaG1gCQ9DhYH+811Kcvw5kpf9vH2cb3ZBo4N8N1DusAv0Dag//TN58efiJYTTIZpTtlEX5R8oONDpchsn2QItYUM+YxjD67omxxcXn702McrZ7e/e3sr7f2qPKzvk6rOghmHMuLUHMimdMbL8F4Ap/Q8pJ2jm
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get a single backup"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/backups/{backupId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get backup by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BackupId"},"required":true,"name":"backupId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with backup data.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"assetId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"size":{"type":"number"},"bookmarkCount":{"type":"number"},"status":{"type":"string","enum":["pending","success","failure"]},"errorMessage":{"type":"string","nullable":true}},"required":["id","userId","assetId","createdAt","size","bookmarkCount","status"]}}}},"404":{"description":"Backup not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-a-single-bookmark.api.mdx b/docs/docs/api/get-a-single-bookmark.api.mdx
deleted file mode 100644
index 1c436efd..00000000
--- a/docs/docs/api/get-a-single-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-a-single-bookmark
-title: "Get a single bookmark"
-description: "Get bookmark by its id"
-sidebar_label: "Get a single bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJzNWF9v2zYQ/yrCvWwDhDgdOqzwW1psXTasDZYUewj8cBJPFmOKVEnKiWPouxdHyZKcyImcBtieoph3x9/9v+MWBLnUytJLo2EOH8lHiTGrAu0qSjaR9C6SAmLwuHQwv4b37aGDRQyO0spKv4H59RYSQkv2rPI5zK8X9SKGEi0W5Mm6QODSnAqE+Rb8piSYg/NW6iXEQHdYlIp/kiSFutssi9ubd7+au/tf8jvvTfqOEUgfSHYIzgXUMVj6WklLAubeVhSDxoKJkp4oBsmalehzqOMRGIkxilBDDIIyrJTfydo3zXkWOfKRN1E47cz0g4tSoz1pH91KpaKEIqlTVQkSkdSRzymy5EqjHZ1En4ynOPK57JlS1Myj0C4pyoyNnCmok+5O9rXMULn/D7TO3q3YDw3jzuZfK7Ib4FDYXePY7j+fnvKffR0+JzeUMk6f9xEo0CPf0gJiLixLJVNkrtmNY9YRl5ogDGIorSnJetlcLMXj6KtjSC2hJ3HmR08LI2Qmx49j0JVSmHBgsunrLkwnUKJNc7kmMRKKdQwZrg0n16F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z37lANnBAaUE4oeF673rYEZ2lK5RDuo8LC8LvE/vjbFTQz4nDt34/64f61D2u7bSiuzIp0XXcoPf/PAOv6G9QU5oo=
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get a single bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/bookmarks/{bookmarkId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get bookmark by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"boolean","default":true,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."},"required":false,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.","name":"includeContent","in":"query"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with bookmark data.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-a-single-highlight.api.mdx b/docs/docs/api/get-a-single-highlight.api.mdx
deleted file mode 100644
index 0916ef9d..00000000
--- a/docs/docs/api/get-a-single-highlight.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-a-single-highlight
-title: "Get a single highlight"
-description: "Get highlight by its id"
-sidebar_label: "Get a single highlight"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVcFu2zAM/RWDpw0QknTosMK3HLau22HD1mGHIAfFYmw1tqRKdJvM0L8PVNzESd1ih53imE/U4+Mj3YHCUHjtSFsDOVwjZZUuq1qXFWWrXaYpZFqBAJJlgHwBn5+iAZYCAhat17SDfNHBCqVHP2+pgnyxjEsBTnrZIKEPCRCKChsJeQe0cwg5BPLalCAAt7JxNb/SqFW93ZXN493VB7v9877aEtniiiloSpADhRsFUYDH+1Z7VJCTb1GAkQ2jqgFKgObqnKQKmJfH4KwJGJjLu9mMf06F+La6w4KyR03VQBAlSU5AQGENoSE+Jp2rdSH52PQu8NmROm3KBgKctw496f3NK2s3jfSbG/VckyggkPT0bb0OSIO4aZsVeo6jUa9EC1tbP6q1aRvu5A7r2j4Cq8EKlR7RgIBV3SK3VuFatjVB/gSMAgi3NJbStHUtV9wcbkEUYCzhPwH1eOltQP+CKoVHSajmI0TiiRsWQ31P1Rxq11fVc06MDvcPb1uOGBBi5DsvZ5fPHXQAZcZStratUf/POYVVI/pGAQ2GIMux2Jk2KcMRv4z7UhqkyirIoUzSpInJYXoYgTDtBoMVWVf0D08D3voacuikUh5DiFPp9PThAgQ8SK+574l8H95L9mSyisiFfDolv5tspJcbRDeRzoE40/W2wqzPkNl1RhVmX3t8tufCXRnspp+saT9wgw11EIhv5joSDPIexJOQHj5Z30hm+OX3bVJRm7Xl41z1ntLFZDaZDRbUgc/8+80o//n3m2xt/Sl5LjYKcDZQI5Mb+k3GS1lmQZuyxuMyOk/cHb312hrf18yWn7paapOmjdvW9c1eHDdnAAH5cI8uBVQ2EIO6biUD/vJ1jPz6vkXPX4HlsdfJEUoHflaQr2Ud8BXOb3707nybvcSzfynNLlmKF1UOIGCDu7OFH5dRQIVSoU809oh5UaCjwdlnI8i+OYzA9cdbECBP3XLmjpR9lFfX7RG3doMmxgNN4v9MMMa/V8aQOg==
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get a single highlight"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/highlights/{highlightId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get highlight by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"HighlightId"},"required":true,"name":"highlightId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with highlight data.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"404":{"description":"Highlight not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-a-single-list.api.mdx b/docs/docs/api/get-a-single-list.api.mdx
deleted file mode 100644
index f826bf41..00000000
--- a/docs/docs/api/get-a-single-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-a-single-list
-title: "Get a single list"
-description: "Get list by its id"
-sidebar_label: "Get a single list"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVUFv2zoM/isGTxtgJNmwhzf4Vjy8Dd0GbNg67BD4wFhMrFaWNIlukxn67wNlN01ab9hhp8jiJ/Ij+ZEZQFFsgvasnYUK3hIXRkcuNodCcyy0ghIYdxGqNXzQkSPUJURq+qD5ANV6gA1hoHDRcwvVuk51CR4DdsQUYgbEpqUOoRqAD56ggshB2x2UQHvsvJErTVqZ/WHX3V2//tftf/zT7pld81qia84QiX6pIJUQ6HuvAymoOPRUgsVOAGYElKAlE4/cgrAJFL2zkaIweLlayc950h8319Rwcae5HZNXyLiAEhpnmSzLC/Te6AblxfI6yrOZxFx2BCX44DwF1mNQrZ4mn+5pzxjO2D2tmu2NwY3URNJPJehmDphyI8hKTf7EywiYaZLtO+l+h7ZHAyXEDgOLDBRtsTcM1b0tlfC9p3D4o3i+3xjdnEA3zhlCK15ajP85wbuA7EKcR/WRwmdnfsva3VkK8q00OzncarrLN1P8Op0pag1Z8rk3U2VP6nh8NUPxhE99rlpISYK8Wr16qj2xF9ZxsXW9VX9Pc41T8+LqKEbczdke1SF7eMDXacyiI26dggp2lKPKmFWwlLmJy2GcwSQqoXB7vwH6YKCCAZUKFGNaotfL2xfSDAxaRJEpT+axRvfKapl9rJZLDofFDQa8IfIL9B4ejQlctVRMHgq3Lbil4v2EL0Yu0oaT5fVFKjlGPl1hx7JIZMkjw0R4GQTldHjjQofC8N23q1w7bbdOnkvWI6UXi9VidbLBjnwuPl3O8r/4dFlsXTgnL8nKuLjIHWYNTPtOdjUWUdudoby3HvscHsT0i8U+Zsq056U3qMepkmYNU2PXeauKuKtpvdYltC6ymIZhg5G+BpOSXE+jv64f+pq7r3SUs4JqiybSb0g++zzp73nxK3bTJdpDlo/p5QtKuKHDw19AqmWHECoKmcFovGga8nzy7Ml8iTyO+n77/xWUgOeieCSC7H2W0jCMiCt3QzalI0OWbyGY0k9EOoyc
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get a single list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/lists/{listId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get list by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with list data.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}}},"404":{"description":"List not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-a-single-tag.api.mdx b/docs/docs/api/get-a-single-tag.api.mdx
deleted file mode 100644
index 7375b7f6..00000000
--- a/docs/docs/api/get-a-single-tag.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-a-single-tag
-title: "Get a single tag"
-description: "Get tag by its id"
-sidebar_label: "Get a single tag"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVMFu2zAM/RWBpw0QkmzosMK3FNiKbocVW4YdghwYm7HV2JYq0W0yw/8+UHbTJPW6y06WRYp85HtkCxmF1BvHxtaQwDWxYszVeq8MB2Uy0MCYB0iWsJDvSkOgtPGG95AsW1gTevLzhgtIlqtupcGhx4qYfIgOIS2oQkha4L0jSCCwN3UOGmiHlSvlypDJyt0+rx7vLj/a3e8PxY7ZppeS3HB0WWB+k0GnwdN9YzxlkLBvSEONldg52jUYqcIhFyBYPAVn60BB8r+fzeRzWvC39R2lrB4NF6o0gVWGjBPQkNqaqWZ5gc6VJkV5Mb0L8mykLBsDgQbnrSPPpk9qspeld0+oxwxNdWXttkK/DUcOdVOtyZ87XO3nzJgWlC2i27/AoBkNWTQV1iOWrjvp9xKiHCL0M6CvwlqdsDiEvZhdvCRjgbmqLauNbers/3GQ2my82RWFgPmY7azwGOHZf9X1RVTEhc0ggZxiVpFdAlMZmGkbFdmBzIt/eJqGxpeQQItZ5imEborOTB/egYYH9AbX5cBTb+4btMGmZEigYHYhmU7Z7ydb9LglchN0DvR5FwtSQwRlN4oLUl8Hf9VjEQ6OBvmH9LHPfDzOh6ZIZqkjukEyOIEeDp+tr1AQfvm1iJ0z9cbKc6m6h/RuMpvMjqb5gGd+ezOKf357ozbWn4KXYjsNzgYeBDsMv2wtVMHUeUmyvs5Dts9KGt9wfZ1MO566Ek0taSJV7UDqst+CGpJ+0aw0FDawGNp2jYF++rLr5Pq+IS+rcfXMaWQ+M0HOGSQbLAO9gvDN90F5b9XfsA2XWO+jdMpG/kDDlvaHXditZLQJM/IRQG+bpyk5Pnr1YrBEGQdhX39agAY81cMZ/zH6KKK27T0Wdkt11z0DlH8B2HV/ANg2NwA=
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get a single tag"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/tags/{tagId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get tag by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with list data.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"numBookmarks":{"type":"number"},"numBookmarksByAttachedType":{"type":"object","properties":{"ai":{"type":"number"},"human":{"type":"number"}}}},"required":["id","name","numBookmarks","numBookmarksByAttachedType"],"title":"Tag"}}}},"404":{"description":"Tag not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-all-backups.api.mdx b/docs/docs/api/get-all-backups.api.mdx
deleted file mode 100644
index 10776c8d..00000000
--- a/docs/docs/api/get-all-backups.api.mdx
+++ /dev/null
@@ -1,63 +0,0 @@
----
-id: get-all-backups
-title: "Get all backups"
-description: "Get all backups"
-sidebar_label: "Get all backups"
-hide_title: true
-hide_table_of_contents: true
-api: eJyNVMGO00AM/ZXI51Hb5ZhbQYAWhFiJIg6rHtzEbWabzMx6PAslmn9HTrNtWirBqenY43nP79k91BQrtkGsd1DCR5IC27bYYLVPIYIBwV2E8hHejidrA5GqxFYOUD72sCFk4mWSBsrHdV4bYIrBu0gRyh7eLBb6c/nK180TVVL8tNJMXytqFJyBgco7ISd6EUNobYV6cf4U9XYPsWqoQ/2SQyAowQ/1wEBgH4jFHt9+JXFORGY8gAEr1MV/F7D1JCcKW7eDbCBF4vvbIYyR5FbMgEtti5uWoBROlA1UTChUL+VmpWh/0yTgUrch1sDG+32HvH/nk5ObGVFQUryFgVzqVMxArj6exFRVFFXoLdo2McE6GyBmz18oRtzRf3DJKvpzsky1Vrc1nJp0bsmU8EjvmswJ+jpf13zVUiMa60gaX0MJOxp0Q/UfzM++jcQvxHHwaOIWSuixrplizHMMdv5yBwZekK3yGJo1ho923WJqBUpoREIs53Phw2yPjHuiMMMQwFx5etVQMVYo/LaQhorPY35xxAI558n0fFMXj0adzNCp2fqy8hjSoByTtGfDxwfPHSrCTz9WoB2xbuv1urI+QrqbLWYLHWErKhWc8Cwf7m/iXz7cF1vPl+CVbDYQfJQOh/lzOAD6e1dcVOzPY3xrrRxJCv2SeWjRumGwVKd+FHOiuYHGR9Gjvt9gpO/c5qzHz4lY19D6LOWwhQw0hDXxoP6eDlDCsqooyKB5m4ZdcL1ZVJyTrT6+X6l3LyW5kmCo/rpZ3GFSu++PGSu/J5czmBGE6H/IauI/FkLfgQ==
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get all backups"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/backups"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get all backups
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with all backups data.","content":{"application/json":{"schema":{"type":"object","properties":{"backups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"assetId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"size":{"type":"number"},"bookmarkCount":{"type":"number"},"status":{"type":"string","enum":["pending","success","failure"]},"errorMessage":{"type":"string","nullable":true}},"required":["id","userId","assetId","createdAt","size","bookmarkCount","status"]}}},"required":["backups"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-all-bookmarks.api.mdx b/docs/docs/api/get-all-bookmarks.api.mdx
deleted file mode 100644
index 7beabd7f..00000000
--- a/docs/docs/api/get-all-bookmarks.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-all-bookmarks
-title: "Get all bookmarks"
-description: "Get all bookmarks"
-sidebar_label: "Get all bookmarks"
-hide_title: true
-hide_table_of_contents: true
-api: eJzNWM1u4zYQfhVhLr0IcbZH37KLdpsW3QRIFj0EPoylkcU1RWpJ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KkbnuauQI2qEDXabr+l8PeBBBcggNyddaasz9cIkbdMgpHkJ3VoXFeoQhFIs2SjB00we9czqeog9G4MNONt6A9r1W11kNRdrnfDEMmfv1ALCBip5cN3We7fF49zCSM1J1iyuh2N9hJdG2PjAVuVLnMIdVSBfySgJmY5GWzGa/l/CNEOwwzw1Z286wFrPNB84/GsEW+vrsjsMYth/9S+dqO5/NnNlerNHgmqi+wLqG43nzvqSkk5Dows+Rf3X0SbCFjR+tVO54NuvGr9FipQ8ja/Z1zmQ8n3giLlb/43dtKmQL//zn3udCqEIzO3sdTPpwcXlxOdoP9PZc3V5H7b+6vfYj7YHx7Cy/l9o67m7nu/18G1siHTWMPdrFN07BUX45ZrVE4WevrmkNKR1XySKFUlvHH3e7JVrG5rblz2Gk5kTnwnI6h53AmraHO6YNyoaV+rXHCfKDGzSFYbz/mUK/3/BMoe1XNi8Tnwz8f7gHieY3ePVsNzJ4txiupV8zplAScmw5wYH7KsuoHnM9232wlB4kPv92D6E3HI/7h9dpPHeh2o5k73aB4l6vSbUt7F1w/D+0jNT/AhF9X5k=
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get all bookmarks"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/bookmarks"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get all bookmarks
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"boolean"},"required":false,"name":"archived","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"favourited","in":"query"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false,"name":"sortOrder","in":"query"},{"schema":{"type":"number"},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","title":"Cursor"},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."},"required":false,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.","name":"includeContent","in":"query"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with all bookmarks data.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-all-highlights.api.mdx b/docs/docs/api/get-all-highlights.api.mdx
deleted file mode 100644
index a2577cf4..00000000
--- a/docs/docs/api/get-all-highlights.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-all-highlights
-title: "Get all highlights"
-description: "Get all highlights"
-sidebar_label: "Get all highlights"
-hide_title: true
-hide_table_of_contents: true
-api: eJyNVU2P2zYQ/SvCnAl706NuRtGm2x6yQLfoYeHDWBpbjCmSGY42MQT+92Ik2ZY22qS+2KYe37z5euqhplSxjWKDhxI+khToXNHYU+PsqZEEBgRPCcoX+ON+uDeQqOrYygXKlx4OhEy866SB8mWf9wYiMrYkxGkApKqhFqHsQS6RoATftQdiyAaYvnSWqYbyiC6RAY+tIpxtrYABq8K+dMQXyGaFKQlbf1KdVpwe/NpxCj+krkbEknuv+BSDT5SU/peHB/1aFujT4TNVUny10rwpVFGj4AYMVMELedG7GKOzFerd7eekBCv6w0AJBiKHSCx2DD9rwR2LzHhR3UJt+jnHIYRzi3x+rL+vVzaQBFk+HY+JZLUz5OsfPK2CC7zWB/Jdq/NyIefCV9Cy1mDgxEQeDBxcRzpANR2xcwLlFZgNCH2TNUrfOYcH7a5wR9mAD0L/C2jXU+8S8TtVqZhQqN6tCMmLmXqZ13dZzXntpqwmzYOiW/x5tP19gm+bNkT09E2mmf55xm8ULhZ5RjQL9oQn61XDbL+zfgy0JE2ooYTTkEdE3W/YLkgT8et1yzt2UEKPdc2UUt5itNvXD2DgFdmqyGEqp8fjcl1noBGJqdxuhS+bMzKeieIGYwTzZgOfGyomhiIcC2mo+GvCF6MWVT8zqL914aZ9mNnUrZIaWfMYYFBOIB3U4cfvgVtUhX/++zy0w/pj0Oua9Sjpw+Zh8zAzoJue3dPjqv7d02NxDLwUr8lmAzEkaXGwismtVk15QdrfTecdCx9T1UHcRofWDzug3eqnri5GZW+gCUn0tO8PmOgfdjnr8eiV2uvaJu3o3VvPdJm59ivqmpcwePY72JsN38H7+6wMbxIDDWFNPIQcb+2qiuI8xHcuqyy30f342zMYwGXP3/R4YL9arL/MuPt+RDyHM/mc4Spd9D/kfc75P+nqe/Y=
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get all highlights"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/highlights"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get all highlights
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"number"},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","title":"Cursor"},"required":false,"name":"cursor","in":"query"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with all highlights data.","content":{"application/json":{"schema":{"type":"object","properties":{"highlights":{"type":"array","items":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}},"nextCursor":{"type":"string","nullable":true}},"required":["highlights","nextCursor"],"title":"PaginatedHighlights"}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-all-lists.api.mdx b/docs/docs/api/get-all-lists.api.mdx
deleted file mode 100644
index 18531d85..00000000
--- a/docs/docs/api/get-all-lists.api.mdx
+++ /dev/null
@@ -1,63 +0,0 @@
----
-id: get-all-lists
-title: "Get all lists"
-description: "Get all lists"
-sidebar_label: "Get all lists"
-hide_title: true
-hide_table_of_contents: true
-api: eJyNVMFu2zAM/RWDZyHJdvQtGLai24AVW4YdghwYm6nVyJIq0e0CQ/8+UHYSJw22nSxLj+QjH8keaopV0J61s1DCHXGBxhRGR46ggPExQrmGr/l/oyBS1QXNByjXPWwJA4Vlxw2U603aKAgUvbORIpQ9vF8s5HMZ4dv2iSouXjU350hFjYwzUFA5y2RZzNB7oysUs/lTFNseYtVQi3LigycowWVvoMAH5ymwHiIP9M8wDAEPoEAztfHf5rqeYCIHbR8hKbDY0s2Hiwyv3xXYzhjcGoKSQ0dJga5uAZMCj4Es398If8PLAHgLJNu1olmLtkMDCmKLgUW8mnbYGYby+JYUPHcUDv8Vz3dbo6sJdOucIbTipcH4wQneBWQX4m1UFyl8d+avrN2rpSD/tWYnhxdNr/lmjL9JSfrsudOBarHQNYzajJWd1PFkdYPihM9GAWsWYrnTIV3HGBpqk1J+aYkbV0MJj5SbB2UAYH4cmkjhhaQG6x66YKCEHus6UIxpjl7PX95JWhi0lDeXanwepuWoUcPsYzmfczjM9hhwT+Rn6D1cNRysGipGD4XbFdxQ8WXEFwMXSWgyvD9kjIbI0xE+iSKRJY8MEwkzCNR4+ORCi8Lw868VSD203Tkxl6wHSu9mi9kCzlU98Vk+3N/kv3y4L3YuXJKXZKXxXOQW88QMI/hmTV0N4GmLvN1nQ4JMv3nuDeqhLUWjfpTxpLWCxkWWi77fYqSfwaQk1+PErDdnEfP6U9AQ1hSy7ns6QAnLqiLPWW3T5UV0vdREllM73X1cgQK8FOOq+Nn7ca3Zw8R33w+IlduTTQnUSILlH5I07x+0owYu
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get all lists"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/lists"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get all lists
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with all lists data.","content":{"application/json":{"schema":{"type":"object","properties":{"lists":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}},"required":["lists"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-all-tags.api.mdx b/docs/docs/api/get-all-tags.api.mdx
deleted file mode 100644
index 50358c6f..00000000
--- a/docs/docs/api/get-all-tags.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-all-tags
-title: "Get all tags"
-description: "Get all tags"
-sidebar_label: "Get all tags"
-hide_title: true
-hide_table_of_contents: true
-api: eJydVU1v2zAM/SsGz0LS7uhbWmxFt8MKLMMOgQ+MzcRqbEmV6KyB4f8+0HK+0zTYSXFMPj6ST88tFBRyrx1rayCFJ+IEqyphXAZQ0B/pDKZyZgoC5Y3XvIF01sKc0JOfNFxCOsu6TIFDjzUx+dAHhLykGiFtgTeOIIXAXpsldAo8vTXaUwHpAqtACgzWEiHHozWM2kh9LZzeGvIb6NTHgArINLUQ7WEUNAGXcnqqaI0mJyFf0AKbiiEdXl+hEazn/ymPGhSUTY0GFBhrCLIrVZAZ85KKh83tta7A5Y0P1t8AZZp6ThJomqrCeUWQsm/oCnSla306kEzCg7MmUBDwL3d3chzr6ef8lXJO/moud7pKCmQcgYLcGibDkoXOVTpHyRq/Bkm9wNv2YKDAeevIs46Fo0h3Ueg99gNlqsPn2bq4OOTY+KUXTf1g7apGvwrnMz0JeNhMhh1P+7DPyKC+CBkVdf6m6452NpNm1PYOHBG9SitTwJpFBnLRQUANvfNj1NMFuZ/o5oTE4B0HEFkXqdbEpS0ghSX1vaNYB4yHhEB+vbWOxleQQotF4SmEboxOj9f3oGCNXkvpOK74Ospue7lLZhfS8Zj9ZrRCjysiN0LnQJ1oc1pSMiAkdpFwScmPIT6JXGTCB673SwQZKx96324+Uln66MMgHYJADT++WV+jMPz+Z9oPWZuFlXTpOlK6H92N7mC/jh2fycvzRf6Tl+dkYf0xeWm2U+Bs4EE3wzU+cfcjuHZ/Hc++ArE9pnceuwq1EfR+Q+2ww2HpmYLSBpbntp1joN++6jr5O3qGbLbQQfa3t5gVbc6Nf41VIzV7A/sgZTDpW0KPnPaWhJ2X3hK8dcd9bLYXav9tVFASFuT7CcSkSZ6TO8w6s0BB2d2Yp69TUIDHgjsRWI++dUFz2GrbxoipXZHpOtgyZ3mGTu7nPyWsuhQ=
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get all tags"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/tags"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get all tags
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string"},"required":false,"name":"nameContains","in":"query"},{"schema":{"type":"string","enum":["name","usage","relevance"],"default":"usage"},"required":false,"name":"sort","in":"query"},{"schema":{"type":"string","enum":["ai","human","none"]},"required":false,"name":"attachedBy","in":"query"},{"schema":{"type":"string"},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"limit","in":"query"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with all tags data.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"numBookmarks":{"type":"number"},"numBookmarksByAttachedType":{"type":"object","properties":{"ai":{"type":"number"},"human":{"type":"number"}}}},"required":["id","name","numBookmarks","numBookmarksByAttachedType"],"title":"Tag"}},"nextCursor":{"type":"string","nullable":true}},"required":["tags","nextCursor"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-asset.api.mdx b/docs/docs/api/get-asset.api.mdx
new file mode 100644
index 00000000..7d70d0eb
--- /dev/null
+++ b/docs/docs/api/get-asset.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-asset
+title: "Get a single asset"
+description: "Download an asset's binary content. The response Content-Type header is set based on the asset's MIME type."
+sidebar_label: "Get a single asset"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9VduO2zYQ/ZUB89DE0NqbokUDPRRwrtgmAYJkF0WxWcBjaSSxpkiGHO1aMQT0I/qF/ZJiKNnrzW7zWL/YJofDM2cOz+yU8xSQtbNnpcpVTbyMkVhlqqRYBO1lS+XqpbuxxmEJaAEl4ocIa20x9FA4y2R5DucNQaDonY0EL8bVk/PeEzSEJQXQESIxrDFSCc4CN3RI9v7s/Svg3tNcZYqxjiq/VAlLVFeZilR0QXOv8sudWhMGCsuOG5VfXg1XmfIYsCWmEFNALBpqUeU7JRlVriIHbet7VQnizuovHYEuybKuNAVw1S0yQUNbbL2RNJp0abZ93d78+ewXt/36c7NldsUzgaw5hSTIZ6UaMhXo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oiDPR+eOU18djZo3r85VpvCuO3/jxinvg2h2uzHiXNxnGA7gkhsJtGH4F4TkX+M=
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get a single asset"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/assets/{assetId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Download an asset's binary content. The response Content-Type header is set based on the asset's MIME type.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the asset.","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The asset's binary content. The Content-Type header reflects the asset's MIME type (e.g., image/png, application/pdf)."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/get-backup.api.mdx b/docs/docs/api/get-backup.api.mdx
new file mode 100644
index 00000000..b297d4f0
--- /dev/null
+++ b/docs/docs/api/get-backup.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-backup
+title: "Get a single backup"
+description: "Retrieve metadata for a single backup, including its current status (pending, success, or failure)."
+sidebar_label: "Get a single backup"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9Vu+KGzcQf5VB+ZKYPftSUhr2Q8FJk3BNCiG5o5TLgce7Y69irbSRRnfnmIU+RJ+wT9KOdr322U4pFPrJa41m9Jt/v5mNcg15ZO3sRalytSR+gcUqNipTJYXC60ZkKlcfiL2mW4KaGEtkhIXzgBC0XRqCedLKQNvCxFLbJWgOUETvyTIERo4BHjdkRZZBiEVBIWTgPCxQm+jpyVhlinEZVH6tOhBB3WQqUBG95rXKrzdqTujJTyNXKr++aW8y1aDHmph8SBdCUVGNKt8oXjekchXYa7s8cueyIohWf4kEuiTLeqHJg1sAV1tnBA/dY90YsaNJl+Z+vazvPj//wd1//b66Z3bFcwGtOV3pQF+Uqs2Upy9ReypVzj5SpizWcmW+vZIpLTAa5EqJG55C42ygINC/Oz+Xn2PEYpUCU7kHsXCWybIoYNMYXaRsTj4H0ToREDf/TAWrTDVecs+6e1OXx0FrMxUD+YvTIgyB+JQsUzYag3MJinjfZqrwhEzllE9aCvor7QlsrOfkRTB3blWjX7100fLJG11lncJANtZSSn3NqUz1Racy1ZecumkzRd47/wuFgEv6F748yO21hG0I0i4k+w737h06M0C/aVsx+uz86XHOryxGrpzXX/9O+Z+//5Gq80XqAWC3Igs6QK1DSE2l7S0aXaamovtGIB4UCNM9TxqD+nRp7GI3lP0+ArVF+uwYaVf7YB3DwkV7+PB/qczClScT8xDAFGosKm3pzBOWkjBImQVRH0up1N/O8aGpKtZoDw31+mN1WAMJ4M7+zY4RXoliClt6nyvXk6w4Ka2fq0nXyWGy2XJDK7VB/nZLadEblasNlqWnENoJNnpy+1Rl6ha9FnwpSr24y8wCo2GVq4q5Cflkwn49XqHHFVEzxuaY3YVcegtbEnzb34cOi3ixx8YfJXndy/ucPIRWXhY/0jUhvnRJuiB9vHa+RkH486+XKZ7aLpyoi9cdpKfj8/H5HrsOeKbvL47wD0IdZCaRWZxVLnDK3rbvZCihLUHSeqb5zCCTT97pgsZwWekgtgGNcXcB1i4CO6jR4nJnJGRgdOCQgYyqDCq9rIxeVnKSul9+7ZafAzTeLT3WNbIu0Jj1+JP9ZB89AgmXjJ2uJ+RwagyQLRunLQfo6wvwYbs38kYJ2qYUzaZ9byYjM6gIS/Jj+M1FKNDCkqwMdwK0ybMVrWHhXf0wv3c0h6sLiLYkD6PRR2LWdhngx6TzltZhNNrCfo9LbQfI73TgPcwhNo3zLFM/OH82R4HaDBpwqxFmnXCWgjQzutY8gy+R/Bp2k1ySIcOuG4n9TkGS2Zmle37Zm1hoMh0tSlhAM2Do4rJ9ZDApmVwQF1WSixEBRmOYwkwIfga3aCKlnebBG9qWkiNKhiUfnsA6qJ1PAKPhsI3Ni75E4HLdUJDD7UlI2ZgTOEtde3kikE4J+Sd7BqOR0XY1GiVfpnD14d1Qb3CnuQKX6hwNFB7vDJXDEjbu1IXXB/XE7yBHQsfUX0nFub1jITbGYUklLLQheKxrKXLn4f1Pr58ktmxc4BoTUfe7yxviw33vsA83O87/vxbGjm72BpssLcKYm55hr/ulS+Z+PuxfN5kSghDxZiOVeuVN28pxKkbZLncEm2i41EG+S5Uv0AT6B88ff+iHwxP4FsL+EO068biJ8k9lakXr/S2xlQWl6+qEoRNPi4Ia3lM8mq7C1MO4efPqUlaTh/x8wMfJ+klQm01341L4p20HjImPBGDb/gWcCEi2
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get a single backup"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/backups/{backupId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve metadata for a single backup, including its current status (pending, success, or failure).
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the backup.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BackupId"},"required":true,"name":"backupId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The requested backup.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"assetId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"size":{"type":"number"},"bookmarkCount":{"type":"number"},"status":{"type":"string","enum":["pending","success","failure"]},"errorMessage":{"type":"string","nullable":true}},"required":["id","userId","assetId","createdAt","size","bookmarkCount","status"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Backup not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/get-bookmark-highlights.api.mdx b/docs/docs/api/get-bookmark-highlights.api.mdx
new file mode 100644
index 00000000..0b9d4b19
--- /dev/null
+++ b/docs/docs/api/get-bookmark-highlights.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-bookmark-highlights
+title: "Get highlights of a bookmark"
+description: "Retrieve all text highlights within the specified bookmark."
+sidebar_label: "Get highlights of a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJylVm2P2zYM/iuE+qUNfMl16LDCHwakW9vdOmCH9g7DcD0gjE3bamTJleTcuYGB/Yj9wv2SjfJLnEvaFeinBBZFPSQfPuROmIosemn0R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bJv1uBkBQVhSnYOf5oaEtSQk+aNhAB1iGxDDWTWlIf1vaM1XF9ArVOyMJu9I++lzh38GO68ocbNZgPsS8ylHiH/Jp2fYHZ1VRnrIamtM/ZsjQy1Gm/AViKsusNVSNJKyVL6FXysyTawX0y4GATDbAepE1WnxJVdabr3P/UuMkmq00lOC0gP6Lq8DI+MLrmSGfmkCOfshIHRHJaw4umzgi2qmiAz9vANqVOuEQXHXA9LoA2UxgaAtfJuyM2oiVdNRY4/jmtZqMaawGjq2ssSAXeKi9/rM5jNlNSb2SzEsoTrt7+NfAsLC5jAc1SQWLxTlEJJHlP0OO+us9CP14Pgd7skD6/eJJBzsNFQV8pgSilkUhE8liWT3Fi4/PnVkyCelXG+xKDb/Rr2mg6WU5MBjjAfNuRuPwu+dcXt9GQyyngRYEnc9Yq6n+isnPHBeJ8O3kiwJLD9bsfcvLaqbflzoB+vx3tJDcKbSsf/UxFnqBx9IcTHb/vp8AQ+B3nYBXUTlJvXqViISGyoOVxx29s2El0nBxSdwTJJqPKTq0cDltV5nDivX16JSOChJj/Q4OD9JKzdrrO4Ys1p2xFl0CAG2Lb/AidXhhI=
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get highlights of a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/bookmarks/{bookmarkId}/highlights"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve all text highlights within the specified bookmark.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The highlights within this bookmark.","content":{"application/json":{"schema":{"type":"object","properties":{"highlights":{"type":"array","items":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}},"required":["highlights"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/get-bookmark-lists.api.mdx b/docs/docs/api/get-bookmark-lists.api.mdx
new file mode 100644
index 00000000..76454c01
--- /dev/null
+++ b/docs/docs/api/get-bookmark-lists.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-bookmark-lists
+title: "Get lists of a bookmark"
+description: "Retrieve all lists that contain the specified bookmark."
+sidebar_label: "Get lists of a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJylVttuGzcQ/ZUB85IIa8kpUjTQQwElTQI3fTAcG0XhCNBoOdIy4pIMyZWtCAv0I/qF/ZJ2uBddmwbIk1bkXA7ncma2wjryGJU1V1KMxZ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WQEY6q0wM0FYa4GHrO/Yhod0iZpO2T5ORGRSEkvwQ/rAV5GhgSYY3FwI06WUr2sDC2/Iwvw80h7srqIwkD4PBB4pRmWWAn5POe9qEwaCDfY1LZXrITHF7mEPlnPUR8soH6y/myFBdrwFrhTBrLmcpSDOtShVnkEYH7DYZTgZBtwyAMrmuJHFmZ4Ye4+vWxEKRbiiSwwIqAoYmLp2T3iRnckExL9I9G2FgNIQJzHg+zWCNuiJYWH/oQxnJOaJkmPPhCYyF0voEsNIxdLHp6fB24yjwYb/HpWzMCayhpr08EXCnhPFHcwGDgVZmNRikt0zg7ua3vt7gQcUCbKpz1JB7fNAkoaSIEiMOG3Xm+F49cT3wERMztSKpODsZA5XTFiVJWChN8FSVXOTWw/Uvb58l3nQ2xBITZbd72zuK7eplF4A9wuNe3O4mwPeswg2N7A0vHvvMhNuWQ+/7RZIJc3ywVbZTNhNMAiy63XI13nld13zc7ir30x2JJqqVKvC3FOMF6kBfednTm3YUPIP/QtutjGaTuFpX/E9kYkWbwy24nvLik3o3oWgEJnlOLu6pnkxT5uN+vLx7cysygYcsfMS6yfpZWNttI3HLLFPXPcrEOgywrv8BsYyNGA==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get lists of a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/bookmarks/{bookmarkId}/lists"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve all lists that contain the specified bookmark.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The lists that contain this bookmark.","content":{"application/json":{"schema":{"type":"object","properties":{"lists":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}},"required":["lists"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/get-bookmark.api.mdx b/docs/docs/api/get-bookmark.api.mdx
new file mode 100644
index 00000000..221dd6aa
--- /dev/null
+++ b/docs/docs/api/get-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-bookmark
+title: "Get a single bookmark"
+description: "Retrieve a single bookmark by its ID, including its tags, content, and assets."
+sidebar_label: "Get a single bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJzVWN1uG7cSfpUBe3ESYy07Bz1ooYsDKEl/fJqeGrGNg8IRoNHuSMuIS25IrmRFWKAP0Sfsk/QM91fWO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xnp/i413DoP1A/pA1vn8Td13l/wu45qq29HpZ90SvSuptO4dwEx73aNtpJLgisMhux6l5Y1VZ8ueKA+RKm0jHFeMBtrNv2t+B+Bz01oq2Q2RoyH4xFoEKbfrKI33y5HXdF5/CQ6c3U6/e9s9sUPWiFablqpwFFJXAJI4p78M9GC0Yfttrf/juWlQP2j5Hud+I+mTRPqzdrpK45sJbli3KUIgZYFn+CQ2F30A=
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get a single bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/bookmarks/{bookmarkId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a single bookmark by its ID, including its tags, content, and assets.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"boolean","default":true,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."},"required":false,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.","name":"includeContent","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The requested bookmark.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/get-bookmarks-in-the-list.api.mdx b/docs/docs/api/get-bookmarks-in-the-list.api.mdx
deleted file mode 100644
index 950c7c4b..00000000
--- a/docs/docs/api/get-bookmarks-in-the-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-bookmarks-in-the-list
-title: "Get bookmarks in the list"
-description: "Get bookmarks in the list"
-sidebar_label: "Get bookmarks in the list"
-hide_title: true
-hide_table_of_contents: true
-api: eJzNWN1v2zYQ/1cEvmwDhDgdOqzQW1psXfbRBmuKPQR+OEsnizVFquTJiWvofx+OlCXZkR25DbA9xRHv83fHu+NtRYYutbIiabRIxFukaGHMqgS7cpHUERUYKelIxIJg6URyJ/6UjpyYx8JhWltJG5HcbcUCwaK9qqkQyd28mceiAgslElrnCVxaYAki2QraVCgS4chKvRSxwAcoK8WfJMpMPWyW5f2nVz+bhy8/FQ9EJn3F2iV5EtZ+nYkmFhY/19JiJhKyNcZCQ8kEKhDEQrJDFVAhmvikel2X7Be4VMQeD3YuwxxqRSIJX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tmF30cyGMDm0690OxQ93YgtZZtG5ZgaVnK1fcE6DlYy6N749DmjtthgFUeWS2Yzs5mIFFlaI1QVUlTh8Ot8WGLUSIpP7J/EfLX0UbOGADNY/HxjT9kk5WAJ1ALFmf3eZjN9cnogvoP/xq7ElsIW//3PrUZQ6N8zOXgeTXlxcXlwOVh2dPVc316P2X91c+9f5nvHsLM8AxhFP7Ml291Q/tfQ6GIa79Dq9KQuOc3ecVQqkf1+2g3mI+J1fU3F4k25f1Qd9HovCOGKy7XYBjjtS0/DnsD/gVMik44D3C5AVbg6WUWtQNdvhlzxH6Hfrpim03f7oNPFRyP7DpcxoRIJXjxY1vXfz/mKNY37U1e//bkvBD9Ex7bt+qjdDnX1cwpqTG0yBwAFlC8LhVZpiNTT1Ualj07tS8/aXWxHG5OHmY/8WDp+g+yZtt4Hi1qxQN01nIfH/bGDT/Au5qa9K
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get bookmarks in the list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/lists/{listId}/bookmarks"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get bookmarks in the list
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false,"name":"sortOrder","in":"query"},{"schema":{"type":"number"},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","title":"Cursor"},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."},"required":false,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.","name":"includeContent","in":"query"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with list data.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}},"404":{"description":"List not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-bookmarks-with-the-tag.api.mdx b/docs/docs/api/get-bookmarks-with-the-tag.api.mdx
deleted file mode 100644
index 8467fd98..00000000
--- a/docs/docs/api/get-bookmarks-with-the-tag.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-bookmarks-with-the-tag
-title: "Get bookmarks with the tag"
-description: "Get bookmarks with the tag"
-sidebar_label: "Get bookmarks with the tag"
-hide_title: true
-hide_table_of_contents: true
-api: eJzNWF9v2zYQ/yoCX7YBQpwOHVboLS22LhvWBquLPQR+OEtniTVFqu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+q1XmtzN9K7PMOi6aB9/sY7Kczc0/4YFLFhM2ij30r6MPy+BK3RXrc5clTaRVt0ma6df33BEyOVXISB5GOlDGTI/Rw2QMAh7qE7K8PGZoQeikUzStBP0wez82DePRhujyfZ8QG0m7XayapP0i7mi/5t+bqFSrCBGu+pfWye7XH/5jiQM1B1A7nU7O/rjrTxuLy8fPnwjTSHPNKGopWpdfZ8T6PUZONzYYnOcV49PDty1Evo6Tm0jeenwmQiEXlIOd5OJGLGIZjt/OKimQ0xcmg3+/WJn+zEDrLMonPNDCo527zghAYrGXJvenscoNqvMAqiyiWzGdntxRosrBGrC6gqcfxunhcYtRIis/Lv4b9a+ijYwtEYbH4+MKLte3Kw/+ngYc3+4jIZP7g8Ed8+/+N3Y0tgC//8d+4xlHplmJ29Dia9uLi8uBzsOTp7rm6uR+2/urn2T/MD49lZHgCMIx7Xk93+nf7ovutoFO6y64ktWXCdm+OsUiD987Kdy0PEb/eXLtkvq/qgL2JRGEdMtNstwXE7ahr+HJYHnAqZdBzwfvuxxu3RJmoDqmYr/IbnBP1+1zSFtlsePU58ErH/cCMzGo/g1YMtTe/dor9Y45ifdPXHf9pC8FN0Svu+mertUOfeqpAUvv8WCBxPNiCcXaUpVkNLH9Q5tryrM29/m4swIg+3HoeXcPj8PLRotwsUc7NG3TS9gfw/G9g0XwGixqv5
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get bookmarks with the tag"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/tags/{tagId}/bookmarks"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get bookmarks with the tag
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false,"name":"sortOrder","in":"query"},{"schema":{"type":"number"},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","title":"Cursor"},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."},"required":false,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.","name":"includeContent","in":"query"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with list data.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}},"404":{"description":"Tag not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-current-user-info.api.mdx b/docs/docs/api/get-current-user-info.api.mdx
deleted file mode 100644
index 529bfc4f..00000000
--- a/docs/docs/api/get-current-user-info.api.mdx
+++ /dev/null
@@ -1,63 +0,0 @@
----
-id: get-current-user-info
-title: "Get current user info"
-description: "Returns info about the current user"
-sidebar_label: "Get current user info"
-hide_title: true
-hide_table_of_contents: true
-api: eJyNUz1v2zAQ/SvCmwnL6ajNQxukHRq0DjoYHs7S2WIsiQx5SmsI/O/FUUZiJxmiRRJ5H+/eezeh4VgH68W6ARV+sYxhiIUd9q6gnRulkJaLegyBBynGyAEGQoeIaoOHyCFiaxC5HoOVE6rNhB1T4LAapUW12aatQeDo3RA5oprwZbnU13Xfn7tHrqX4a6XNTYqGhBYwqN0gPIhmkPedrUkzyseoaRNi3XJP+iUnz6jgciEY+OA8B7FzU9tcxEQJdjggGQzU8/sLg2HsOtp1jErCyMmAe7LdpyJtT4fP1excTZ1SeBG9c65jGpCSsvY02sCNMm0bXCZskz4GPUvrGlQ4cJ6ZlHOUymAse4YqE55VJBVmDB0qTNQ0gWNMJXlbPt/A4JmCVWiZqvP1rNGexk5QoRXxsSpLCafFkQIdmf2CvId5I+S65eJcoXD7bJ4f5/hixoKU0oVlfquCc+dL47wwop11jhymDOUgmPPHNxd6UoTf/6wza+pcTdepZ0g3i+Viqa61ouzjBc/q/u5D/Kv7u2LvwjV4HTYZeBelp+y92Ty4Zbnaj7w7b+tOr0b+7I7N4wv/k9J3ZAftnhWczjpvkHWG2kCXsHVR9HSadhT5IXQp6fHTyEEXc/uqc95Lg5apUfdtJhz5hAqrumYv2RDdqN3frZwq92K6269rGNC1Xm/0ydXPVzScLmpP0xyxdkceUoI5gxD9R1KL/wcmvpVd
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get current user info"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/users/me"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Returns info about the current user
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with user data.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"image":{"type":"string","nullable":true},"localUser":{"type":"boolean"}},"required":["id","localUser"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-current-user-stats.api.mdx b/docs/docs/api/get-current-user-stats.api.mdx
index 63486eba..49ba72d1 100644
--- a/docs/docs/api/get-current-user-stats.api.mdx
+++ b/docs/docs/api/get-current-user-stats.api.mdx
@@ -1,11 +1,11 @@
---
id: get-current-user-stats
title: "Get current user stats"
-description: "Returns stats about the current user"
+description: "Retrieve usage statistics for the currently authenticated user, including bookmark counts by type, top domains, tag usage, bookmarking activity patterns, and storage usage."
sidebar_label: "Get current user stats"
hide_title: true
hide_table_of_contents: true
-api: eJylVktv20gM/isCz4Ll7FE3F32lu4sWGwdFYfgwkmlramlG5VBuVEH/veBItiXF3iTNKYr5+kh+Q7KBDbqUdMnaGojhP+SKjAscK3aBSmzFAWcYpBURGg4qhwQhsNo5iFdw75AcrENwmFakuYZ41UCCipAWFWcQr9btOgRCV1rj0EHcwF/zufwZB/6cfMeUg5+aMx+kQzCDEFJrGA2LiSrLXKdKTKLvTuwacGmGhZIvrkuEGKz3BCGUZEsk1l1UUxVvrN0XivZuoG2qIkGCNpSv9+pgSTNeVVhQmukDbq7Jl74ul2X/aMdXhR/1Lsv1LruikRyRv6mXXvZUtrk2+4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YkkG9eQAJNQTfT7ATTeVUGKL2beSwKlFHamLr/wX6wT57AaDtfa2flz5ExQDYrnZaJun2pgLs1W8odGWgbUzQetQUWjYwhJ8zI9+G9qyBFCzOysiMQoI2ezamGqXfFbn7vaALXF1DZjDz0epfErO0swNOo84rq0OutYb/BmbYbyMIEHcyhKoWlZIgOzp9MUKCWGw1YaIRxIxzHII2NLjSP4VNFXtYBjwUx+SDJIFjP8+3eQZLZsaV7WXSiiakm07xtCQtoBgxNXNaXbExKJqfEaR7lYkSAUR9GMBa2HsMCTUVxD9i5Q9ss7kDRsOTDE1gHhfMRYGU4rGOzZlMQQgvy54ZfYzYmBM5S87w8UdyYwvCDPYFeTybbXi/6MoLrt6+3G9ad5hxcrHM0kHq8kwWmIMYMGfuNupDTRj2SFMhfYB1TeyQW5/qMhao0DjPKQNoM/KQLKXLn4c3585/70m9LF7hAu+3J6gXxzn4E4dCWudyS5v9u4Wyoq8P0q6Rh32XL1DcqMrU0bulITQBuEyVcI9LlUor+2pvVSv6OdS3r6Zar47KaqOalRnqfU62GapSmVHIkdVPFYWR/3RT23bSPF79fSQfd5dw9jo3W16ONrTu2l8vmxJVwymqlkhZE5Bi1krb6H6wyvyg=
sidebar_class_name: "get api-method"
info_path: api/karakeep-api
custom_edit_url: null
@@ -36,7 +36,7 @@ import Heading from "@theme/Heading";
-Returns stats about the current user
+Retrieve usage statistics for the currently authenticated user, including bookmark counts by type, top domains, tag usage, bookmarking activity patterns, and storage usage.
<ParamsDetails
parameters={undefined}
@@ -54,7 +54,7 @@ Returns stats about the current user
<StatusCodes
id={undefined}
label={undefined}
- responses={{"200":{"description":"Object with user stats.","content":{"application/json":{"schema":{"type":"object","properties":{"numBookmarks":{"type":"number"},"numFavorites":{"type":"number"},"numArchived":{"type":"number"},"numTags":{"type":"number"},"numLists":{"type":"number"},"numHighlights":{"type":"number"},"bookmarksByType":{"type":"object","properties":{"link":{"type":"number"},"text":{"type":"number"},"asset":{"type":"number"}},"required":["link","text","asset"]},"topDomains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"count":{"type":"number"}},"required":["domain","count"]},"maxItems":10},"totalAssetSize":{"type":"number"},"assetsByType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"number"},"totalSize":{"type":"number"}},"required":["type","count","totalSize"]}},"bookmarkingActivity":{"type":"object","properties":{"thisWeek":{"type":"number"},"thisMonth":{"type":"number"},"thisYear":{"type":"number"},"byHour":{"type":"array","items":{"type":"object","properties":{"hour":{"type":"number"},"count":{"type":"number"}},"required":["hour","count"]}},"byDayOfWeek":{"type":"array","items":{"type":"object","properties":{"day":{"type":"number"},"count":{"type":"number"}},"required":["day","count"]}}},"required":["thisWeek","thisMonth","thisYear","byHour","byDayOfWeek"]},"tagUsage":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"number"}},"required":["name","count"]},"maxItems":10},"bookmarksBySource":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"count":{"type":"number"}},"required":["source","count"]}}},"required":["numBookmarks","numFavorites","numArchived","numTags","numLists","numHighlights","bookmarksByType","topDomains","totalAssetSize","assetsByType","bookmarkingActivity","tagUsage","bookmarksBySource"]}}}}}}
+ responses={{"200":{"description":"Detailed usage statistics for the current user.","content":{"application/json":{"schema":{"type":"object","properties":{"numBookmarks":{"type":"number"},"numFavorites":{"type":"number"},"numArchived":{"type":"number"},"numTags":{"type":"number"},"numLists":{"type":"number"},"numHighlights":{"type":"number"},"bookmarksByType":{"type":"object","properties":{"link":{"type":"number"},"text":{"type":"number"},"asset":{"type":"number"}},"required":["link","text","asset"]},"topDomains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"count":{"type":"number"}},"required":["domain","count"]},"maxItems":10},"totalAssetSize":{"type":"number"},"assetsByType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"number"},"totalSize":{"type":"number"}},"required":["type","count","totalSize"]}},"bookmarkingActivity":{"type":"object","properties":{"thisWeek":{"type":"number"},"thisMonth":{"type":"number"},"thisYear":{"type":"number"},"byHour":{"type":"array","items":{"type":"object","properties":{"hour":{"type":"number"},"count":{"type":"number"}},"required":["hour","count"]}},"byDayOfWeek":{"type":"array","items":{"type":"object","properties":{"day":{"type":"number"},"count":{"type":"number"}},"required":["day","count"]}}},"required":["thisWeek","thisMonth","thisYear","byHour","byDayOfWeek"]},"tagUsage":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"number"}},"required":["name","count"]},"maxItems":10},"bookmarksBySource":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"count":{"type":"number"}},"required":["source","count"]}}},"required":["numBookmarks","numFavorites","numArchived","numTags","numLists","numHighlights","bookmarksByType","topDomains","totalAssetSize","assetsByType","bookmarkingActivity","tagUsage","bookmarksBySource"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
>
</StatusCodes>
diff --git a/docs/docs/api/get-current-user.api.mdx b/docs/docs/api/get-current-user.api.mdx
new file mode 100644
index 00000000..e660babe
--- /dev/null
+++ b/docs/docs/api/get-current-user.api.mdx
@@ -0,0 +1,63 @@
+---
+id: get-current-user
+title: "Get current user info"
+description: "Retrieve profile information for the currently authenticated user, including their name, email, and avatar."
+sidebar_label: "Get current user info"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9VcGO20YM/RWCObQ1tPam6EmHAk7bBGlyCJJdFMVmAdMSLU08mpnMUN51DQH9iH5hv6TgSOu1sznk1JOEGQ75SD4+HtAHjiTGu9c1ltiw/NLHyE6uE0cssOZURRPUAEt8zxIN7xhC9BtjGYzb+Njl97DxEaRlqEYHdg/US8tOTEXCNfSJYwHGVbavjWvU1kRw1HEB3JGxBZCrgXYkFOdYoFCTsLxBhZLwtsDEVR+N7LG8O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yqEnh4OStXraIdBjzMbdX0/Kmxe5gWO85VFect7LHFZVRwkS7HtNfqTtayaeZT7V79dYYF0rpRfKGP2Pl2R25/4PhxGiytVgmHAYgKRlQEHXYP/ATixQLA=
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get current user info"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/users/me"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve profile information for the currently authenticated user, including their name, email, and avatar.
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The current user's profile information.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"image":{"type":"string","nullable":true},"localUser":{"type":"boolean"}},"required":["id","localUser"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/get-highlight.api.mdx b/docs/docs/api/get-highlight.api.mdx
new file mode 100644
index 00000000..6b24ba01
--- /dev/null
+++ b/docs/docs/api/get-highlight.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-highlight
+title: "Get a single highlight"
+description: "Retrieve a single highlight by its ID."
+sidebar_label: "Get a single highlight"
+hide_title: true
+hide_table_of_contents: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kDxa3NYYrZu6gC1d4XHqkLWGRqzmX60H+2jRyDlkjutmwxZnBsDZPPaacsB+i4DPJz7Ws7IQdtI0WLeD2kMsoCSMCc/hT9dAxlaKMjKE4AAbcxsTRtYeVcd8ntLS7g8g8bm5GEy+UDM2hYBfo4+b2kTJpMd7HMstB0gv9OBR5hDU9fOM2SND86fLFGg1oMH3GiERbe5iEVaGF1pXsDnhvwG9s8EIUMu0O6aBW0z0+QkzC4s3fEvfYiVJtPpo5QFNAOGri67Q4aQwuSKOCvjvgQRYDSFOSzkYlnADZqGYOX84Rna5sIRxcDChyewDirnI8DGcNjV5kXfInCxqSnI4m4lRDaWBM5SN16eCGRSQvrRnsBkYrRdTyYxlzlcvn839Bvcai7BxT5HA5nHW0M5VMSYI+O0cxeBH9yj0IMsiShTbxKbc2djoamNw5xyWGlD8FhX0uTOw/nL10+iZtYucIVRrvsn0RviI+/D+6O43Yv/f3hWdqIxuqfkIhfd2/ZqebV/kQWVqHT8PrtOlAy7GG230nWX3rStLMfGkmfoXiyjpOY6yH+u0hWaQN9I4fH7Xu6fwNdw9otoN1GT5Q2UKpWoNW3uPSTb6zZR3ZBGGJ3FPMuo5pHvgytThHe4Q968ulCJwkO5vSevMfpRXNttZ3EhctK2A8woLwKwbf8FIl9Czg==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get a single highlight"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/highlights/{highlightId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a single highlight by its ID.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the highlight.","example":"ieidlxygmwj87oxz5hxttoc8","title":"HighlightId"},"required":true,"name":"highlightId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The requested highlight.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Highlight not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/get-highlights-of-a-bookmark.api.mdx b/docs/docs/api/get-highlights-of-a-bookmark.api.mdx
deleted file mode 100644
index 02f4a0c4..00000000
--- a/docs/docs/api/get-highlights-of-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-highlights-of-a-bookmark
-title: "Get highlights of a bookmark"
-description: "Get highlights of a bookmark"
-sidebar_label: "Get highlights of a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVcGO2zYQ/RVhTi1ArJwiRQPdXKBNNzk0aLboYeEDLY0triWSGY42dgT+ezG0bEm7SjaHnCyTj8M3b94Me6gwlGQ8G2ehgLfIWW32dWP2NYfM7TKdbZ07tJoOoID1PkBxD78PSwE2CgKWHRk+QXHfwxY1Ia07rqG438SNAq9Jt8hIIQFCWWOroeiBTx6hgMBk7B4U4FG3vpElg6Zqjqd9+/nhzW/u+OXX+sjsyjfCwHCCXBjcVhAVEH7qDGEFBVOHCqxuBbQdQQqM5Oc11yCsCIN3NmAQJr+sVvIzl+KuxqwxgUWEURJQUDrLaFlOaO8bU2o5kT8EObaQoNs+YMmgwJPzSGzOl05ijlhNpE9ClrENL8eYJPhM0KggsCb+e7cLyJN927VbJNlHW31jt3SNo8VC2a4VF5ywadxnEDFF4D0hWlCwbToUX1S4013DUFyAUQHjkZdC2q5p9FYqKwWMCqxj/C6gWU69C0hfUaUk1IzVeoFInHnpfm6gqZpT7YasBs6J0fX+6W2b0b1/XWoP8emVE1tsYtp9vXr93J0X/2fWcbZzna1+nDNLVy1oHxW0GILeL+09SSJFGPEpkXSea1dBAfskW2rGAvKLyiHvR8FjPmu6gPR4GSEdNVBAr6uKMISYa2/yx1eg4FGTEXOkLIbts3QXJ9bMPhR5znS6OWjSB0R/o70HtdD9QwQZAFxj9n7AZ2cuUrrJ9Pso4g5dOZmBV6XkZskjwWQ2JZC0S/r401GrheG7/+6SnMbunByXrM+UXt2sblaTEXjls/5wu8h//eE22zmak5dkowLvArc62WIYli+M/ln4frTai0/GOX1pkdw32tjUnVLBfjDA2GZS6GLWc9NuUFC7wILv+60O+C81Mcrypw5JXp/N6IDkk8oE+a6g2Okm4Ddy+Omfwbw/Z1+jfBnQ9pSMJjOuAFBwwNP8pYmbqKBGXSElFmfAuizR8+ToswYVM10b5O0fd6BAzy30xDIp+iKtvj8j7twBbYxXliz/hWCM/wNdHrx1
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get highlights of a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/bookmarks/{bookmarkId}/highlights"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get highlights of a bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The list of highlights","content":{"application/json":{"schema":{"type":"object","properties":{"highlights":{"type":"array","items":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}},"required":["highlights"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-list-bookmarks.api.mdx b/docs/docs/api/get-list-bookmarks.api.mdx
new file mode 100644
index 00000000..020a3766
--- /dev/null
+++ b/docs/docs/api/get-list-bookmarks.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-list-bookmarks
+title: "Get bookmarks in a list"
+description: "Retrieve a paginated list of bookmarks within the specified list. For smart lists, bookmarks are computed from the list's query."
+sidebar_label: "Get bookmarks in a list"
+hide_title: true
+hide_table_of_contents: true
+api: eJzVWdtuGzkS/ZUC5yGJ0ZaTxQx2oIcFlMxkxjvJjhHbWCwcAaK6S2pGbLJDsmUrQgP7EfuF8yWDIvsmuWW3Lw+zT3HUxapTFxaLh1umczTcCa1OEzZmS3QfhHVvtV5l3Kwsi1iCNjYiJxE2Zp/QGYFrBA45XwrFHSYghXWgFzCvl8G1cKlQ4FIEm2MsFqISG8F7bcBm3Dj/fxt1VnGDEOssL0jpwujMKyCxFxa+Fmg2IxYxx5eWja8YAbVsGjGLcWGE27Dx1ZbNkRs0k8KlbHw1LacRy7nhGTo01gvYOMWMs/GWuU2ObMysM0Itb3l6kSIUSnwtEESCypEPhrysMREWvOFZLkmLQJHIm80yu/7y49/1zbcf0hvndPwjARbOixDg04SVETP4tRAGEzZ2psCIKZ6RgAwCERMEIOcuZWV0F2JURUah4Dau8FM8ElzwQjo2Dr/sO3aujQNtEjQw30Bs0KcfEu5wBD+FtRachhe07sVoF/CCS4tPVtm4bLVxv9PC2muf5n63VZHNveCu8Y/8RmRFBuEzZUg4zLw5g64wCnI0VK04xJWHaOskLhNugAcHSu1dYaw2oeI55AbXQhcWDNpcK4tke4EuTn3pKbxxjf26tIKGAe493lTlahws3e/rXGuJXLFOPYZi3wV0ugCLjuz6r95u3RFeWFgUUkKslUPl4OWvFx8/RODwxkWALh69gmshJcwRhIplkWACVdepHRrBedDuowELbUCKZerQNCIWrlNUoJXcQIaOJ9xxEBYUYoLJkJr56/vQpK+y8S6g2UvjlDytFFIm//b6Nf2z6+zkzsbf3/RZxCr/SR/Pcyli3yJOvlhS2lM+ev4FYwKYGzqinAiQGksdUW4M35ArtFHvVyGS2zuyjJjvWphMXO/XTCfen77PEVOFlHxOO5EKoGz25QBJbuJUrDHp2TllxBZ8relsO/Td8eVSqOW5466w99trTwxbxDFaOt8XXMjCIIUJVUKrpmXEbJFl3IhvP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buBS6msLG10QJ5NxxZetEhvVtDZ1qAhSsUw9WWMjCC0q8kbmPF4VuYXc6KXhWcadiLmUm9Fn9Vl99x1QuIh0DjuDfpxICaiSXAvliLDzVQZ8d8vnZKMhkGaTan96JTNIkSdoRvAfXUDMFSxREfmPwJX3bIWblnZvQnaNc7g8hUIRvXt0dI7OCbW08A+/5jfc2KOjGnbVwirIfuO3mG2R06UZAoV4POcENW9WwFpwmIWPMx+kmedVZ4H6h5bHp2S09FjNm1FmZ21nncFCoAytkcICwgG3IS61kUblId4TJjCjDj+DNZdF4N52bAiVUI7QK6Z8GLx1FFSxqbs60Llp6cemz/tszBG0wrC9DCLQTrHjz+oYjo5oqjg68r5M4PLTh6be/EsLaF/nXEI1CzQc4Cgsp97eLPc93hOQ1JSxEvHFWcsoKKr5AWhQgJd+eKWz4+yn9698z8y1dcQhjLc1tfgLul0ikPutsL8Xt233/0u8JoV+1Dn9Wj4iNOIr/y5DXXfcPNC0vXgaMeokJLbdUklfGlmW9HMgValDJ8JSpzlAH3cD8oiHlF4HVrjZe1zx9cvGzJP1wwE97DnkDiz1E8kjcTzhieQwpuYt45Gg/h94/zvcv/UW0IZh2k4PD6zgl5+q+ecVHLJeX8rUpmuzLZTwSkq3lHBgeQTh4ySOMe9CvTU+EvRmnvrl5wsWuJYufb47anR5zF1I222QuKCjtSwbhP6oJYBl+SeIJuKv
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get bookmarks in a list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/lists/{listId}/bookmarks"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a paginated list of bookmarks within the specified list. For smart lists, bookmarks are computed from the list's query.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the list.","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc","description":"Sort order by creation date. Defaults to 'desc'."},"required":false,"description":"Sort order by creation date. Defaults to 'desc'.","name":"sortOrder","in":"query"},{"schema":{"type":"number","description":"Maximum number of items to return per page."},"required":false,"description":"Maximum number of items to return per page.","name":"limit","in":"query"},{"schema":{"type":"string","description":"Cursor from a previous response to fetch the next page.","title":"Cursor"},"required":false,"description":"Cursor from a previous response to fetch the next page.","name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."},"required":false,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.","name":"includeContent","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A paginated list of bookmarks in the specified list.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for the next page, or null if no more results."}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"List not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/get-list.api.mdx b/docs/docs/api/get-list.api.mdx
new file mode 100644
index 00000000..361b4254
--- /dev/null
+++ b/docs/docs/api/get-list.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-list
+title: "Get a single list"
+description: "Retrieve a single list by its ID."
+sidebar_label: "Get a single list"
+hide_title: true
+hide_table_of_contents: true
+api: eJylVtuO2zYQ/ZUB85IYWntTpEjghwLOFdvkIdjsoig2BjwWx9bEFKmQ1NqOIaAf0S/slxRDybe1GyzQJ8vkXA7ncmY2ylXkMbKzV1oN1ZziJw5RZUpTyD1XcqOG6pqiZ7onQAhs54bAcIgwXQPHAFdv+ypTEedBDe+UGAhqnKlAee05rtXwbqOmhJ78qI6FGt6Nm3GmKvRYUiQfkkDICypRDTcqritSQxWiZzs/gXJTENSWv9cErMlGnjF5cDOIRYtKsNAKy8qIFSbWZrWel8tvr1661Y9fi1WMLn8lgDkmEQF8pVWTKU/fa/ak1TD6mjJlsRQB0wpkigVAhbFQ8gBPoXI2UBDQv1xeys8pVrFJIZLegcudjWSjiGNVGc5T/AffguicCYSbfqNcclJ5yVbk1iPr02A1W8xnLo6gnUbZ1sbgVAIib28yxfk5wSYljqwE5DFWWoFTQbJ1KdVSoq3RqEyFEn2UstE0w9pENdzeNZn6XpNfP8pfVU8N5weiU+cMoRUrBYY3TuSdx+h8OC9VB/LXzvwUtVta8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fwb/ha47RLtO/Gtq+acytaD1frVsxrKepF5MCNrLUZ5TFQ/UTuah8OtuQHx4d6Myhces+oBFk/WzkDabVuJGWKNpdggTiwjApvkXiRA7OA==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get a single list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/lists/{listId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a single list by its ID.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the list.","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The requested list.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"List not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/get-lists-of-a-bookmark.api.mdx b/docs/docs/api/get-lists-of-a-bookmark.api.mdx
deleted file mode 100644
index 61f46bf0..00000000
--- a/docs/docs/api/get-lists-of-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-lists-of-a-bookmark
-title: "Get lists of a bookmark"
-description: "Get lists of a bookmark"
-sidebar_label: "Get lists of a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVU2P3DYM/SsGTy0grCdFiga+bYs22CaHINmih8EcODZnrB1ZUiR6dyaG/ntB2fO162x76Mm29CQ+Pj7SAzQU66A9a2ehgvfEhdGRY+E2BRZr53Ydhh0oYNxGqJbw67QUYaUgUt0HzQeolgOsCQOF255bqJartFLgMWBHTCFmQKxb6hCqAfjgCSqIHLTdggLaY+eNLGnSjdkftt3Tw7tf3P7bz+2e2dXvhIHmDDkyuGsgKQj0tdeBGqg49KTAYieg9RmkQEtqHrkFYRUoemcjRWHy02Ihj2sV7lvKKogIrd62Rm9bjqCgdpbJspxA742uUU6UD1GOzSTo1g9UMyjwwXkKrMegWeELGIaAB+HJ1MV/P66blxqmY+YzG1fJvRTf9sbgWqQVBZMCXc8BU64nWb6bCT9zywiYqbXtOzFSh7ZHAwpih4HFTQ1tsDcM1XEvKfjaUzj8p3i+XxtdX0DXzhlCK7e0GH9zgncB2YU4j+ojhc/OvMraPVkK8t1odvLyqOkpr0zxV+nKlEup1lSbSdkLHU+nZihe8Fmdzf9RR4b0PMZoqFXKG28Xb19a+tg0hXVcbFxvm//PzrVr5o3XUYy4ndt7xj/fcMbnRPJ5bl0DFWwpR5UOrqA89nYsh3Obp3IUQYZSeDyOnD4YqGDApgkUYyrR6/LxjZQNgxb75ASm7VG1owdbZh+rsuRwuNlhwB2Rv0HvQc1Mi+kGGRjcUvFhwhcjFynYxbT8IrqOkS9n5kkkiSx5ZJhYNINATS9/uNChMPzz7/uspLYbJ8cl65HSm5vFzeJiZJ743H66m+V/++mu2LhwTV6SlcZykTvMjpiG6/f/Es9Gzclgr/1YxqSZ9lx6g3psRanbMFV8eZrmUt7qarRPzlfQusgCHYY1RvormJRkeZofy9W55NkYjY7y3kC1QRPpFeY/fJ6M+mPxPbbHMW4P2Vmmly9QsKPD9a8orWQYETYUMosRcFvX5Pni6ItmFPecmuH97/egAK8988wj+fZZWsMwIu7djmxKJ5Ys30IwpX8ASlbEvw==
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get lists of a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/bookmarks/{bookmarkId}/lists"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get lists of a bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The list of highlights","content":{"application/json":{"schema":{"type":"object","properties":{"lists":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}},"required":["lists"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/get-tag-bookmarks.api.mdx b/docs/docs/api/get-tag-bookmarks.api.mdx
new file mode 100644
index 00000000..5e00d60b
--- /dev/null
+++ b/docs/docs/api/get-tag-bookmarks.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-tag-bookmarks
+title: "Get bookmarks with a tag"
+description: "Retrieve a paginated list of all bookmarks that have the specified tag attached."
+sidebar_label: "Get bookmarks with a tag"
+hide_title: true
+hide_table_of_contents: true
+api: eJzVWetuG7sRfpUBz48kxlpOinPQA/0o4OTc3JP0BLGMokgEeLQ72mW8S25IrmxFENCH6BP2SYoh9yZ5Fa8vBdpfccThzDcXDoffboQuyaCTWp0lYipScjNMX2t9VaC5siISCdnYyJIlxFR8IGckrQgQSkylQkcJ5NI60EvAPIdFsxVchg4yXBG4jMCWFMulpAQcpoDOYZxRMhGRcJhaMf0oZvzvPBKW4spItxbTjxuxIDRkTiuXienH+XYeiRINFuTIWC9g44wKFNONcOuSxFRYZ6RKbwGfZQSVkl8qApmQcozFMGgG5zBlJHSDRZmzEkkyyW/WaXH9+cc/65uvP2Q3zun4R4YrnReZYXqWiG0kDH2ppKFETJ2pKBIKC153fj0Skq2X6DKxjb4Fl1RVcBjQxjV4DkZCS6xyJ6bhl32vzrVxoE1CBhZriA35TEKCjibwU9hrwWl4xvueTXbxLjG39GiVrcdWG/cHb2y8/lKRWQ+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Hjm9gaT56PBDHIz56HMbUfp14IKj/Byb/G+7fYve7MMy7YeCeFfz8Qz3MvIBD1psHllr3bTaowhHzb7Jw/XgAYe00jqnsI701CjLydjb69eeZCLRJnwnfHRz6lOQuos0mSMz4otxuO4D8fwa43f4H66278A==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get bookmarks with a tag"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/tags/{tagId}/bookmarks"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a paginated list of all bookmarks that have the specified tag attached.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the tag.","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc","description":"Sort order by creation date. Defaults to 'desc'."},"required":false,"description":"Sort order by creation date. Defaults to 'desc'.","name":"sortOrder","in":"query"},{"schema":{"type":"number","description":"Maximum number of items to return per page."},"required":false,"description":"Maximum number of items to return per page.","name":"limit","in":"query"},{"schema":{"type":"string","description":"Cursor from a previous response to fetch the next page.","title":"Cursor"},"required":false,"description":"Cursor from a previous response to fetch the next page.","name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."},"required":false,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.","name":"includeContent","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A paginated list of bookmarks that have the specified tag.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for the next page, or null if no more results."}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Tag not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/get-tag.api.mdx b/docs/docs/api/get-tag.api.mdx
new file mode 100644
index 00000000..3d0ad1a6
--- /dev/null
+++ b/docs/docs/api/get-tag.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-tag
+title: "Get a single tag"
+description: "Retrieve a single tag by its ID, including the number of bookmarks using it."
+sidebar_label: "Get a single tag"
+hide_title: true
+hide_table_of_contents: true
+api: eJytVtuO2zYQ/ZUB85IYWntTpEighwJOc8E2eQgSL4pis4DH4lhiT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gNHoEzEbV0b4Ke15R5s4Gu1gf8DSuD3k9ybyAebYNo0PDEUbog9nCxSozX4H3BiEeW+cpyTNrakNz+FrS2EDdyNWyJBx1A+tYbCTMDt3tOafhxBLQ7ZXQ0kLGAaMfV52h+xDCpNL4qLq3wa0ZgFGY5jC3LXWzuEGbUuw9OH+GcZp4YhSYOEjEDgPtQ8JYGs57nKzU3kQbY+yuNf9xMaCwDvq2ysQgXRKzD+7MxiNrHGr0SjdZQqXH9/v660fwz7VOVooAt5a0lATo0bGcb9d5Hy/Pck6yJIIMQ0uqTh3Pg7axnrUpGFpLMFjU0uR+wAfXr15knSy8ZGH4Tc8Ld4S33t7HTfh9k7q//fHWi8qB1Ory3pd3A4KetU/6DKV9y+g60yJAIhhu5VKvAy262Q5FZs86+4ENMmsNlF+a5Uv0Ub6zuUefxxk/wn8HbZhEd0m6bRt5Z/K1Io2+0dady0vjNSyCUBvmxYFNXyw68HQFBneT5G3r2cqU3hffI/ENkU/iWi77T1mIi5ddwdQ/gvArvsLHy8NAA==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get a single tag"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/tags/{tagId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a single tag by its ID, including the number of bookmarks using it.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the tag.","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The requested tag with usage statistics.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"numBookmarks":{"type":"number"},"numBookmarksByAttachedType":{"type":"object","properties":{"ai":{"type":"number"},"human":{"type":"number"}}}},"required":["id","name","numBookmarks","numBookmarksByAttachedType"],"title":"Tag"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Tag not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/karakeep-api.info.mdx b/docs/docs/api/karakeep-api.info.mdx
index 3e4eb827..24e36267 100644
--- a/docs/docs/api/karakeep-api.info.mdx
+++ b/docs/docs/api/karakeep-api.info.mdx
@@ -1,7 +1,7 @@
---
id: karakeep-api
title: "Karakeep API"
-description: "The API for the Karakeep app"
+description: "Karakeep is a self-hostable bookmarking and read-it-later service. This API allows you to manage bookmarks, lists, tags, highlights, assets, and backups programmatically."
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
@@ -29,7 +29,22 @@ import Export from "@theme/ApiExplorer/Export";
-The API for the Karakeep app
+Karakeep is a self-hostable bookmarking and read-it-later service. This API allows you to manage bookmarks, lists, tags, highlights, assets, and backups programmatically.
+
+## Authentication
+
+All endpoints require a Bearer token passed in the `Authorization` header. You can generate an API key from the Karakeep web UI under **Settings > API Keys**.
+
+## Pagination
+
+List endpoints support cursor-based pagination via `cursor` and `limit` query parameters. The response includes a `nextCursor` field — pass it as the `cursor` parameter to fetch the next page. A `null` value for `nextCursor` indicates there are no more results.
+
+## Bookmark Types
+
+Bookmarks can be one of three types:
+- **link** — A URL bookmark with optional crawled metadata.
+- **text** — A plain text note.
+- **asset** — An uploaded file (image or PDF).
<div
style={{"marginBottom":"2rem"}}
diff --git a/docs/docs/api/list-backups.api.mdx b/docs/docs/api/list-backups.api.mdx
new file mode 100644
index 00000000..ceb7ccb3
--- /dev/null
+++ b/docs/docs/api/list-backups.api.mdx
@@ -0,0 +1,63 @@
+---
+id: list-backups
+title: "Get all backups"
+description: "Retrieve a list of all backups for the authenticated user, including their status and metadata."
+sidebar_label: "Get all backups"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9VsGO2zYQ/ZUBc2kNrb0pevKhgDdtgm1SIEh2URTJAh5LY4kxRTLk0LuOIaAf0S/slxRDybJ310B76kkCZzh8nHnzhnvlPAVk7ex1pebK6MhXWG6Sj6pQFcUyaC9WNVcfiIOmLQGCuIFbAxoDq94d1i4ANwSYuCHLukSmClKkUIC2pUmVtrV46ACRkVMEtBW0xFgh41QVirGOav5JHRDcFSpSmYLmnZp/2qsVYaCwSNyo+ae77q5QgaJ3NlJU87364fJSPo9RL86BlcNKZ5ksyw703ghe7ezsS5RtexXLhlqUP955UnPlVl+oZFUoHyRnrPtDh4gnjhgC7lShNFMb/z2Ark58Igdta9UVShJ3fd6EMRKfsxXKJmNwZUjNOSTqClUGkjos+GykqL/RicGmdkVBDCvnNi2GzSuXLJ/16Et4DgPZ1EoVPdmqX4mpLCkKo9aoTQqk7rpCUQgu/EYxYk3/4S6dVPtr0oEqia4rNSbpmJLTCw/Xe3qZEfpd9zTmoZZi6Qr14+XL53y6tUJwF/Q3quDvP//KnL/KxAR2G7KgI7Q6Rm1rIf4Wja4KcAHowctBT7jH9MAzb1CfZ90xqw/YeknGIwSq66G2xI2TBq4pMwylRdRsNbZypLClEHMbpWDUXO2xqgLF2M3Q69n2pSrUFoOWjOeyDuY+A2tMhtVcNcw+zmczDrvpBgNuiPwUvX8mFjeiBH0E6T1J0tvBH3osAv2kwT/KzYeWOmnzMRFystwju6n54CTVzT+vXWhREP76+42SjGi7drJdbt1Dejm9nF6KymjOeRzxLN5fP8M/GnUEhEhmfdG4yJIdOPBJ9EwkLBBWF5ovDDKFfDtd0hRuGh0ltgiPu4+wcwnYQYsW62OQWGSBigWI+hXQ6Loxum5kJbNavrYaZdYHVwdsWxSFNWY3/Ww/2xcvYHGUXe2sLC6MAbKVd9pyhIHngI/J6uWMCrTNJVouBmblIEtoCCsKU/jDJSjRQk1WpgUB2nyzDe1gHVz7uL73tILba0i2ogCTyUdi1raO8FPe85Z2cTI5wH6PtbYj5Hci1UfMMXnvAkOZQnThYoUC1Y87YKsRlr1xmZO0NLrVvISvicIOPAZsiSlEKQbBYVgM44iksktLD/xqCLHWZPqmlrSAZsDY5+VwyBhSKrkmLptslyACjKawgKUI1xK2aBLlqfjoDG2rPBpzYKlHILAOWhcywGQ4HnJzNVAEbnaeoiweVmKuxorAWerbKxCBdEqcf7YXMJkYbTeTSb7LAm4/vBv5BveaG3CZ52igDHhv6GQM99tFlcbtWZ1AlsA6psElk/PgYyF547CiCtbaEHynWyG5C/D+59ffT2VgeBe5xaxyFnMLvyE+HcpPe3B/lMn/4+3Ry8yJHMsQFqXcD3J6Mh8KJWIgS/u9sPI2mK6T5Uw8eZwcxTQ/VQrVt1LW3w3t5GFSluQ5q65J+d3w9BUi8jgK+5tfbmTOPRbFJyKYox9eIXZ3Enu/7z1upOm7ThUDiCwCqpOB9w8jvIXe
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get all backups"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/backups"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a list of all backups for the authenticated user, including their status and metadata.
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A list of all backups.","content":{"application/json":{"schema":{"type":"object","properties":{"backups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"assetId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"size":{"type":"number"},"bookmarkCount":{"type":"number"},"status":{"type":"string","enum":["pending","success","failure"]},"errorMessage":{"type":"string","nullable":true}},"required":["id","userId","assetId","createdAt","size","bookmarkCount","status"]}}},"required":["backups"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/list-bookmarks.api.mdx b/docs/docs/api/list-bookmarks.api.mdx
new file mode 100644
index 00000000..5241b062
--- /dev/null
+++ b/docs/docs/api/list-bookmarks.api.mdx
@@ -0,0 +1,71 @@
+---
+id: list-bookmarks
+title: "Get all bookmarks"
+description: "Retrieve a paginated list of all bookmarks for the authenticated user. Supports filtering by archived/favourited status and sorting by date."
+sidebar_label: "Get all bookmarks"
+hide_title: true
+hide_table_of_contents: true
+api: eJzVWd1u4zYWfpUD9mLaQHEyi73yRQHPdKfNdmYbNAkWixkDpqUjizVFqiTlxGMI2IfYJ+yTFIfUn2MlI3ty0b2yIZ7D88Pzx487pgs03AmtrhI2ZVJY90brdc7N2rKIJWhjIwpaZ1P2KzojcIPAoeArobjDBIgFdApcSlg2rJBqAy5D4KXLUDkRe9rSopnATVkU2jgLqZAOjVArWG6Bmz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t37worp3/cO77zxwV2jr6P473TUA2I/o9t9UHmfhriuVf7mXmVCVevW7u1GH+ttvPvOIUfWgj7sdhfGdkVVFnwPcR1U5EZaqyxPAZt8Vzz62DCq2xu3+A4wPTjZlHi8+RfLgA8ozsvfGjhOln/C08YxG/eeOExU67oHiGV2aR4sT9fiKR4undWpfF05U6v8BiX/G/AN0vnPDvJuU/KNrxEKf9GkcuGdxjEWf6wB+p13aue3Hf9yyAE/0Eef9CacP/XG17e292wWKW+roVcUaE3yHZxVdFv4EInbTxA==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get all bookmarks"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/bookmarks"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a paginated list of all bookmarks for the authenticated user. Supports filtering by archived/favourited status and sorting by date.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"boolean","description":"Filter by archived status."},"required":false,"description":"Filter by archived status.","name":"archived","in":"query"},{"schema":{"type":"boolean","description":"Filter by favourited status."},"required":false,"description":"Filter by favourited status.","name":"favourited","in":"query"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc","description":"Sort order by creation date. Defaults to 'desc'."},"required":false,"description":"Sort order by creation date. Defaults to 'desc'.","name":"sortOrder","in":"query"},{"schema":{"type":"number","description":"Maximum number of items to return per page."},"required":false,"description":"Maximum number of items to return per page.","name":"limit","in":"query"},{"schema":{"type":"string","description":"Cursor from a previous response to fetch the next page.","title":"Cursor"},"required":false,"description":"Cursor from a previous response to fetch the next page.","name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."},"required":false,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.","name":"includeContent","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A paginated list of bookmarks.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for the next page, or null if no more results."}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/list-highlights.api.mdx b/docs/docs/api/list-highlights.api.mdx
new file mode 100644
index 00000000..07ce8e69
--- /dev/null
+++ b/docs/docs/api/list-highlights.api.mdx
@@ -0,0 +1,71 @@
+---
+id: list-highlights
+title: "Get all highlights"
+description: "Retrieve a paginated list of all highlights across all bookmarks for the authenticated user."
+sidebar_label: "Get all highlights"
+hide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YXGh44XBSJyi0zmN4brUQWzL8HZ3AbauFomv0OLqYCRkSZBDBjK3s4EqZ4AhUPq1BSwwX9c+gGe3YqwqlLFvzHb8zr6zX3wB08MuoJ2Vw6kxQLbwTtsoUyY1BuAxX734KEDbVKL5tCNXMjKHkrAgHsNvroYcLazIyp5DgDZFtqZtO86O6ntHC7h5AbUtiGE0eksxarsK8G1685K2YTTaw+4asIP8SkbTAXOovXccoZ17FwsUqL5/ARuNMG8/zlOS5mkZmEMajXDYaaQYdBi02uamLkgqOz/owhyWmkzb15IW0BEwtHnZO+lNPjasYQpzEag5bNDUlCTsyIe2RdrXkmGpB9OJknW5edpRBK63noIcPu1XQKnGgsBZatuLiUA6JUze2QsYjYy269EoxTKFmzever7BnY4luMRzNJAz3hkqoKKIBUYct89FmPrnSaBAjkCGQXclkXN/x0LtjcOCClhqQ/ClroTkjuH198++SrufdyFWmISuW2eeU3yw7j5sw91BLP/3rbmVmYEiy7wVpdx1ino0UGaZEj2Q091OiHnDpmnkuF3LRGcLHUQvHlkHh7H9u8X3LNQ1bQfLcCKfmqi0Cn86js9Yhh/H1G+tB1Czw6xJ/4BkqlWalLb21TTPyQ9DOdlKxUo/+p7/cK0yhccz48GMSNb3K6ndDmzvdu2Na9HEplF76EkjVTNrmuZvOTne2g==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get all highlights"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/highlights"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a paginated list of all highlights across all bookmarks for the authenticated user.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"number","description":"Maximum number of items to return per page."},"required":false,"description":"Maximum number of items to return per page.","name":"limit","in":"query"},{"schema":{"type":"string","description":"Cursor from a previous response to fetch the next page.","title":"Cursor"},"required":false,"description":"Cursor from a previous response to fetch the next page.","name":"cursor","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A paginated list of highlights.","content":{"application/json":{"schema":{"type":"object","properties":{"highlights":{"type":"array","items":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for the next page, or null if no more results."}},"required":["highlights","nextCursor"],"title":"PaginatedHighlights"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/list-lists.api.mdx b/docs/docs/api/list-lists.api.mdx
new file mode 100644
index 00000000..d8ad4d92
--- /dev/null
+++ b/docs/docs/api/list-lists.api.mdx
@@ -0,0 +1,63 @@
+---
+id: list-lists
+title: "Get all lists"
+description: "Retrieve all bookmark lists for the authenticated user, including both manual and smart lists."
+sidebar_label: "Get all lists"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9Vs1uGzcQfpUBc2mFtWQXPelQQEmbwE0OQWKjK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e2rTaLSH/RHXxh0gS0ueYE5NCD6yzI7k48USBWo4vICtQVj0l4scpIU1teEFZKqDgBFrYopJkkGwH2XDsCTJ7MLRI78ZVKwM2b6lJSxgGDD1cdkbOaiUTK6Iy364iRIBRmOYwUL4dAFbtA3lmf3EhnE6D+6sWPIRCZyH2scMsLGc9rF5vR//N22gJIf7k5SzsSTwjvr2ikQgnZKm9+4CRiNr3GY0yr7M4PbTh+MukSeyz3WOFsqID5Y01MSokXHcPxdOOjzP3ARyBM4zDSK5OPcyDppgPWrSsDKW4BtTS5H7CB9/fPvtOE88n7jGzHH9eFXviPOaY89tQrsjRf4PS1HPMSdMLDNMaHI3MOlhMBRKeEAOdjspyNtou06Oh/F6Nz/yaN6hCtV3UabeDbWyMZUlBc6Ea5u8tTzfgIQZD4z+7qcbVSh8yofP+C9r3+9Arj3Rvdv1EjfS712nigFE7n/VyaT7C6UyuQc=
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get all lists"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/lists"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve all bookmark lists for the authenticated user, including both manual and smart lists.
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"All lists owned by or shared with the current user.","content":{"application/json":{"schema":{"type":"object","properties":{"lists":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}},"required":["lists"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/list-tags.api.mdx b/docs/docs/api/list-tags.api.mdx
new file mode 100644
index 00000000..9b39e904
--- /dev/null
+++ b/docs/docs/api/list-tags.api.mdx
@@ -0,0 +1,71 @@
+---
+id: list-tags
+title: "Get all tags"
+description: "Retrieve a paginated list of all tags. Supports filtering by name, attached-by source, and sorting by name, usage count, or relevance."
+sidebar_label: "Get all tags"
+hide_title: true
+hide_table_of_contents: true
+api: eJzNVs2OGzcMfhWCubTGrL0peppDAW/aBGlyCBIvimLXgOkZ2qNYI00kjXcdw0Afok/YJykojf+dzaKnnrw7osiP5KePXKNt2FFQ1rwtMUetfBjR3GOGJfvCqUaOMMePHJziJQNBQ3NlKHAJYg12BqQ1BJr7Pnxqm8a64GGmdGCnzBymKzBUcwYUAhUVl1fTFXjbukK+mRK8deHIsPU0Zyhsa0IG1oFjzUsyBfcxQ4mD+R1GlOMMPRetU2GF+d0ap0yO3bANFeZ34804w4Yc1RzY+Wjgi4prwnyNYdUw5uiDgMRNho6/tMpxifmMtOcMBQzm8eeVNYGUkbIoqcaXlt0KN9m3HWbIpq0FaHSTYUwKJUyXjIAveUatDph3x0/AkCr9l/CkMMOqrclghsYaxvETUbY9ulk9P9YT7orWeeue4cq09ZTF0LRa01Qz5sG1/IRrrWp1WpCxmPvGGs9enP90fS0/x0weXiCwkAoeVKgOueeFboU1gU0QN9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fr4W2t05vNvI5LTiiwqXyoib7fWjBq/MtNbIIc4zb1jeudBvlc0yP1sLnXNgtfs8x3q5ye9vxfqjERT7DJCmxAunSsCi4Obx1tp6Jl910e/PbCDOk4+FwMgyi9+2GZg5TXa+TxUjEb7PBLfIohriRqf8v9k2eOw==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get all tags"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/tags"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a paginated list of all tags. Supports filtering by name, attached-by source, and sorting by name, usage count, or relevance.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string"},"required":false,"name":"nameContains","in":"query"},{"schema":{"type":"string","enum":["name","usage","relevance"],"default":"usage"},"required":false,"name":"sort","in":"query"},{"schema":{"type":"string","enum":["ai","human","none"]},"required":false,"name":"attachedBy","in":"query"},{"schema":{"type":"string"},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"limit","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A paginated list of tags with usage counts.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"numBookmarks":{"type":"number"},"numBookmarksByAttachedType":{"type":"object","properties":{"ai":{"type":"number"},"human":{"type":"number"}}}},"required":["id","name","numBookmarks","numBookmarksByAttachedType"],"title":"Tag"}},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for the next page, or null if no more results."}},"required":["tags","nextCursor"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/remove-a-bookmark-from-a-list.api.mdx b/docs/docs/api/remove-a-bookmark-from-a-list.api.mdx
deleted file mode 100644
index aa3dc73e..00000000
--- a/docs/docs/api/remove-a-bookmark-from-a-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: remove-a-bookmark-from-a-list
-title: "Remove a bookmark from a list"
-description: "Remove the bookmarks from a list"
-sidebar_label: "Remove a bookmark from a list"
-hide_title: true
-hide_table_of_contents: true
-api: eJzNVMFu2zAM/RWBpw3Q4nTosMK3DOuAbsVQdBl2CHJgbCZWY1uqJKfJDP37QNmNkzYrdhiGnWzLj+Lj4yNbyMllVhmvdA0p3FKlNyR8QWKh9bpCu3ZiaXUlUJTKeZDgceUgncG1ct7BXIKjrLHK7yCdtbAgtGQnjS8gnc3DXIJBixV5si4CXFZQhZC24HeGIAXnrapXIIG2WJmSjxSpvNzuVtXD3cV7vf35rth6r7MLzq58hHD2qxyCBEv3jbKUQ+ptQxJqrBhQdgAJiusy6AsI8q+l/9CL8yKFxQA6ojHnCGd07cgxk7fjc34cd+KrFpmuPdVevDnqh3hAJzDPKaY+H4+fxz6yE1hawnwnau2Fqh872N/LcWhMqTLkuOTOcfAJifTijjIONFYbsl51tDOd03Mhg4SKnMPVqX9HWs26Gwb8PIQQSzohB/dbaDuowCUtdVPn/3tBMd4XOocUcirJMyIaIYWEO+KStjNrSPYzl7SDeQLwjNnN4wQ1toQUWsxzS86FBI1KNmcgYYNW4aLsiul/d0ousSk9pFB4b1yaJN7uRmu0uCYyIzQG5BO5pwWJ/gahl9F/X3q86LhACOFg+L+xxl3mwxWwF4wzcx0RxrMRQSD7l0/aVsgMP/+YRlVVvdQczlV3lM5G49H4YAT3fCY3Vyf5T26uxFLbY/JcbJBgtPMVRnf0w9pvPhwcdrz2ju5vB8v90crsNPC09YkpUdVMIbax7Z0wi/vKgYR0v7j2t/HpwS6ZSyi08xzUtgt09N2WIfDxfUOW1/B88EJ0TK4cv+eQLrF09EIxr257N78Wv+PdH2K9i5YrG/4CCWvaDWuXV+0/zHqgTpgHCQVhTjbW3gEmWUbGH4Q+2xNs5v2cfry8vpxeggQ8dvET18YEJ5m1bYeY6jXVIeyJev5mjiH8AkTPj4c=
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Remove a bookmark from a list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/lists/{listId}/bookmarks/{bookmarkId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Remove the bookmarks from a list
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - the bookmark was added"},"400":{"description":"Bookmark already not in list","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}},"404":{"description":"List or bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/remove-bookmark-from-list.api.mdx b/docs/docs/api/remove-bookmark-from-list.api.mdx
new file mode 100644
index 00000000..fd2dc039
--- /dev/null
+++ b/docs/docs/api/remove-bookmark-from-list.api.mdx
@@ -0,0 +1,71 @@
+---
+id: remove-bookmark-from-list
+title: "Remove a bookmark from a list"
+description: "Remove a bookmark from a manual list."
+sidebar_label: "Remove a bookmark from a list"
+hide_title: true
+hide_table_of_contents: true
+api: eJzlVtuKG0cQ/ZWi/WKLWWkdHGLmISDHa9jYBGPvEsJaoNJMSdNWT3e7L1rJYiAfkS/Ml4TquUjaXTsOhLzkabU9dTl1O1V7YSw5DNLoy1LkwlFtNvTCmHWNbv3KmfqN9EFkoiRfOGlZUOTiXRIDhEUnCUtnakCoUUdUoKQPY5GJgCsv8hvBRryYZcJTEZ0MO5Hf7MWC0JGbxlCJ/GbWzDJh0WFNgZxPAr6oqEaR70XYWRK58MFJvboH56oiiFp+igSyJB3kUpIDs4RQ0YCFtlhbxVYkyVJtd6v69uPzH8z28/fVNgRTPGfAMiQRBnxZiiYTjj5F6agUeXCRMqGxZgHVCmRCMgCLoRJN9i8h7pP6j1H3dfsq8sVB6AT9jDW8NdqT5wC+O3/Gf05x/2KgMDqQDvDn73+coIVb9ND2T9m2Q5998LEoyPtlVGo3ZmjPzs/v2+7Rg/SgTQCpT+rX+WU9tFbJInXt5KNn5QcybxYfqeDWtY57PMg2rMKU9Pf1mUKNRSU1nTnCEheKgJwzDlg9hVCT97j6JlNVrFHfNdTpj0VzUqqbFuDB/uxQ3gtWFE3TpAw+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ADSRHWNsmr8ApAaEbg==
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Remove a bookmark from a list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/lists/{listId}/bookmarks/{bookmarkId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Remove a bookmark from a manual list.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the list.","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — the bookmark was removed from the list successfully."},"400":{"description":"Bookmark is not in the list.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"List or bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/replace-asset-on-bookmark.api.mdx b/docs/docs/api/replace-asset-on-bookmark.api.mdx
new file mode 100644
index 00000000..f863c695
--- /dev/null
+++ b/docs/docs/api/replace-asset-on-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: replace-asset-on-bookmark
+title: "Replace asset on a bookmark"
+description: "Replace an existing asset on a bookmark with a different previously uploaded asset."
+sidebar_label: "Replace asset on a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9VttuGzcQ/ZUB+5IIa8kpUjTYhwLKDXATtIZjoygcARrtzmoZcUmG5FpShAX6Ef3Cfkkx3Isky0lT9PJiyNy5nLmdmZ0wlhwGafRFLlLhyCrMaOo9hZ/1c2NWFbqVSEROPnPSsqBIxVUrBqiBNtIHqZeArANGA8Ki04O1DCUg5LIoyJEOYB3dSVN7tYXaKoM55a3iWCQi4NKL9Fb0br2YJcJTVjsZtiK93YkFoSM3rUMp0ttZM0uERYcVBXI+CvispApFuhNha0mkwgcn9fIkgOuSoNbyY00gc9JBFpIcmAJCSQN8xkQbrKxiS5JkrjbbZbX+8Ox7s/n0XbkJwWTPGLgMUaQHfpGLJhGOPtbSUS7S4GpKhMaKhRZ7oURIBmMxlKJJ/iX0Qzr/FvRY8S/ixk7iCPSsFScfnpt8y8hPkV687KFpWndtEgx0rRY/DE1kNDH0zOhAOrA9tFbJLHbo5INnow/kySw+UBZEIqzjfg6SfNTtIH9VQj8Ds/acUsAeb0U6jEVzlKfbwdOsadpP3hrtWxTfnj89TcxPBrog4Y/ffu/crdH3bnLwdZaR90Wt1HbMdXl6/uTUzo3GOpTGyU+UR0scwPM4JhDMijRID5X0XuplAlLfoZJ5AsYBbSyjv5fuQJswsQrlw4ke8rdvrkMEog3/6UMR98PBvttwtQlQmFrfx/BPSp6ZnP663lOoMCulpjNHmONCEZBzxgGrx2RX5D0uv8pUWVeo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M2zZCTyMSckab5E6WWyl4=
+sidebar_class_name: "put api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Replace asset on a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"put"}
+ path={"/bookmarks/{bookmarkId}/assets/{assetId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Replace an existing asset on a bookmark with a different previously uploaded asset.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"string","description":"The unique identifier of the asset.","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The ID of the new asset to replace the existing one.","content":{"application/json":{"schema":{"type":"object","properties":{"assetId":{"type":"string","description":"The ID of the new asset to use as a replacement."}},"required":["assetId"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — asset was replaced successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark or asset not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/replace-asset.api.mdx b/docs/docs/api/replace-asset.api.mdx
deleted file mode 100644
index 53865886..00000000
--- a/docs/docs/api/replace-asset.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: replace-asset
-title: "Replace asset"
-description: "Replace an existing asset with a new one"
-sidebar_label: "Replace asset"
-hide_title: true
-hide_table_of_contents: true
-api: eJy9VE2P4zYM/SsCT11AO54ttujCt2yxBaYFisE0ix6CHBibiTWxJa1EzyQ19N8Lys7XTDpAgUUvgSOR1HuPjxygplgF49k4CyU8kG+xIoVW0c5ENnajMEZi9Wy4UagsPStnCTQwbiKUC/js3LbDsI2w1BCp6oPhPZSLAVaEgcKs5wbKxTItNXgM2BFTiDkgVg11COUAvPcEJUQOxm5AA+2w860cGTJ1u9tvuufHTz+73d8/NTtmV30SBIZzyAHBXQ1JQ6BvvQlUQ8mhJw0WOwlanYI0GOHqkRtI+rvBmIlOb2LAKeICwHIMp8ifXb0XFJctmTeUVR/bwE6FqUfSEdBQOctkWRLR+9ZUKInFY5TsK+Tc6pEqBg0+OE+BDcWcO2F7pUK64LM4Bi5TGq+idzaORX68/fiawB9OTRjV+4OZMB5o1Cr2VUUxrvu23Yt4H68VOfRYWcdq7Xpbfz/qlavpCm8NHcWIm2t3LzTJFU7xWZqcz42rpdN9flX6XUJxsGIshpMrU5GlicUwCZxAxik8HYalDy2UMGBdB4oxFehN8fQBNDxhMLhqpzaO16OAa+xbhhIaZh/LouCwv9liwC2Rv0HvQV/x2lRBubXihtTvU7wasUBK6WzO/xSJx5fPp/2ol7wsPHKYTGEOAj19/OpCh4Lwt7/mWVRp3cNpGr4c5u/Mn2f9MXbt5E40Ggl8uLm9uT2bySP62f3dVbaz+zu1duGSqkiTNHgXucNspWmAj+tRwLysN5z8+J/26KgU044L36Kx8nRu9jA5ZnFcXhE0lBebbDSNHB/nUkPjIkvaMKww0tfQpiTH33oKspmXJ89kZ9UmyncN5RrbSG/Q+uFhMv079W/Ip0O0+2zNtpd/oGFL+8stLJv3f3z5IE9aJg0NYU0hkx9vfxkfej+XGqfsV1tFQI8Zs6oiz2/GLs82wP3Xubh+2vBd3jgQ8Bl0/s1AXeadhymfDdCi3fR5A8FYUmYEL0fsxUhlUlelGIYxYu62ZFM6KsPyX3RJ6R8BPcUh
-sidebar_class_name: "put api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Replace asset"}
->
-</Heading>
-
-<MethodEndpoint
- method={"put"}
- path={"/bookmarks/{bookmarkId}/assets/{assetId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Replace an existing asset with a new one
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The new asset to replace with","content":{"application/json":{"schema":{"type":"object","properties":{"assetId":{"type":"string"}},"required":["assetId"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - asset was replaced successfully"},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/search-bookmarks.api.mdx b/docs/docs/api/search-bookmarks.api.mdx
index e7491d34..f4ac5574 100644
--- a/docs/docs/api/search-bookmarks.api.mdx
+++ b/docs/docs/api/search-bookmarks.api.mdx
@@ -1,11 +1,11 @@
---
id: search-bookmarks
title: "Search bookmarks"
-description: "Search bookmarks"
+description: "Full-text search across all bookmarks. Searches bookmark titles, content, descriptions, and notes. Results default to relevance sorting."
sidebar_label: "Search bookmarks"
hide_title: true
hide_table_of_contents: true
-api: eJzNWEtv4zYQ/ivCXNoCQpzt0Tdv0EdadBM0WfQQ6DCWRhbXFKmQlBOvof9eDClLsiMn8m6A9hRHnMc3Dw5nZgcZ2dSIygmtYA53hCYtoqXW6xLN2kIMDlcW5g/wsfuWxGAprY1wW5g/7GBJaMgsalfA/CFpkhgqNFiSI2M9gU0LKhHmO3DbimAO1hmhVtDEYOixFoYymDtTUwwKSyZ4hBgEA3qsyWyhiU8LiYFUXTJCtCnE3iBgwZI2qFJiuBnlWEsH88HnA+U5Sttrt9q4G5ORmYBC1eWSzGvSpCiFO8ceJ5zkD1e1sfpV0WmgeFv2UmtJqGDgiuDvw/Bf55ElFzkd+dMuD36wUaqVI+WiJyFltKRIqFTWGWWRUJErKDJkK60sXUSftKM4coXomVJUzCPRrCjKtYmsLqnPsotRG/8n0Dpnt2KvAuOR0xM2IKix7PefLy/5z6ENN8svlDJOV3hgNtw2Q7aWzqtqUTErVpUUKTLr7Itl/pG4ai8RYqiMrsg4EbT397cnRWNwy6gdlfZtESIbva+pIXSULdzoaakzkYvx4xhULSUuObU5hE2X6BMo2U9iQ9lISjcx5LjRXI5OnTtcrYRa3Tl0tX1bX19RbJ2mZLkK5ihkbYjdRCpjrqSJwdZliUZ89VF6f/FKu2nuCTi202h1bdIJYgd1tRIQwxMtOUEl/y71UkhGS8+OlOXsjsEKtZKUhwPjzRJlpY3zttSWzPV4ToUX5p0TNVzakQN0DtOC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4N/+Gav2uRwBXNJKkY3mwWkB3TRLrtDGpb3wXcwgStOUlewQlVFCGnvDKkzviMKjPk+LN3JZrVtdokJOPU7/tikqnAbMwKjKYaXJQKOFDf+oo/g8JAL4+Fh0GUCl58+tA8P19LnYIKfo4K6nDVQ1ihu5/TUbA9pKuBo4UmiJgnOuaPRUNUlELjWwavQf3H6O/vx/euA7JXGeR6Dx5sdQhYfRWB23+PKpk2Yf6p3lpiQOhm8naljBt4vP3UOniaCMwivbjbsypdWbbf8OWKCnJkz6TjD3IN+du3x6lNd7F7DA08qvaIuaV0/swQXFWMRYOXhZ//B7xUPCN19w3im8E97dXhAlt1LxDPl+I6XiPtlap4MninU/wO8/oD6dyD31gzTtrsJb5+JiLUthF3cPUlTKru77iDnzKVpuf7x9wsRkYUuWLzflXRRO9TrDu/NJlJccBXebsVOhVCVxZb7/P8BzU6nQw==
sidebar_class_name: "get api-method"
info_path: api/karakeep-api
custom_edit_url: null
@@ -36,7 +36,7 @@ import Heading from "@theme/Heading";
-Search bookmarks
+Full-text search across all bookmarks. Searches bookmark titles, content, descriptions, and notes. Results default to relevance sorting.
<Heading
id={"request"}
@@ -47,7 +47,7 @@ Search bookmarks
</Heading>
<ParamsDetails
- parameters={[{"schema":{"type":"string"},"required":true,"name":"q","in":"query"},{"schema":{"type":"string","enum":["asc","desc","relevance"],"default":"relevance"},"required":false,"name":"sortOrder","in":"query"},{"schema":{"type":"number"},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","title":"Cursor"},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."},"required":false,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.","name":"includeContent","in":"query"}]}
+ parameters={[{"schema":{"type":"string","description":"The search query string."},"required":true,"description":"The search query string.","name":"q","in":"query"},{"schema":{"type":"string","enum":["asc","desc","relevance"],"default":"relevance","description":"Sort order for results. Defaults to 'relevance'. Use 'asc' or 'desc' for date-based sorting."},"required":false,"description":"Sort order for results. Defaults to 'relevance'. Use 'asc' or 'desc' for date-based sorting.","name":"sortOrder","in":"query"},{"schema":{"type":"number","description":"Maximum number of items to return per page."},"required":false,"description":"Maximum number of items to return per page.","name":"limit","in":"query"},{"schema":{"type":"string","description":"Cursor from a previous response to fetch the next page.","title":"Cursor"},"required":false,"description":"Cursor from a previous response to fetch the next page.","name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."},"required":false,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.","name":"includeContent","in":"query"}]}
>
</ParamsDetails>
@@ -62,7 +62,7 @@ Search bookmarks
<StatusCodes
id={undefined}
label={undefined}
- responses={{"200":{"description":"Object with the search results.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}}}}
+ responses={{"200":{"description":"A paginated list of bookmarks matching the search query.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for the next page, or null if no more results."}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
>
</StatusCodes>
diff --git a/docs/docs/api/sidebar.ts b/docs/docs/api/sidebar.ts
index 0b9c7fb6..4a832954 100644
--- a/docs/docs/api/sidebar.ts
+++ b/docs/docs/api/sidebar.ts
@@ -12,13 +12,13 @@ const sidebar: SidebarsConfig = {
items: [
{
type: "doc",
- id: "api/get-all-bookmarks",
+ id: "api/list-bookmarks",
label: "Get all bookmarks",
className: "api-method get",
},
{
type: "doc",
- id: "api/create-a-new-bookmark",
+ id: "api/create-bookmark",
label: "Create a new bookmark",
className: "api-method post",
},
@@ -30,68 +30,74 @@ const sidebar: SidebarsConfig = {
},
{
type: "doc",
- id: "api/get-a-single-bookmark",
+ id: "api/check-bookmark-url",
+ label: "Check if a URL exists in bookmarks",
+ className: "api-method get",
+ },
+ {
+ type: "doc",
+ id: "api/get-bookmark",
label: "Get a single bookmark",
className: "api-method get",
},
{
type: "doc",
- id: "api/delete-a-bookmark",
+ id: "api/delete-bookmark",
label: "Delete a bookmark",
className: "api-method delete",
},
{
type: "doc",
- id: "api/update-a-bookmark",
+ id: "api/update-bookmark",
label: "Update a bookmark",
className: "api-method patch",
},
{
type: "doc",
- id: "api/summarize-a-bookmark",
+ id: "api/summarize-bookmark",
label: "Summarize a bookmark",
className: "api-method post",
},
{
type: "doc",
- id: "api/attach-tags-to-a-bookmark",
+ id: "api/attach-tags-to-bookmark",
label: "Attach tags to a bookmark",
className: "api-method post",
},
{
type: "doc",
- id: "api/detach-tags-from-a-bookmark",
+ id: "api/detach-tags-from-bookmark",
label: "Detach tags from a bookmark",
className: "api-method delete",
},
{
type: "doc",
- id: "api/get-lists-of-a-bookmark",
+ id: "api/get-bookmark-lists",
label: "Get lists of a bookmark",
className: "api-method get",
},
{
type: "doc",
- id: "api/get-highlights-of-a-bookmark",
+ id: "api/get-bookmark-highlights",
label: "Get highlights of a bookmark",
className: "api-method get",
},
{
type: "doc",
- id: "api/attach-asset",
- label: "Attach asset",
+ id: "api/attach-asset-to-bookmark",
+ label: "Attach asset to a bookmark",
className: "api-method post",
},
{
type: "doc",
- id: "api/replace-asset",
- label: "Replace asset",
+ id: "api/replace-asset-on-bookmark",
+ label: "Replace asset on a bookmark",
className: "api-method put",
},
{
type: "doc",
- id: "api/detach-asset",
- label: "Detach asset",
+ id: "api/detach-asset-from-bookmark",
+ label: "Detach asset from a bookmark",
className: "api-method delete",
},
],
@@ -102,49 +108,49 @@ const sidebar: SidebarsConfig = {
items: [
{
type: "doc",
- id: "api/get-all-lists",
+ id: "api/list-lists",
label: "Get all lists",
className: "api-method get",
},
{
type: "doc",
- id: "api/create-a-new-list",
+ id: "api/create-list",
label: "Create a new list",
className: "api-method post",
},
{
type: "doc",
- id: "api/get-a-single-list",
+ id: "api/get-list",
label: "Get a single list",
className: "api-method get",
},
{
type: "doc",
- id: "api/delete-a-list",
+ id: "api/delete-list",
label: "Delete a list",
className: "api-method delete",
},
{
type: "doc",
- id: "api/update-a-list",
+ id: "api/update-list",
label: "Update a list",
className: "api-method patch",
},
{
type: "doc",
- id: "api/get-bookmarks-in-the-list",
- label: "Get bookmarks in the list",
+ id: "api/get-list-bookmarks",
+ label: "Get bookmarks in a list",
className: "api-method get",
},
{
type: "doc",
- id: "api/add-a-bookmark-to-a-list",
+ id: "api/add-bookmark-to-list",
label: "Add a bookmark to a list",
className: "api-method put",
},
{
type: "doc",
- id: "api/remove-a-bookmark-from-a-list",
+ id: "api/remove-bookmark-from-list",
label: "Remove a bookmark from a list",
className: "api-method delete",
},
@@ -156,38 +162,38 @@ const sidebar: SidebarsConfig = {
items: [
{
type: "doc",
- id: "api/get-all-tags",
+ id: "api/list-tags",
label: "Get all tags",
className: "api-method get",
},
{
type: "doc",
- id: "api/create-a-new-tag",
+ id: "api/create-tag",
label: "Create a new tag",
className: "api-method post",
},
{
type: "doc",
- id: "api/get-a-single-tag",
+ id: "api/get-tag",
label: "Get a single tag",
className: "api-method get",
},
{
type: "doc",
- id: "api/delete-a-tag",
+ id: "api/delete-tag",
label: "Delete a tag",
className: "api-method delete",
},
{
type: "doc",
- id: "api/update-a-tag",
+ id: "api/update-tag",
label: "Update a tag",
className: "api-method patch",
},
{
type: "doc",
- id: "api/get-bookmarks-with-the-tag",
- label: "Get bookmarks with the tag",
+ id: "api/get-tag-bookmarks",
+ label: "Get bookmarks with a tag",
className: "api-method get",
},
],
@@ -198,31 +204,31 @@ const sidebar: SidebarsConfig = {
items: [
{
type: "doc",
- id: "api/get-all-highlights",
+ id: "api/list-highlights",
label: "Get all highlights",
className: "api-method get",
},
{
type: "doc",
- id: "api/create-a-new-highlight",
+ id: "api/create-highlight",
label: "Create a new highlight",
className: "api-method post",
},
{
type: "doc",
- id: "api/get-a-single-highlight",
+ id: "api/get-highlight",
label: "Get a single highlight",
className: "api-method get",
},
{
type: "doc",
- id: "api/delete-a-highlight",
+ id: "api/delete-highlight",
label: "Delete a highlight",
className: "api-method delete",
},
{
type: "doc",
- id: "api/update-a-highlight",
+ id: "api/update-highlight",
label: "Update a highlight",
className: "api-method patch",
},
@@ -230,36 +236,36 @@ const sidebar: SidebarsConfig = {
},
{
type: "category",
- label: "Users",
+ label: "Assets",
items: [
{
type: "doc",
- id: "api/get-current-user-info",
- label: "Get current user info",
- className: "api-method get",
+ id: "api/upload-asset",
+ label: "Upload a new asset",
+ className: "api-method post",
},
{
type: "doc",
- id: "api/get-current-user-stats",
- label: "Get current user stats",
+ id: "api/get-asset",
+ label: "Get a single asset",
className: "api-method get",
},
],
},
{
type: "category",
- label: "Assets",
+ label: "Users",
items: [
{
type: "doc",
- id: "api/upload-a-new-asset",
- label: "Upload a new asset",
- className: "api-method post",
+ id: "api/get-current-user",
+ label: "Get current user info",
+ className: "api-method get",
},
{
type: "doc",
- id: "api/get-a-single-asset",
- label: "Get a single asset",
+ id: "api/get-current-user-stats",
+ label: "Get current user stats",
className: "api-method get",
},
],
@@ -270,8 +276,8 @@ const sidebar: SidebarsConfig = {
items: [
{
type: "doc",
- id: "api/update-user",
- label: "Update user",
+ id: "api/admin-update-user",
+ label: "Update a user (admin)",
className: "api-method put",
},
],
@@ -282,31 +288,31 @@ const sidebar: SidebarsConfig = {
items: [
{
type: "doc",
- id: "api/get-all-backups",
+ id: "api/list-backups",
label: "Get all backups",
className: "api-method get",
},
{
type: "doc",
- id: "api/trigger-a-new-backup",
+ id: "api/create-backup",
label: "Trigger a new backup",
className: "api-method post",
},
{
type: "doc",
- id: "api/get-a-single-backup",
+ id: "api/get-backup",
label: "Get a single backup",
className: "api-method get",
},
{
type: "doc",
- id: "api/delete-a-backup",
+ id: "api/delete-backup",
label: "Delete a backup",
className: "api-method delete",
},
{
type: "doc",
- id: "api/download-a-backup",
+ id: "api/download-backup",
label: "Download a backup",
className: "api-method get",
},
diff --git a/docs/docs/api/summarize-a-bookmark.api.mdx b/docs/docs/api/summarize-a-bookmark.api.mdx
deleted file mode 100644
index 05396a02..00000000
--- a/docs/docs/api/summarize-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: summarize-a-bookmark
-title: "Summarize a bookmark"
-description: "Attaches a summary to the bookmark and returns the updated record."
-sidebar_label: "Summarize a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVU2P2zYQ/SvCnFKAsJ0iRQLd3EOBbQ9ddLfIwfBhLI0triWSIYdeOwL/ezCUP3eVdg97skwOZ948vnnsoaZQee1YWwMlzJmxaigUWITYdegPBduCGypW1m479NsCTV144uhNyBvR1cgka5X19QQUMG4ClAv4/XgkwFJBoCp6zQcoFz2sCD35eeQGysUyLRU49NgRkw85IFQNdQhlD3xwBCUE9tpsQAHtsXOtLGnSdbs/bLrnpy+f7f77b82e2VZfBIHmHHJCcFdDUuDpW9SeaijZR1JgsJOg1SVIgRYWHHIDgspTcNYECoLk19lMfm4Je7xi4EzRs+bmxB8oqKxhMiyH0blWVyiHp09BMoz0aldPVDEocN468qyH+rp+zUdSUHmS6nMe3e1srdd6fFuBiW2LK6FKGEln4t4Qib5q9I6uMa2sbQmNlF3jzsp1/2yfcbPRZvPAyDH8fz0FZGInmgqxqigEkBK6jZ6EJjK1nFomBQPr+num+P3TG8tvo+d0+2+KtdFXb0h7gYlOg4JnWom6Wvnu7Eq3lOeDyQQRp4Kgzaal9bDhc1u6c9Zz7iUG8ndjmroZlYXo7lplN5q60sHNpb+84fGLOWNYpiRVP80+vZ6w0wwXxnKxttHU7zdSla1HeJexoRBwM7b3gpyc4RKfG8nnubG1WIkNuaw4SgnTk0WEaX+xnTQ9kSOpAvndyQajb6GEHuvaUwhpik5Pdx9BwQ69FmHkLo7bA3VrjC1DCQ2zC+V0yv4w2aLHLZGboHOgRhzsmKGw62zpfx3jiwELpJSuHPxByB0qX/v4mSmpLH3kMBn7HATq+PGH9R0Kwj+/PmY6tVlbOS5dD5A+TmaT2ZWNn/HM7+9G8c/v74q19bfgpdmk8g10mGVxNPyHE9sFnj37Zdr+IrF3ehQHcpj2PHUt6myD+X77ozoW55dIJqO8eZYuAlkqaERT5QL6foWB/vVtSrL8LZIYzmJ5kUcWUa2DfNdQrrEN9B+NfvjnqOxfip8hPi6iOWQVtlH+gYItHW6f0iQW0xDW5DOKIWBeVeT46uir6RWlnafn/u+HR/GYW4G9EFROP4qr74eIR7slk9IZJst/QZjSD3WCHTs=
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Summarize a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/bookmarks/{bookmarkId}/summarize"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Attaches a summary to the bookmark and returns the updated record.
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The updated bookmark with summary","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/summarize-bookmark.api.mdx b/docs/docs/api/summarize-bookmark.api.mdx
new file mode 100644
index 00000000..7c914a57
--- /dev/null
+++ b/docs/docs/api/summarize-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: summarize-bookmark
+title: "Summarize a bookmark"
+description: "Trigger AI summarization for a bookmark. The summary is generated asynchronously and attached to the bookmark. Returns the updated bookmark record."
+sidebar_label: "Summarize a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJzNV9tuGzcQ/ZUB85IIa8kpUjTQQwGlbQA3AWrENorCMaDRcrTLiEtueJGtCAv0I/qF/ZJiuBdJltIaaB/6pDU5nDlzOzPeCluTw6CsuZBiKnysKnTqC72xdlWhW4lMSPK5UzXLiKm4dqooyMHsAnrh9ByW1gHCons3huuSOokNKA8FGTZEEtBvTF46a2z0egNoJGAImJckIVgIJe1p+UAhOuPTaaxlUtDfgqPcOjkWmQhYeDG9FT1sL+4y4SmPToWNmN5uxYLQkZvFUIrp7V1zl4kaHVYUyPkk4POSKhTTrQibmjgWwSlTHAeAkRj1ORIoSSaopSIHdnkIXGSCHrCqNWtSpKR+2BTV/afX39mHL9+WDyHY/DUDVyGJ9MAvpGgy4ehzVI6kmAYXKRMGKxZa7IQyoRhMjaEU7IwjX1vjybMD35yf888x7iFy9yqUBzHtMsW4c2sCmcAasK61ylN+J588qzkRJ7v4RHkQmagdF1NQLQglj2PZZCJ3xAZn4eRtZSXH8+R1JkzUGhccLw5LM0TvCZLo8lKtaR/TwlpNaNjsEteWS+Vr9wGLQpniKmCI/p/tZYJMrLgefcxz8l6wCaWjIw4TGcmv7ppMHLTQf6/e2PC08HTpf5qsjS5/gtodTKyVyMQ9Lbi6NH9XdqE0pSYJZDxXaCa8MoWmZXvhkluqqq0LyZfoyV2cqqmDfrnlutuvsoOa2quDg6Q/zvDpxAwY7pqGrb46f3ncZjcGYygtc6iEP3//I3XZm0Q+EOyKDJNhpTw7m4Eya9RKZmAd0EPNPjxqwUAPYVJrVKebb4j9jm32EYge6atjpD3lgLEBljaax6b/TffnVp4skUMIM6gwL5WhM0couXSAnLMO+Pk4EQJ5j8WTVJWxQvNYUfd+fFQmCeBO/92Oin/ihylwyX4oLU/G2vrkJRPuVEx6JvWT7Y6Vm8kwP7mEyK374RKdFlOxRSkded9MsFaT9UuRiTU6xXBT0LrrNlVLjDqIqShDqP10MgluM16hwxVRPca6PjmYOg39OHrXyUOLhZ3am4tXnMvW8v50HCLNltmPJMaEmIRE1n28ta5CRvjzr9cpvMosLT9nr1tIL8fn4/O9KTfgmV1eHOEfLpUHBE96eVZaH1Iy+xgrU6SFgbN8psKZxkAueady4p1DedYNqLW997CxkVeKCg0WOyU+A6188Bnw2pBBqYpSq6LkE/Se0q+RsMB8FWsPtbOFw6rCoHLUejP+aD6aZ8+Aw8ULQNsifDjTGsjI2ioTPHTlBnjY/zXbkKBMStF81jVrUjKHklCSG8NvNkKOZtibAE3ybEUbWDpbHeb3nhZwcwHRSHIwGl1RCMoUHr5Pb97Rxo9GPexLLJQZIL9XPuxh9rFmxoU8Om/d2QIZaj28gLVCmLeX8xSkuVaVCnP4HMltYLdTtQtgv5aAMrmOkjizc0MP4YdOxVKRbnmSwwIqALbL3mBkUMmZXFLI28WFlTAwGsMM5jx55rBGHSktogc2lJGcI0qKOR+OwFiorEsAow6+j83AidebmjwfDhtlysaCwBpq28sRAXeKn340ZzAaaWVWo1HyZQY3H94/2rZsqnPUkDu81yShooASA47b50z0w/NE+MBHzM7UiaTi7GUMxFpblCSBRyY8VxUXuXVw+ePbF4k8mbMqTLzdbZBXPT/treqPG3G7mwH/122/5ae90cj7AVPstiPo22FX5rE9PVicdxx9lwlmGBbfbrnUb5xuGj5O1cz/KOwYOvG4VJ6/pZguUXv6m8g9/9ANmxfwNcTdIZpNGgQ68l8iEyvaHC77De8/LTEkFK3ALM+pDntPj+Y1k/0wwC5/ubrmBeiQ4x9xelJ/Etd220pcM4c1zQAzcRojbJq/ACkPBf8=
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Summarize a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/bookmarks/{bookmarkId}/summarize"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Trigger AI summarization for a bookmark. The summary is generated asynchronously and attached to the bookmark. Returns the updated bookmark record.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The bookmark with the updated summary.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/trigger-a-new-backup.api.mdx b/docs/docs/api/trigger-a-new-backup.api.mdx
deleted file mode 100644
index d4eabb18..00000000
--- a/docs/docs/api/trigger-a-new-backup.api.mdx
+++ /dev/null
@@ -1,63 +0,0 @@
----
-id: trigger-a-new-backup
-title: "Trigger a new backup"
-description: "Trigger a new backup"
-sidebar_label: "Trigger a new backup"
-hide_title: true
-hide_table_of_contents: true
-api: eJyNVE1v2zAM/SsGz0Lc7qhbNmBANwwr0Aw7BDnQNhOrtiWVkrplhv77QNvIR5cC88W2SJGPfI8coaFQs/HROAsaNmwOB+ICC0u/igrrLnlQEPEQQG/h43QQYKcgUJ3YxCPo7QgVIROvU2xBb3d5p4ApeGcDBdAjfLi7l9d1qjlWUTNhpKYIqa4phH3q+yMoqJ2NZKNcQ+97U6NcK5+D3B0h1C0NKF/x6Ak0uOqZ6ggKPDtPHM2c2TQXPiGysQfIClIgfrhtwhAo3rIpsKnvseoJdOREWcGCfR1vRgrmD10YbBoqYjFUznUDcvfJJRtveoSIMYVbGMimQZjwZJv5ZGkcKNij6RMT7LICYnb8jULAA/1HLVkYe0mGqZHopoFTk84tuSx4Ke9tMSfouyyPgoFi6xrQ4F2Y6EHRCJTVoiQREr8Sh0lHiXvQMGLTMIWQS/SmfL0HBa/IRuBOPVnMs6T2mPoIGtoYfdBlGfm46pCxI/Ir9KLeNxJvqVgiFG5fxJaKr4t/MWOBnPOFwp9Ea3PmS52feiqZpY7JDfTiJK2ZPj47HlAQfvm5AWmJsXsn16XqGdL96m51J2NmojACJzzrx4eb+NePD8Xe8TV4KTarqdEDTlNicQL0zlBfhR3PE/fuEpjLjfQ7lr5HY6dJEsbGhdYtVOcF0QrhegvjWGGgH9znLMcviViWxu5M6rQzFLSEDfGkg46OoGFd1+TjxH6fJPU/m0BoOins8fvTRtR6zc4bNqbwiwnt8SL4OM4eG9eRzRnUgiLKP2QR9F+uE8Zd
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Trigger a new backup"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/backups"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Trigger a new backup
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"201":{"description":"Backup created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"assetId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"size":{"type":"number"},"bookmarkCount":{"type":"number"},"status":{"type":"string","enum":["pending","success","failure"]},"errorMessage":{"type":"string","nullable":true}},"required":["id","userId","assetId","createdAt","size","bookmarkCount","status"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/update-a-bookmark.api.mdx b/docs/docs/api/update-a-bookmark.api.mdx
deleted file mode 100644
index 5536c01c..00000000
--- a/docs/docs/api/update-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: update-a-bookmark
-title: "Update a bookmark"
-description: "Update bookmark by its id"
-sidebar_label: "Update a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVtuO2zYQ/RVhnlpAtb1FigZ6c4IW3V7QRbJBHww/jMSRxbVEKrx47Rj692Io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WZBpqJwZVcW1dhUE7XFnYdLo7L2JNWopfgy+1wSw5+6bIuUYbs3/UurSY2fQ/KCSEZNaTbGAptHZuczyla+mTKpuHpz544+pvtIIkgHCEt/wtIciwtveDzdx86EX8ffc3LbhLVKSiv9DyCGPZ0mjbODWfTglAwHTbnzqCL4w/3fMxwwLN01cSXHesso9q9aLsdpZa79f3731hfXYNehWQGBh852+Nj660Ojw+yDXNnKFHtfEhu0B7adH3fuFRPxRueNYvH+dxa3Os9qabp4XE8ZmSa5l9CRZNh
-sidebar_class_name: "patch api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Update a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"patch"}
- path={"/bookmarks/{bookmarkId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Update bookmark by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The data to update. Only the fields you want to update need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"summary":{"type":"string","nullable":true},"note":{"type":"string"},"title":{"type":"string","nullable":true,"maxLength":1000},"createdAt":{"type":"string","nullable":true},"url":{"type":"string","format":"uri"},"description":{"type":"string","nullable":true},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true},"text":{"type":"string","nullable":true},"assetContent":{"type":"string","nullable":true}}}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The updated bookmark","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/update-a-highlight.api.mdx b/docs/docs/api/update-a-highlight.api.mdx
deleted file mode 100644
index c8b25624..00000000
--- a/docs/docs/api/update-a-highlight.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: update-a-highlight
-title: "Update a highlight"
-description: "Update highlight by its id"
-sidebar_label: "Update a highlight"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVcGO2zYQ/RViTg3A2E6QooFubtAimx6ySBzkYPhAi2OLa4lkyNGuVUH/Xgwl2/Kusg2Q+CSLT5yZN+/NtKAx5sF4Ms5CBl+8VoSiMPuiNPuCxLYRhqIwGiSQ2kfI1vD+dBphIyFiXgdDDWTrFraoAoZlTQVk6023keBVUBUShpgAMS+wUpC1QI1HyCBSMHYPEvCoKl/yK4NGl8dmXz3cvf3DHf/9vTgSufwtp2AoQc4p3GjoJAT8VpuAGjIKNUqwqmJUMUJJMFygV1QA58WfYKQ/nW44m2saVgUKrUgJcqJOlMzER1s2ggoUO4OljqJxtXhQli4YYRE1/92i8MHdG416BhJyZwktcRjlfWlyxWHmd5FjTVDitneYE0jwwXkMZDDyae5KFyaZs3XFfWmwLN0DcG1c7z4gWpCwLWuETSfBOsKp721dlmrLvDJ7XfrxJdE7G/vYrxeLaZb6yvVFMb+u3q1zh0qFw41+mnQnIZIK9HG3i0ijc1tXWwx8jlY/c/pzZErQuFN1SZCdgJ0EwiP9AL8/3AgJZrr0OmL4Dit5QO7HciKR7soo6zG/12yOuRuqGnJOGZ3jj6NtJrwJvZDeLN481c4ZJKwjsXO11b/SKXqC305ChTGq/dTZI27SDRf8ZvBEhVQ43Y+RvOC4PE4ymJ/lH+ftaOp0zCyG+9P0q0MJGbRK64AxdnPlzfz+FUi4V8Fw51P6w3FP2klmBZGP2XxOoZkdVFAHRD9T3oOccOVwg3C7NLH+GfCiz4X7Mhrcn5nVwXKj8X2miCNzHQkG2QBiL6SHv12oFGf44esq8cjd+nSZrn+d5vp5gl281Rth1CBjd46RzFhfzqvZYrYYTf5zLcvbm8nal7c3YufCdeFMVCfBu0iVSloaVsSw8NTVALu6tL2o8n/WY08X+2XuS2Vssip3vB10sr5spAgSsvF+2kgoXCQGte1WRfwSyq7j199qDLxdNxeZJDFpE/lZQ7ZTZcRn0v7t0yDtF+J7eQ4vlW2SGnnKZQASDtg8WqQdr5IClcaQ0ugR7/pgL1d8z+WGJy7u5OmLZZ6jp2exm5Hjbperd+9ZdMPCrpLHIag0o9VDn65L1Sctp3ctlMru6+R56C9liaprhT9SdCprkpC27RErd0DbdWd+iP8zM133H3AUMso=
-sidebar_class_name: "patch api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Update a highlight"}
->
-</Heading>
-
-<MethodEndpoint
- method={"patch"}
- path={"/highlights/{highlightId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Update highlight by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"HighlightId"},"required":true,"name":"highlightId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The data to update. Only the fields you want to update need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"color":{"type":"string","enum":["yellow","red","green","blue"]},"note":{"type":"string","nullable":true}}}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The updated highlight","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"404":{"description":"Highlight not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/update-a-list.api.mdx b/docs/docs/api/update-a-list.api.mdx
deleted file mode 100644
index a6d82888..00000000
--- a/docs/docs/api/update-a-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: update-a-list
-title: "Update a list"
-description: "Update list by its id"
-sidebar_label: "Update a list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UkWyw8vZHnDw+DCn4Ur2U3bKJpIoWLmlcg4Yma8UOiS3mSESpyMYP+8LaP89OKXYwvX2m9k8c3lllGVXjTNj3T5f1ydfsHk3T4YCnjJACHe5DxP2ZqY+GR+3GvhQLNro6TAXqnTGm8VMQLBcSyJrFo295iZZ/IdN0JmsBrRqbrvgEFSoAx
-sidebar_class_name: "patch api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Update a list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"patch"}
- path={"/lists/{listId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Update list by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The data to update. Only the fields you want to update need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","nullable":true,"minLength":0,"maxLength":500},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"query":{"type":"string","minLength":1},"public":{"type":"boolean"}}}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The updated list","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}}},"404":{"description":"List not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/update-a-tag.api.mdx b/docs/docs/api/update-a-tag.api.mdx
deleted file mode 100644
index 73362456..00000000
--- a/docs/docs/api/update-a-tag.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: update-a-tag
-title: "Update a tag"
-description: "Update tag by its id"
-sidebar_label: "Update a tag"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVMGO2zYQ/RViTgnA2k6RooFubpCg2x66SB3kYOgwFscWdyWRIUe7VgX9ezCkdu3deoMc4oNtcZ44b2bemxEMxSpYz9Z1UMBnb5BJMR7UblCWo7IGNDAeIhRb2MhvqSFS1QfLAxTbEXaEgcK65xqKbTmVGjwGbIkpxASIVU0tQjECD56ggMjBdgfQQEdsfSNHlqxpjsOhvb9597s7/vdbfWR21TtJbjlBNni4MjBpCPS1t4EMFBx60tBhK3FOcQ1WCvHINQgXAVPkP5wZhMHTcjc1KYOMip3qU+kL9U/XDIprUntLjYlqcL26x45PGNURGXnckfLB3VlDZgEaKtcxdSxp0PvGVihpljdRcl1og9vdUMWgwQfnKbClKNFczvNmTekj9UTvupihv65Wl4vKRI0M8ucRs+YCLf0i3/NBbSHpKEHLXMjb1dsL3PGgOsdq7/rO/DzmlTOXKGpoKUY8/AD9dMMJX87TaIlrZ7Leqlryiu4KWIpjlmOS5ARimHD3YIc+NFDAiMYEinFaorfLuzeg4Q6DxV2TKc/h3KI99g1DATWzj8VyyWFY3GLAWyK/QO9BX9DAfINy+yTnv2e8ylxEUGdO/lc6mTOf+/mxLZJZ6kgwKGYQ6PnPRxdaFIZ/fdmk3smEPp2s9+HB6A/yPpuB7fZOAtKgzP7NYrVYnTn/kfr6+upiqevrK7V34Wmd0pdJg3eRW+zOUs9LDmd3PLluPEnuxWWYO8J05KVv0HaSJQ11nMe/zQtTQ5F3UqmhdpElMI47jPQ5NNMkx197CrJFy9P0k0aMjfLfQLHHJtJ3SL76NKv0tXqJ23yI3ZBE1vTyBBpuaXhcm1M5aagJDYVEIMfe5zS/bOSG07v/s+KkH95YVxV5/i62PLPN9Xrz/k9R0bye22RUCHgPOn0noi7VncSZzkZosDv0ybiQLxXN4VPJPpNoKutiK8YxIzbulrppOnVGnqUz0/QN/t1xKA==
-sidebar_class_name: "patch api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Update a tag"}
->
-</Heading>
-
-<MethodEndpoint
- method={"patch"}
- path={"/tags/{tagId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Update tag by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The data to update. Only the fields you want to update need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The updated tag","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}}}},"404":{"description":"Tag not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/update-bookmark.api.mdx b/docs/docs/api/update-bookmark.api.mdx
new file mode 100644
index 00000000..e5666d4e
--- /dev/null
+++ b/docs/docs/api/update-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: update-bookmark
+title: "Update a bookmark"
+description: "Partially update a bookmark. Only the fields provided in the request body will be updated. Supports updating common fields (title, note, archived, favourited) as well as type-specific fields."
+sidebar_label: "Update a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJzdWNuOG8cR/ZVC+0VazHJXhgMbfAhAKTaytgIvpF0EwWoBFqeLMy32dI/6Qi5FEPBH5AvzJUn1XLmkZQbRU/hCsqequi6nbrMTtiaHQVlzI8VUxFpioNfWrip0K5EJST53qmYCMRW36IJCrbfQEALCoqWdwK9GbyGUBEtFWnqonV0rSRKUSceOPkXyARZWbmGjtIYFtXLkBN7HurYu+OZEmQJyW1XWdNJeBBU0ZWBsoAzQ5aVak8xgiWsbnQokXwJ62JDW/B22NV36mnK1VHkrYyIyEbDwYvogOhO9eMyEp5xFbMX0YScWhI7cLIZSTB8e94+ZqNFhRYGcTwQ+L6lCMd0JvkRMhQ9OmeLIWXclQTTqUyRQkkxQS0UO7DI5o3ebyAQ9YVVrlqRISf20LarNxx++t0+f/1Q+hWDzH1hxNl9Me8VvpNhngn2qHEkxDS5SJgxWTLQYiDKhWJkaQynYmDYKr63csgnHKrf+DraNzXFgtzbCBk1gmrxEUxAYIsl/F9SHnS3LrQlkAl+Eda1VnpB29dHzbSc8aRcfKQ8iE7VjXAZFPvG20R5RLqzVhIZ9MCDg9HMfqwrd9lTATNQaF+xXdt8+E4yuY8J97/4/EpGJCp/ekikYPa+ur6/3mcgdMcRn4SwNotOn6JbWVRg4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7oKbxpRaT9JLUSdguokDZB9kt3SS+SI7mkkJfpOQthxWgCM5hzc57DGnUkWFp3eIcykmNESTDHwxEYC5V1ScGog+9807eNu21Nng/7rTNFY0FgDTWlyBGlndVPP5hLuLjQyqwuLpItM7h/97bHG2xUKMEmnKOG3OFGk4SKAkoMOGnYOc169tQTgY/S9tySJHB2NAZirS3yts5TBbxQFYPcOrj9y08vU3+prQ8VptbWbpn3z98BPM/C3dAj/x9eHTRFfzRmDOta0+se+sWbR6DpaAt/zASXHybZ7TgP7p3e7/k4QZ3fNAytLjVEqTz/lmK6RO3pC5598a5t1i/h97RsD9FsU0fVkf+JTKxoe/i2YM/zY1M1khYNQVufLxnHIwFHU88+6zhmeU51+CLt42hkuJ3dvfkr9832rUSVZiLhcMPzLW4abRvQp3acznZCoyliGnpEI3Tfrrrj5eSwKSezTvpjt2so7riw7ve9e1KhZc/s9/8GMwq28A==
+sidebar_class_name: "patch api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Update a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"patch"}
+ path={"/bookmarks/{bookmarkId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Partially update a bookmark. Only the fields provided in the request body will be updated. Supports updating common fields (title, note, archived, favourited) as well as type-specific fields.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The fields to update. Only the fields you want to change need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"summary":{"type":"string","nullable":true},"note":{"type":"string"},"title":{"type":"string","nullable":true,"maxLength":1000},"createdAt":{"type":"string","nullable":true},"url":{"type":"string","format":"uri"},"description":{"type":"string","nullable":true},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true},"text":{"type":"string","nullable":true},"assetContent":{"type":"string","nullable":true}}}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The updated bookmark.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/update-highlight.api.mdx b/docs/docs/api/update-highlight.api.mdx
new file mode 100644
index 00000000..77e14fd1
--- /dev/null
+++ b/docs/docs/api/update-highlight.api.mdx
@@ -0,0 +1,71 @@
+---
+id: update-highlight
+title: "Update a highlight"
+description: "Partially update a highlight. Supports changing the color or note."
+sidebar_label: "Update a highlight"
+hide_title: true
+hide_table_of_contents: true
+api: eJytV+Fu2zYQfpUD+6c1FDsdOqzQjwFu16JZCyxoEwxDGsBn8SyxpkiVpOKohoA9xJ5wTzIcJcty7BYFVv+xQx6P3313/O6yFbYih0FZcyFFKupKYqA3Ki+0yosgEiHJZ05VbCFScYkuKNS6gc4SEIqd8RQ+1FVlXfCQFWhyZXIIBUFmtXVgHRgbaCoSETD3Ir0RwzVe3CbCU1Y7FRqR3mzFktCRm9ehEOnNbXubiAodlhTI+Wjgs4JKFOlWhKYikQofnDL5EeCrgqA26nNNoCSZoFaKHNhVRLaHLhJB91hWml0pUlLfN3m5+fT8F3v/5efiPgSbPWfoKkSTAfqFFG0iHH2ulSMp0uBqSoTBkq2KkVUiFOOpMBSC4+Ej5MMLKxuO4hj1SpGWHoLtqZ7CH0Y3EXe/1dgaNmgC20TGCQyR5D+XBJWzd0qS5NgyawKZwBdhVWmVxYzPPnm+7QSZdvmJMs5+5bg+giLPuzGTpzgnU5ec0Ya0thvB0XHEuSMyIhFLXZO4bRPBFXDqvKm1xiUzy/y18cNOfGWN7+7+6fz8NE8dO/IwmT8o4KW16xLdmt/GQ9RtInxAF/5YrTyF0b6pyyU53icjv7H7/9jkQl9hrYNId4ZtIgLdh+8g+LszkQh1OvTak/sKK5kjTsj8BJD24K3cjPk9ZHPMXR9VjzkiGu4f33Z74nmKrpKenT89Lp5rg3UorFNfSMK/f/8Tn9aLKDwQ7JoMKA+l8l6ZPAFl7lArmbCQ0X3FETwoNEY5qzSq0yW2T+8gNGMEA9Jnx0iHcFhCYWVr82NftTxZCocY5lBiVihDZ45QcokAOWcd8PEp570k7zH/LldFXaJ56Kg/Pz2qkghw73+U51d8UPRyUVIorOw0Nis4TNbaVMwGZfCz7UiSW645cne7llI7LVKxRSkded/OsFKzu6ciEXfoFOOMbPXbXZJ2D7AIofLpbBZcM12jwzVRNcWqOtmOeg+7JvS2t4cOC0cz6oYfOIm9GI164kAx38xxRDOR9kasEvHHa+tKZIS//3kVeeXieL9vPa92tTiI+151OokYPWxlVpYtmbEunKfT8+n5qC0OscwvL45iHzaVBwRPenVWWB9iBeyEgGcGNBK4NM5UONMYyEVmVEZTuCqUZ9+AjLHrgMFCiQbzvROfgFY++AR40kj2ncEngN5T/DYSlpit68pzp8wdliUGlfFsM/1oPppHj4Cp5pGhe1e8ONcayMjKKhM89DUKeKgaFd8hQZmY3sW8f+LRyQIKQkluCn/ZGjI0kJPhAYwATYxsTQ2snC0Pa2NDS7i+gNpIcjCZfKAQlMk9/BrPvKXGTyY72JeYKzNAfqd8GGH23YgGWe28dWdLZKjVcALuFMKi21xEkhZalSos4HNNroH9FMbJINi1aFAm07UkzuzC0H142buIo0pUV6YFVAD0HS+7SwaXnMkVhayI++yEgdEU5rDgtrSAO9Q1wcq6wzuUkZwjio45H47AWCitiwBrHfyOmxd9icBVU5Hnxd2Kj9lYElhD3dN0RMCvzKcfzRlMJlqZ9WQSY5nD9ft3Q73BRoUCbKxz1JA53GiSUFJAiQGn3XFuD8Px2CaAl7qpuDOJxbmzMVBX2qIkCSulCR6rkovcOrj87fWTqLiV9aHEKPb9xHl9NJU/fIbbfdv4QdN8J0Sj7sfjAWvptlfgm/0g7EUi0vFYfJsIFgE22m65Gq+dbltejgXH0/9egKNMS+X5txTpCrWnb4T3+H3fRJ7A13D2i2iaqPM8WaVCJGJNzYP5veX5tXu8EUZn8bK77IzLaeThqB23ye7EPMuoCt+0vR31ssv51cs3LOf9/wllbNbCYZwLcdPB7Wovdom4thUaTV7Hbiw6pyz+eNg7HvSKGNZJQrbbzuKK9a1tB36i3jEzbfsf6cH7pg==
+sidebar_class_name: "patch api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Update a highlight"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"patch"}
+ path={"/highlights/{highlightId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Partially update a highlight. Supports changing the color or note.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the highlight.","example":"ieidlxygmwj87oxz5hxttoc8","title":"HighlightId"},"required":true,"name":"highlightId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The fields to update. Only the fields you want to change need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"color":{"type":"string","enum":["yellow","red","green","blue"]},"note":{"type":"string","nullable":true}}}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The updated highlight.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Highlight not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/update-list.api.mdx b/docs/docs/api/update-list.api.mdx
new file mode 100644
index 00000000..9075e140
--- /dev/null
+++ b/docs/docs/api/update-list.api.mdx
@@ -0,0 +1,71 @@
+---
+id: update-list
+title: "Update a list"
+description: "Partially update a list. Only the fields provided in the request body will be updated."
+sidebar_label: "Update a list"
+hide_title: true
+hide_table_of_contents: true
+api: eJy1V+9u2zYQf5UD+6U1FNsZWqzwhwFu1mJZCyxIEwxDasBn8SyxpkiVpGK7hoA9xJ5wTzIcJct27KQb0PVDapHH+/vj744bYUtyGJQ1l1KMRFVKDPRB+SASIcmnTpW8KUbiCl1QqPUaGiFA0MqHPvxm9BpCTjBXpKWH0tl7JUmCMnHZ0ZeKfICZlWtYKq1hRq0O2ReJCJh5MboTbNWLSSI8pZVTYS1GdxsxI3TkxlXIxehuUk8SUaLDggI5HwV8mlOBYrQRYV2SGAkfnDLZkf83OUFl1JeKQEkyQc0VObDz6GOMRCSCVliUmrUoUlKv1lmx/Pz6R7v6+ipfhWDT1+ywClGEHb6Uok4Eh6gcSTEKrqJEGCxYQDcCiVDsQIkhFxxAm5A3Vq7Z7WM320QG26bpOMdrW8ESTWCZNEeTERgiyZ8z6irAEaXWBDKBDWFZapXGYg8+e7Z2Int29plSrn7pGBpBkefdJqLjHBfKfCCTcXXOE1HgqvsaDusHJTg+bSqtccbJbPK2p214oO1V1KbSU2rqCAkynOpv2qgT8aUit/5WLKy0mmmV7gnOrNWERtTxH9fRl9b4JkE/DIeni9kivYPYdyqIOhFsnTxSp/9aie+W60bgWJBMVfCdL9BUqEUifIEu8OWXNMdKBzHa7j1VsSN7j9csETn6C8vy1mGwzp+Wqjy5a6uf9NouDTn+lipY/nGvaBlXWvuT+oAU7rhabW3azO7lsTt1wsU9fyaHxCMaDL4cnh/D7tZgFXLr1FeS8Peff0XmeBOJFIJdkAHloVD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PtiXGaUhmelJ3stcKr8c3FL9wX2gdUEXu9cLgUSfwbPW2wF9tNXNsIjSarYjMXjVLuInjYhB40nRjWyVxsNo3EDfNbXXepiXzHmanrfwD1Vlbw
+sidebar_class_name: "patch api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Update a list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"patch"}
+ path={"/lists/{listId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Partially update a list. Only the fields provided in the request body will be updated.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the list.","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The fields to update. Only the fields you want to change need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","nullable":true,"minLength":0,"maxLength":500},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"query":{"type":"string","minLength":1},"public":{"type":"boolean"}}}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The updated list.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"List not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/update-tag.api.mdx b/docs/docs/api/update-tag.api.mdx
new file mode 100644
index 00000000..a0152753
--- /dev/null
+++ b/docs/docs/api/update-tag.api.mdx
@@ -0,0 +1,71 @@
+---
+id: update-tag
+title: "Update a tag"
+description: "Rename a tag. The new name will be normalized and trimmed."
+sidebar_label: "Update a tag"
+hide_title: true
+hide_table_of_contents: true
+api: eJytVttuGzcQ/ZUB85IIa8kpUiTYhwJKmqBu8mA4MorCEaDRcrTLiEsyJNeSIizQj+gX9kuK4a4ulpWgQOoHSyKHwzNnZs5wK6wjj1FZcyVFLhonMdIES5EJSaHwyvGeyMUNGawJECKWQ5hUBIZWkNZWSmuYExjra9TqK0lAIyF6VdckhyITEcsg8jsx4c9pJgIVjVdxI/K7rZgTevLjJlYiv5u200w49FhTJB+SQSgqqlHkWxE3jkQuQvTKPIbIoBqjvjQESpKJaqHIg11ArCjBFpmgNdZOsxNFSur1pqxXn1+9tOuvP1frGG3xiuGqmEwmWF5J0WbC05dGeZIij76hTHDYIuewrqTIhOLbHcZKMHo2phBfW7lhzI8xMnERy0QeYyqsiWQiG6NzWhUpH6PPgU+cCd/OP1MRRSac5+xFRYF3O1CnJLXpj1EFZ03oTH+6vDwPrcu/3LH1PyFT8gyu7JuAj/m+48O96bSL5MXl88fgbw02sbI+Vd8/f/2dcv46VRZEuyQDKk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K7t9GgcXY8nb35jde7fdXWat8LjSmTpfwLa1VYS/bS2FRpN2aSBKjqnrOX4cBScSH8K6ywV221nMWH9atsDM/ybmWnbfwG89Bx+
+sidebar_class_name: "patch api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Update a tag"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"patch"}
+ path={"/tags/{tagId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Rename a tag. The new name will be normalized and trimmed.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the tag.","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The new tag name.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The updated tag.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Tag not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/docs/api/update-user.api.mdx b/docs/docs/api/update-user.api.mdx
deleted file mode 100644
index 0767763f..00000000
--- a/docs/docs/api/update-user.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: update-user
-title: "Update user"
-description: "Update a user's role, bookmark quota, or storage quota. Admin access required."
-sidebar_label: "Update user"
-hide_title: true
-hide_table_of_contents: true
-api: eJzFVk1v4zYQ/SvEXNoCjD92txfdvF+A20u6TdCDYRRjcWxxLZEMSSXrCvzvi6Fkx7GdPRRZRAdbIofDN28eZ9iBolB67aK2Bgq4dQojCRRtIP9LEN7WJMXK2m2DfivuWhtRCutFiNbjhvqRkZipRhuBZUkhCE93rfakRiAh4iZAsYBsAEsJgcrW67iDYtHBitCTn7WxgmKxTEsJDj02FMmHbBDKihqEooO4cwQFhOi12YA8wX1TkZh/FHYtYkUZvIhWtDkakEDfsHE1r+epf6dv3kKSsMcJRfQtSTDY7E3mCiRo9uwwVsDI2JpCfG/VjvGU1kQykV/RuVqXyFDGXwPjuQDcrr5SGUGC89aRj5oCzzLBl8Ij0zbMG4MBCdjTlyTsc/EXE3+0UptIm2xr2rrGFbvtw2q00Q17myQJQ97+5+qVtw+B/AePD7U2m0+GLdWRn5W1NaE585PSacZuOUd9goTCiMdZ2tMyhH0W9HQymZyG8vtk/yR+OF/BWRN6mt9MJvz3LAQlQpvFu27regfypdI7eL3AUHoiwMXBctmjf3cJ8HtUYpChuBJzc4+1VkIb18bMIR/MEo2xcc+sfTBikNALRUTeW3+u2NNwerNDMNML7BtsY2W9/o+UuBJcBMjEAdahhrw28LfnwD9bv9JKkWHUl+rea2N+94zUWRdr25pXBZgkNBQrq7i2ttkjV9gCxvmwj1mtYdz1RTgBNwx/v28Hra+hgA6V8hRCGqPT4/spSLhHr7naZFDDdM/CGts6QgFVjC4U43H0u9EWPW6J3Aidu9hKBg/7fvLnYC96LJBSOupkfzNX/c7H/ezACe/McWQzrgDZiKtafvlsfYOM8I9/bjJxnIMvj83m0wtVRe5na8tumM4+1uloMppwl9Yxez4EOrueXyRmdj0Xa+ufssIsJgnOhthgls/QSYfbxFCAnng7aqA/4dLREx/pWxy7GrVheFk73aC2xYHErDeQUAxtfymhsiGySdetMNCtr1Pi4buWPF9blo9yy6JUOgxtcI11oB8E+uuXAeRv4jmUwyCaXVZ13fIXSNjS7vFqkvgiUBEq8hlBP/mh3+fqhl08Lj473knuV8zKklz8oe3y6Lhe395k1fUXoMYqXuLxAWT+zThtDru/2vBYBzWaTYsbtu1dssbx6RE5ORI5qItMdF1vcWO3ZFI6EBP5m3lJ6Tty27rt
-sidebar_class_name: "put api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Update user"}
->
-</Heading>
-
-<MethodEndpoint
- method={"put"}
- path={"/admin/users/{userId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Update a user's role, bookmark quota, or storage quota. Admin access required.
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","description":"The ID of the user to update","example":"user_123"},"required":true,"name":"userId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["user","admin"]},"bookmarkQuota":{"type":"integer","nullable":true,"minimum":0},"storageQuota":{"type":"integer","nullable":true,"minimum":0},"browserCrawlingEnabled":{"type":"boolean","nullable":true}},"description":"User update data","example":{"role":"admin","bookmarkQuota":1000,"storageQuota":5000000000}}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"User updated successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Bad request - Invalid input data or cannot update own user","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Unauthorized - Authentication required","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Forbidden - Admin access required","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"404":{"description":"User not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/upload-a-new-asset.api.mdx b/docs/docs/api/upload-a-new-asset.api.mdx
deleted file mode 100644
index 5d2f6b37..00000000
--- a/docs/docs/api/upload-a-new-asset.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: upload-a-new-asset
-title: "Upload a new asset"
-description: "Upload a new asset"
-sidebar_label: "Upload a new asset"
-hide_title: true
-hide_table_of_contents: true
-api: eJyNVE1v2zAM/SsGz26c7uhbtqFANmAL0BQ7BDnQNlOrsS1VotNlhv77QMlNnDQDdpMlfrzH98wBKnKlVYaV7iCHJ9NorBJMOnpL0DliSIHx2UG+gYV8O9im4KjsreIj5JsBCkJLdtFzDflm67cpWHrtyfFnXR0hH65arGtKKmRMWCelJWRKuKbYLHlTXM8ghVJ3TB1Ldts3rAxaznbatneSKteurKkNJz4aghx08UKlwDVWG7KsyMnrTjUUohTLAR5UQ9K6oKQPZKkC7yNmZakSoiFn6328d0Z3Lhb7NJ9/JPSVGFXjEix0z4FLpFWdBjhhg8Y0qkRJzV6c5P8/lVBuWU0CHVvVPYM/tViH+xvvTv2ZPnR9W5CVB+H6A9tbWVdTeW9/2WwsPSm0TU/DDo4BHyfZEte6ghyMdoEcimMgw2grcZU9kHXBVL1tIIcBq8qScz5Do7LDPaRwQKuwaMaJxOeoyQ77hiGHmtm4PMvYHmd7tLgnMjM0BtIbThwrJHoXlPs+xicRi0Cf2P1RhIqdp6Y/DU46C48QBvkYBOl4eNC2RUH47dc6TFd1Oy3pwjpCup/NZ3M4D/CEZ7Fa3sS/WC2TnbaX4IWsT8OcWwwW64LCt3/vi6LD2az/WAaRKtNvzkyDqpNOQa1hVHR0SlgUtUidb2AYCnT0ZBvv5fq1JyvLY3vWM+yOFGrCimywwJ6OkMOXCOduNNsBm17639oKPn1PWpQlGZ6Ef/jtRNaTIVc/H9ei0rivWl1JjhQOddPzMYLES9mvZA7gxyfsjhMUwxAj1npPnfeQjnBZvsHLxvkLeuzpPg==
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Upload a new asset"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/assets"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Upload a new asset
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The data to create the asset with.","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"title":"File to be uploaded"}},"required":["file"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Details about the created asset","content":{"application/json":{"schema":{"type":"object","properties":{"assetId":{"type":"string"},"contentType":{"type":"string"},"size":{"type":"number"},"fileName":{"type":"string"}},"required":["assetId","contentType","size","fileName"],"title":"Asset"}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/docs/api/upload-asset.api.mdx b/docs/docs/api/upload-asset.api.mdx
new file mode 100644
index 00000000..138b7951
--- /dev/null
+++ b/docs/docs/api/upload-asset.api.mdx
@@ -0,0 +1,71 @@
+---
+id: upload-asset
+title: "Upload a new asset"
+description: "Upload a binary file as a new asset. The uploaded asset can then be attached to a bookmark via the POST /bookmarks/{bookmarkId}/assets endpoint."
+sidebar_label: "Upload a new asset"
+hide_title: true
+hide_table_of_contents: true
+api: eJzNVttuGzcQ/ZUB89IKK8kp+rQPBZS0AdwkrRHbKIrYgGZ3R1pGXJIhubY3wgL9iH5hv6QYcrW6WAX82DeCHB6eufDMbIWx5DBIoy8rkYvWKoPVwnsKIhMV+dJJy6ciF7fxDBAKqdF1sJKKAD0gaHoE5DszuKkJEghVaQ9K1BBq0lAQYAhY1lRBMAxkzKZBt4EHiWwCV79f38B8t+3n293ysurnEc0D6coaqcNMZCLg2ov8s4iEvbjPhKeydTJ0Iv+8FQWhI7doQy3yz/f9fSYcfW3Jhzem6kS+PXGQuUenghl8YPeaVgVp0YX5yrhmWmFAfro0OpAOjHLGgrd9WVMTV6GzJHJhii9Uclyt46gHSZ5P+cloJQMvxLuBQrGPpOj7xF06qtjheOe+79O+t0b7BPbDxcV5x1IuHtHv0+PbsiTvV61S3Qw+UWid9tBQQHYBsDBtiGk5TuiJ92itkmUsofkXz++93PWIx4U3GvrgpF4/q71YVlp+bQlkRTrIlSTHdORap2o6x7Mfid5E9Je88vHy4y/AZmBWx6Ac84jp5bdDMN02BbmzYGx5FgekhqIL5CMg7/yGzQsZGifXUqNKQBqb/6R6UjS7aB9HZfDngMV9Ntbi7YCYFCHV248Xr5+X2K3GNtTGyW9UwT9//R35vIn/D4LZkAbpoZHeS73OQOoHVLLKwDigJ8sET6oq0FOYW4XyfD2N4aEnbGyiesAgMu0z0VCoDeuaNT5WH7IUiEFK2HVyD+R8VIvWKZGLLVaVI+/7OVo5f3gtMvGATmKhhpJNxykCK2xVELmoQ7A+n8+D62YbdLghsjO09mz+BoRd0t4P9pC4MPUDHbtmz9PLh2o2BoJfZj+imcgHI5ENi3fGNcgMf/3jJtaD1CvD19nrROn17GJ2IfYpH/ksri6f8R8PJeu+J7Wa1sYHjs6o5lKvAXUFjrCayjBVGMhF72RJ3CGkZ2xApcyjh860/H8b1Ljeg/gMlPTBZ8Aan0Et17WS65p3Uvay+EiB5aa1Hqwza4dNg0GWyHp2p+/0q1fA4WK9SALFmwulxh7iYfgfgMfFavmNin8pp2i5GCorgiyhJqzIzeBP08butibNTZQAdfRsQx2snGmO8/tIBdxeQqsrcjCZXFMIUq89/BTvvKfOTyY72lfIX3xH+YP04YCzb601LkDZOm/ctECmascbsZsu0+EyBmmpZCPDEr625Dqw6LChQM6ndr3rHyB1qdqKOLNLTU/h7QCxkqTSp+awgAzcFmNcdo+MkJzJFYWyjucMwsRoBgtY6lapJTygaglWxh2/IXXFOaIIzPlwBNpAY1wk2Krgd7F5s5saWL48b+52fMxGQWD0oImOKIq5z+/0FCYTJfVmMom+LOD204f9CPIoQw0m1jkqKB0+KqrGZjhL11mVxutRnYC3QJtAg0kszp2NPlH972TDRW4cXP387vuo/axMDUaV07EF7Oescaw6/YbbvVL+L6eyJE0HEt5nSV23gwIPvShObKwfvLPdciHfOtX3vB1rlce2vf7GIS4T6fdFyd5QJ3LxNgVjOrSzWGEiPzuW9dnu0qIsyYYD82dzDMvw2EA4Bqyqw+DYmIrvMHDEzfbLRBKPZfpEliP54Qh1d8Biu00WNyxDfS+ygW6UJdHzyPcva0od9w==
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Upload a new asset"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/assets"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Upload a binary file as a new asset. The uploaded asset can then be attached to a bookmark via the POST /bookmarks/\{bookmarkId\}/assets endpoint.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The file to upload as multipart/form-data.","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"title":"File to be uploaded"}},"required":["file"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The asset was uploaded successfully. Returns metadata about the uploaded asset.","content":{"application/json":{"schema":{"type":"object","properties":{"assetId":{"type":"string","description":"The unique identifier assigned to the uploaded asset."},"contentType":{"type":"string","description":"The MIME type of the uploaded file."},"size":{"type":"number","description":"The size of the uploaded file in bytes."},"fileName":{"type":"string","description":"The original file name of the uploaded file."}},"required":["assetId","contentType","size","fileName"],"title":"UploadedAsset"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/_category_.json b/docs/versioned_docs/version-v0.31.0/api/_category_.json
index 695d9dbe..49c10f38 100644
--- a/docs/versioned_docs/version-v0.31.0/api/_category_.json
+++ b/docs/versioned_docs/version-v0.31.0/api/_category_.json
@@ -1 +1 @@
-{ "label": "API", "position": 9 }
+{ "label": "API" }
diff --git a/docs/versioned_docs/version-v0.31.0/api/add-a-bookmark-to-a-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/add-a-bookmark-to-a-list.api.mdx
deleted file mode 100644
index a7c43463..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/add-a-bookmark-to-a-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: add-a-bookmark-to-a-list
-title: "Add a bookmark to a list"
-description: "Add the bookmarks to a list"
-sidebar_label: "Add a bookmark to a list"
-hide_title: true
-hide_table_of_contents: true
-api: eJy9VE1v00AQ/SurOYG01C0qovItHJAKCFWQikPkw8SexNvY3u3uuE2w9r+jsU2ctKFcEL7Yu56PN2/eTAcFhdwbx8Y2kMKsKBSXpJbWbmr0m6DYKlSVCQwaGNcB0gV8MYEDZBoC5a03vIN00cGS0JOftVxCushipsGhx5qYfOgNQl5SjZB2wDtHkEJgb5o1aKAt1q6SK0OmqLa7df14d/Xebn++K7fMNr+S7IZ7E8l+XUDU4Om+NZ4KSNm3pKHBWgyqwUCDkZIccglR/7P0H0ZqXoSwnIyOYGTiEZxtAgVB8vb8Ul7HTfhqVW4bpobVm6NuqEcMCouC+tSXp3yFHGX95NJYVivbNgJkjCpe6FxlchSv5C6I6wmC7PKOcmm889aRZzOAzm1Bz2mMGmoKAden/h0xtRgiTPZZlEfOXNpCyGr7rEJZCon0MyTd0NaY7LWZdBPNEUSN/uG31lpfQQodFoWnEGKCziQPF6DhAb3BZTVUMv4eaFxhWzGkUDK7kCYJ+93ZBj1uiNwZOgf6CdfzktQYQdlV36nPo70asECM8WBMvgvBQ+bDYdmzJZmljt5MVNQbgR4/PlpfoyD89GPeU2qalRV3qXqAdHF2fnZ+INY9ntnN9Un8s5trtbL+GLwUGzU4G7jGXhqjrGU94KStw91wFLqbpPa3lTJUzrTlxFVoGkncN68b+7/o5zmAhnQ/2PtYcnswa5mG0gYWp65bYqBbX8Uo1/cteVlT2aSAXieFCfJdQLrCKtALdbz6Ngr4tfoT7vESm10vtKqVE2jY0G5aS7KK/mPWA3ZiFjWUhAX5vvbBYJbn5PjA9dlqEAnvR/Pmdg4a8Fi4T4TaRz8Jq+sGi7ndUBPjHiXLWQDG+As6ID3T
-sidebar_class_name: "put api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Add a bookmark to a list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"put"}
- path={"/lists/{listId}/bookmarks/{bookmarkId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Add the bookmarks to a list
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - the bookmark was added"},"404":{"description":"List or bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/add-bookmark-to-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/add-bookmark-to-list.api.mdx
new file mode 100644
index 00000000..09e02769
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/add-bookmark-to-list.api.mdx
@@ -0,0 +1,71 @@
+---
+id: add-bookmark-to-list
+title: "Add a bookmark to a list"
+description: "Add a bookmark to a manual list. This operation is idempotent — adding an already-present bookmark has no effect."
+sidebar_label: "Add a bookmark to a list"
+hide_title: true
+hide_table_of_contents: true
+api: eJzFVm2LGzcQ/iuD8iUxe/alpDTsh4LTNnBNKEfio5SLwePVrFexVlIk7Z0ds9Af0V/YX1JG+2I7uaYtlPbT+bQzo2eemXlGB2EdeYzKmispcoFSvrB2W6PfLuxrFaLIhKRQeOXYRuRiLiUgrHsjiBYQajQNatAqxCksKhVgjAoqgJJUOxvJRPj9198ApVRmA2gAtSeU+wvnKfDXMWqFAYwFKksq4lRkIuImiPxWMKQglpkIVDRexb3Ibw9iTejJz5tYifx22S4z4dBjTZF8SAahqKhGkR9E3DsSuQjRK7P5LLlFRdAY9aEhBm2iKhV5sCXEirr0RCZoh7XTHEWRknq339T3759/Y3cfv652MdriOQNWMZkw4Csp2kx4+tAoT1Lk0TeUCYM1G+jOIBOKATiMlWizfwnxwOc/Rj30wBeRr49GZ+iX7BGcNYECJ/DV5TP+c477JwuFNWNPnKKFewzcJCS5uwbmITRFQSGUjdb7KcN6dvn087g3BptYWa8+khwjv0j9AdFuKTVkrUJQZpOBMneolczAeqCd4ySZqx5ZYp92ceY0cn5fqsqR3lMEom3bhPQBBrgz+N4xbWMjlLYxn0JA57Qq0jTN3gf7MBC7fk8FT6vzPHtRddwXVtJfN9EcaiwqZeiC5xHXmoC8tx7YPXFdUwi4+VuhqqZG82mg3n8q2rN+uu0AHuMvjz34AzsmAtP9sbIsUK5JSXKj5WLGjRFmh26G2tlAZZgdjs3ZClYLfzdoQeO1yMUBpfQUQjtDp2Z3T0Um7tArhpyI6z93ZSux0VHkoorRhXw2i34/3aLHLZGbonMPTmUfYZjFV709dFg4sRMZe8v17G4+FbORbb6Z80hmPHvJSGT9j5fW18gIf/x5kShWprTszll3kJ5OL6eXJyM+4plfX32Gf/yoAiAE0uVFZUNMBR2Y7TRcAlf6QsULjZF8yk4V1K+B+fUVoNb2PsDeNjzONRrcHIOELA13yIAVPoNKbSqtNhWfYAiU/hoJayy2jQvgvN14rGuMqkAWgnfmnXn0CJguVr9uTPhwrjWQkc4qEwP0LQd4rgWO75CgTCrRat4PbgqygopQkp/CL7aBAg1syPBWI15dnNmW9lB6W5/X957WcHMFjZHkYTJ5SzEqswnwbfJ5RfswmQywr3GjzAg5KcIRc2icsz5C0fhg/cUaGaobPeBOIay6j6tE0kqrWsUVfGjI7+G4ArkYBIMmgzKFbiRxZVeGdvG7PkSpSHeaybSAioCh42W4ZAzJlSwpFlX6zkEYGE1hDivTaL2CO9QNQWn9+R3KSK4RpcBcD0+86GvrE8BGxzBwM+wgWOwdBT4cTkKqxprAGurGyxMBT0rI35kLmEy0MtvJJOUyh5s3r092i4oV2NTnqKHweK9JQk0RJUacdu4s+qN7En/gI1Zo6k1Scw42BhqnLfLGKpUmeKxqbnLr4fr7l0+SgDobYo1Ju/v1+dBDSj/w4jocd8H/9fjqNOhkFbZZJ6OHXolv0zMmiEzk43tmHHE+PXkrLDPBWsJOhwM39Y3XbcvHqW/5BXfU4qTYUgX+LUVeog70BX4ev+lXyxP4M9z9IZp9knzd8H8iE1vaH19j/AL7D289YaddtpnohCfl3hnMi4JcPHE9jb48WY/XNwuRCTxfHp8sixT3QUCHQ2exYHFs2xFfEkuG1rZ/AKDKROU=
+sidebar_class_name: "put api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Add a bookmark to a list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"put"}
+ path={"/lists/{listId}/bookmarks/{bookmarkId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Add a bookmark to a manual list. This operation is idempotent — adding an already-present bookmark has no effect.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the list.","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — the bookmark was added to the list successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"List or bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/admin-update-user.api.mdx b/docs/versioned_docs/version-v0.31.0/api/admin-update-user.api.mdx
new file mode 100644
index 00000000..efbaaad7
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/admin-update-user.api.mdx
@@ -0,0 +1,71 @@
+---
+id: admin-update-user
+title: "Update a user (admin)"
+description: "Update a user's role, bookmark quota, storage quota, or browser crawling setting. Requires admin role. You cannot update your own user account via this endpoint."
+sidebar_label: "Update a user (admin)"
+hide_title: true
+hide_table_of_contents: true
+api: eJztV82OGzcMfhVCPTQxZm1vkl58KOD8AdvksE12ERSbRU2PaI9ijTTRz3pdY4A+RJ+wT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UQ5bR4t+Mvr75RA2SKtLCshuFsfD0fjodjsQtT7+j08uIImH5TeUDwpBdnhfUhJUZnCjNUNNxcUJ6pcKYxkEuwqZyGcMWUc3p5Aai1XXsmp9xbSjTMejslPgOtfPAZMCPNoFDLQqtlwSvoPaX/RsIc81WsPBOzpcOyxKBy5E790Xw0P/wAHAcyoX1uvMgcr2O8fV0DPKzIFd/BvTDFfjZty2dSMoOCUJLrmTYsyfAcQIAmebaiDSycLQ8TZ01zuL6AaCQ5GAzeNyTew8/pzBva+MGgM/sSl8r0Jr9VPuzZ7GNVWRcgj85bdzZHNrXqTyRiP2s2ZwmkmValCjP4HMltYEfZORgEHR8CZXIdJU8TMDN0H160KhLXTS2BYQEVAH2DS3dJr5IjuaCQF2mflbBhzKxhxsRvBneoI8HCusM7lJEcI0qKOR6OwFgorUsGRh18h83zbmC62lTkebFb8SkacwJrqHm3jgj4CfrJR3MGg4FWZjUYJF+mcP3u7W76WqtQ7Ah/GrVIQkkBmQoNm+PcevvjqQUDL3Glp1YkJWcnYyBW2mIzMGiCR6rkJLcOLl++fpwKcWV9KDH1gHacORgT4VF66Y8fvsTtrqH8P+bKpg7ucZc6a0r5ti3+N31NS+VfZGLSDna3meAiwyLbLWf7tdN1zcspoXkU3VX/1COk8u0AskDt6SvYPWpdlY/hS1a2i2g2qcnoyL9EJla02Q2fNY9gTV1IFjSbL5p7zjhT9w4fEYA6605M85yq8FXZ273ueXl9lZpAM+KWiRwIh2uRpb/Jziapm6GS17ZCo1nG1P1Fo5JbDh52rAcdKjl1EonttpG44sJZ1z0wqZAyLnX9DxwY/7Q=
+sidebar_class_name: "put api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Update a user (admin)"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"put"}
+ path={"/admin/users/{userId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Update a user's role, bookmark quota, storage quota, or browser crawling setting. Requires admin role. You cannot update your own user account via this endpoint.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The ID of the user to update.","example":"user_123"},"required":true,"name":"userId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The fields to update. All fields are optional — only provided fields will be changed.","content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["user","admin"]},"bookmarkQuota":{"type":"integer","nullable":true,"minimum":0},"storageQuota":{"type":"integer","nullable":true,"minimum":0},"browserCrawlingEnabled":{"type":"boolean","nullable":true}},"description":"User update data","example":{"role":"admin","bookmarkQuota":1000,"storageQuota":5000000000}}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"User updated successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the update was successful."}},"required":["success"]}}}},"400":{"description":"Bad request — invalid input data or attempted to update own user.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"403":{"description":"Forbidden — admin access required.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}},"404":{"description":"User not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/attach-asset-to-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/attach-asset-to-bookmark.api.mdx
new file mode 100644
index 00000000..469710cb
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/attach-asset-to-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: attach-asset-to-bookmark
+title: "Attach asset to a bookmark"
+description: "Attach a previously uploaded asset to a bookmark. The asset must be uploaded first via the POST /assets endpoint."
+sidebar_label: "Attach asset to a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJzdV9uKG0cQ/ZWi/WKLWckODjF6CMg3srFJlr0QwnpBpZkaTVs93ePuHmllMZCPyBfmS0LVXKRdrY0hhEBeFm1PdXXVqepzqnfKVeQxamdPMzVVGCOmxSwEipfupXOrEv1KJSqjkHpdsZ2aqplYAULlaa1dHcwW6so4zCgD5M0QHSAsOgdjuCyo+1DWIcKC9va59iHCWiPEguDs14tLmIhpALJZ5bSNY5WoiMugpteqDyqom0QFSmuv41ZNr3dqQejJz+pYqOn1TXOTqAo9lhTJBzEIaUElqulOxW1FaqpC9Nouj9LjYGurP9UEOiMbda7Jg8slwCEnlSi6xbIy7EmTzsztdlluPr74wd1+/r64jdGlLzhwHcWkD/w0U02iPH2qtadMTaOvKVEWSzZa7I0SpTmYCmOhOBneQSG+dNmWUzgOucX39DWgzYAzlCJIqTjY1NlINvJerCqjU6n65GNgBw+A4xYfKY0qUZXnHomaAn/V2bcBePq6R+yLTTJmIOTXpbg7dku2LrnoRtvVT7E0r7ocEhVST2RD4STCLFedp4vD9QVaS/60xCWpROW1MWe4pJlPC73mlbXOyLFdh7r0vWRMqceNoWxvWwfyV134fNgaI3petyvrNpa78RgEqUJqMASdd4BD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LzriPx6GC6YtKd3pvWOy28SxRTCtrsd9/KVN03Dy9Ku/DTZM7nwfaYD/87UNEcT6CugPD7vFOkJfCncbhHtVgTD1PyfStSKtnefFw2POO3Nlyhag45aT4Rx9w6OpL1J+h2zNKUqftX25kAXGXyZ0dpXTCm6rzxuVCJ/Jdi2b0VsZG2nDNplLcKuWp+sIXhXgu5JjmT1IBy7XWtxydzYNAM6wpUMTNP8Dd4ASw8=
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Attach asset to a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/bookmarks/{bookmarkId}/assets"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Attach a previously uploaded asset to a bookmark. The asset must be uploaded first via the POST /assets endpoint.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The asset ID and type to attach.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the previously uploaded asset."},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"],"description":"The type classification for this asset."}},"required":["id","assetType"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"201":{"description":"The asset was attached successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/attach-asset.api.mdx b/docs/versioned_docs/version-v0.31.0/api/attach-asset.api.mdx
deleted file mode 100644
index b1dc7233..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/attach-asset.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: attach-asset
-title: "Attach asset"
-description: "Attach a new asset to a bookmark"
-sidebar_label: "Attach asset"
-hide_title: true
-hide_table_of_contents: true
-api: eJztVU2P2zYQ/SvCnBqAXe0GKRro5hQtsgnQLrIOejB8GIsji2uKVEjKHxX434Oh5JUdO8EeesxFkEaP5Lw3b4Y9SPKlU21Q1kABsxCwrDPMDO0y9J5CFmyG2craTYNuAwICrj0UC3g3hjwsBXgqO6fCAYpFDytCR27WhRqKxTIuBbTosKFAzieAL2tqEIoewqElKMAHp8waBNAem1ZzSJGSen9YN7unt7/b/X+/1fsQbPmWM1AhQY4Z3EuIAhx96ZQjCUVwHQkw2DBoNYEEKObYYqiBs+IV5MM7Kw+cy7kS85pOBEiygIDSmkAmMBzbVqsSGZ4/eV5zhZhdPVEZQEDrbEsuKPL8V8lL8lFAOm+eolekMV3DumtlNu9Do/8YUxHgS0dkfG3TQbKCcafH0/gKjSF33+CaQEDVaf2Aa5q5slZbjmyVJMu4Ua8Z75ASp9LhTpOcsJ0n97nVFiWxqrjFgI7jZmPszsAyntVjwXxP2S1jHBC+tcYPkry+vftOEZL2JIdq/KzBi2sgoFKa/k5tcEnFdFrjivuI2+VlBXtz++ayRscuzIwNWWU7I/+/GpVWXkk+CmjIe1bx8t83RNIOEz4RSetDbSUPA+vTsTwTCsiPyvu8nwZHzJMSnstMbnucYp3TUECPUjryPubYqnx7x2VEp1jaRGH8PehWYacDFFCH0Poiz4M73GzQ4YaovcG2BXGtAYYdMltloabs44jPhlwgxngygB9Z2eHk0zH8LBOfnOzKMB6PCcSeSy9/WdcgZ/jh33nSkiv2aZqTfx7n89A/k51O2uaiOyIP3sryIhZvYHZ3c3tzezLMn2nNHu6vyjB7uM8q6841YM2iSFVsMFlrHPvHi2zsoLPt+smeL7rwBlaB9iFvNSrDJ6bi96NvFs8dyx4pzq6c0TpLATVbrVhA36/Q02enY+Twl44c35vLyTjJXlJ5fpdQVKg9/YDDL59Gw7/KvpfuGERzSP7UHX+BgA0dzu/IyHOjJpTkUhYDYKzkr6nA0wYXrR3FccWsLKkNP8QuT9rw4Z/HeRp8w1XcpL4HhzsQ6ZmStYl78naK9aDRrLs0B2DYky2L547/xuGJ1VU5+n5AzO2GTIzP6gT+ZmFi/ApH4yvL
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Attach asset"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/bookmarks/{bookmarkId}/assets"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Attach a new asset to a bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The asset to attach","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]}},"required":["id","assetType"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"201":{"description":"The attached asset","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/attach-tags-to-a-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/attach-tags-to-a-bookmark.api.mdx
deleted file mode 100644
index 6c1c6968..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/attach-tags-to-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: attach-tags-to-a-bookmark
-title: "Attach tags to a bookmark"
-description: "Attach tags to a bookmark"
-sidebar_label: "Attach tags to a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVU2P0zAQ/SvRnEAyTUEgUG4FgbQgwQqKOFQ9TJNp420SG3uytET572icr5aWFUL0UCXO83jmzZvnBjLyqdOWtakggQUzpnnEuPMRmwijjTH7Et0eFMgiJCt43S95WCvwlNZO8xGSVQMbQkduUXMOyWrdrhVYdFgSk/MB4NOcSoSkAT5aggQ8O13tQAEdsLSFLGnSWXE47sofd69emsPPF/mB2aSvJAPNATJkcJNBq8DR91o7yiBhV5OCCksBbSaQAi3FWeQcJCvZQZ5fm+wouZxTsMxpqj/QMQMFqamYKhY4WlvoFAUe33nZc6Uws7mjlEGBdcaSY00+fA0cjih0Do+SHlPp/2r3TXbJXht68zGUffFNfqccrboc1sO6t6byXfhn8/l1OgrtOTLbng7KhJ9IZ/7/8TJE/gtu/k0yy0DdBRfjuT0fz+fPLykY5BZVhqOtqavs/xWemuxa1xSU5D3urnb0vIQQYcKv+46XxLnJRPXGh2NF/AnEw1j4uJkmpI2DKGSc3f0wrLUrIIEGs8yR922MVsf3T0HBPTqNm6LvXPe5Y22LdcGQQM5sfRLH7I6zPTrcE9kZWgvqirr6CCIwzin60OOjLhfp2YnPfBFeu5NP3WYkSU6WOgJMXCCAQPUP74wrUTJ8/20ZmJR+fZ7s4O2gqWFUV+PUTcIbh21syboVi9ka2Sf8dcU9nc1n8xMNjpUtbm+uMrG4vYm2xp3TILS1KrSxxKCt3uAe8uqz2M0k1ocNvqOQ6cCxLVBXcm5QQdPLZzW6qoglObPYzlYU5KK3ZAVNs0FPX13RtrL8vSYnt8R60k9gN9NenjNItlh4eiD1R5971T+O/pTsYB3VMci0qOUNFOzpeH4jhI7lhBm5kEUHeNOd9WQpYaYAF/PdqmHHIk3J8oPY9cks3n76shQt9hdPGYYfHP4AFf5DsibUHiQe1hoosNrVwQygiynKxXPh/yb0TrnX6GiaDrE0e6radmSH5V2IadtfmYTHdA==
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Attach tags to a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/bookmarks/{bookmarkId}/tags"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Attach tags to a bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The tags to attach.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"tagId":{"type":"string"},"tagName":{"type":"string"}}}}},"required":["tags"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The list of attached tag ids","content":{"application/json":{"schema":{"type":"object","properties":{"attached":{"type":"array","items":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"}}},"required":["attached"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/attach-tags-to-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/attach-tags-to-bookmark.api.mdx
new file mode 100644
index 00000000..c2af6bfe
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/attach-tags-to-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: attach-tags-to-bookmark
+title: "Attach tags to a bookmark"
+description: "Attach one or more tags to a bookmark. Tags can be identified by ID or name. If a tag name is provided and the tag doesn't exist, it will be created automatically."
+sidebar_label: "Attach tags to a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJzVV9uO2zYQ/ZUB89DE0NqbIkUDPRRwboCbIF0kXhTFZgGPxbHEmCIVkrKtGAb6Ef3Cfkk7lCV7126QFnmpH9YWNTOcy5kzs1thK3IYlDUTKVKBIWBWTDH3U/vM2mWJbikSIclnTlUsJlIxjkJgDYF1UFpHEDD3ECwgzPdaQ2ArkKGBOYGSZIJaKJIwb2DyghUNljSEyQKQ1eMjKA+VsyslSQIaCaGItkFa8ua7ALRRPiSgAqyV1mw5c4SBpetgSwwqQ62boUgEuyTSG9GF4cVtIjxltVOhEenNVswJHblxHQqR3tzubhNRocOSAjkfBXxWUIki3YrQVCRS4YNTJj9JyLQgqI36VB8F6sAuovt9QkQiaINlpdmSIiX1psnL9cenP9rN5x+KTQg2e8qOqxBFOscnUuwS4ehTrRxJkQZXUyI4XSIV84NQIhQ7U2EoBAfDGuTDMysbDuHU5b5osZ5DeMlV5WyXtQ9Q4IqAVCjIAcIsYD6RM65b+/AWS5pxTJk1gUzgK7CqtMoimkYfPd9zJod2/pGyIBJROcZeUOTj21iuXgqdw4ZDClT6r9Jm/N4v1C7C4G1M1Zl3beAknzXnakymLhlAqEQiirpEwwiStMBaB5Huj3b8OS7PTRvKbXfuK2t86+X3l5fnKzF54Tu4tEUpMMCaHEHn4jfMdGfyK7L9X/AeMP/XUJ/G8p0ksvd0n8wnl49P83dtsA6Fderz3+Ty5+9/RCeexdaGYJdkmFRK5b0yeQLKrFArmTCQaVPxTfdSG2gTRpVGdT6pB3j0AR57IDpPn5x62jU0GBtgYWvzLauaWXkG5CfUDSVmhTJ04QglzjUBOWcdsPqQe6Ik7zH/KlOxAe4b2usPxf1iRgcP9m8P1X/Jil0jlRQKy6Oosj5GyXSWilFHdH60PXDebhR7jXndrTrWrp0WqdiilI68342wUqPVY5GIFTrFnrZd0L5uq9S3dAiVT0ej4JrhEh0uiaohVtXZDthb6HD/ei8PrS8cz9HAec9lbG8+Hjt9kvlmjiOKMa9HIZHsf7yyrkT28OdfpzGzDI93B4J/2YGxI9KbnhMP9eup8HB0zIAdod3ueJIsLBvjpLYRPx5eDi+PWrYPd3w1OUlP/1J5QPCkFxeF9SHCpKueMnkc8YyfCxUuNAZyMXkqoyFMC+XZNqDWdu2hsTXPqhIN5gcjPgGtfPBJ5M0ECpUXWuUFn6D3FL+NhDlmy7qKy0XusDwsCh/MB/PgAXA1mMja5uPDsdZARlZWmeBhD2TAu8xS8R0SlIkImI33NBCNzKAglOSG8Jut4x6Uk+FdiwBNjGxJDSycLe/CZ01zuJ5AbSQ5GAzeUwjK5B5+ijqvqfGDQef2FebK9C6/UT4c+ezrqrIuQFY7b93FHNnVqteAlUKYtS9nMUkzrUoVZvCpJtfAYRfiYhB0kwyUyXQtiSs7M7QJz/cmFop0y8CcFt7R0Ld56S7pTXIlFxR43SgI2Ag7RkMYw8zUWs9ghbomWFh39w5lJNeIomGuhyMwtt1BHflaB9/lpmfbaVOR58N+E+y20rjBcvc6IuBG9OkHcwGDgVZmORjEWMZw/e5NjzdYq1CAjThHDZnDtSYJJQWUGHDYqvMI6dXjKAE+Yt6nvUgEZydjoK60RV56F0oTPFQlg9w6uHrx6lGkZWZD7s50221++y38dPO+343bw4j5v6zuLSceTeJd0tL6dj8PbvrFl9k/vbMFt+tXIphxWHK7ZehfO73b8XFENy/8h4EQ6VIqz7+lSBeoPX0hiQ/f7cfaI/gnZ7u9yjRx7uian0QiltTcXdoj27ZEEb1oBZ63d10wdI8MnOwHu6TTGGcZVeGLsrdHw/Xql/dTHi77/w3KuDwIh2uRxL/R2RbmcWbFs63QaPI6bgeitcmjCO9OsnuTqx1F59Kx3bYSU6bS3a7PTqRWTsxu9xcThBgt
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Attach tags to a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/bookmarks/{bookmarkId}/tags"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Attach one or more tags to a bookmark. Tags can be identified by ID or name. If a tag name is provided and the tag doesn't exist, it will be created automatically.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The tags to attach. Each tag must have either a `tagId` or a `tagName`.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"tagId":{"type":"string"},"tagName":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"],"default":"human"}}}}},"required":["tags"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The IDs of the tags that were attached.","content":{"application/json":{"schema":{"type":"object","properties":{"attached":{"type":"array","items":{"type":"string","description":"The unique identifier of the tag.","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"}}},"required":["attached"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/check-bookmark-url.api.mdx b/docs/versioned_docs/version-v0.31.0/api/check-bookmark-url.api.mdx
new file mode 100644
index 00000000..21abd723
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/check-bookmark-url.api.mdx
@@ -0,0 +1,71 @@
+---
+id: check-bookmark-url
+title: "Check if a URL exists in bookmarks"
+description: "Check if a URL is already bookmarked. Uses substring matching to find candidates, then normalizes URLs (ignoring hash fragments and trailing slashes) for exact comparison."
+sidebar_label: "Check if a URL exists in bookmarks"
+hide_title: true
+hide_table_of_contents: true
+api: eJzVVtuOGzcM/RVCeUmMWXtT9GkeAjhJU2wToEGyi6LYLGB6RM8o1kiKqNldxzDQj+gX9ksKai7rvfSh6FOfPNaFPDwkD7VXPlDEZLw706pUVUPV9rX32xbj9iJaVShNXEUT5Igq1Rs5AGYDCBefPoBhQBsJ9Q7Wwy3Sc7hgYuBuzSkaV0OLqWrkI3nYGKehQqeNxkRcQGrIgfOxRWu+E4tZhuemdj7fbZAb2ESsW3KJAZ2GFNFY2WOL3BC/gI2PQLdYJah8GzAa9m6uCpWwZlVeqjEiVleFYqq6aNJOlZd7tSaMFJddalR5eXW4KlTAiC0lipwPcNVQi6rcq7QLpErVx/SImPOGMiPJQyYRsEbjOAHdGk6CdiSI5+pQqEjfOhNJqzLFjv6TtUI5bAValxNmxMC3juJOSTyROHjHxBLDD6en8nPf2a/rr1QlME6bCrPxm4ZSQ1FyM6b5OL2r8c+ZXsneynXWrqQqnE+w8Z3TgqryLpFL4hBDsNm4d4uvLF6fYNZnHKpQIUpVJtNjvnP2VBbENa4t/TOPZ2/Bb3Ioj8grwEcQC4L9KFgJ4yhgdbiXsMtjSFeHg+z+ePryMbEXDrvU+Gi+k4a//vgzu3idKw6S35ITX61hNq4uwLhrtEZnTHQbxNcDFhPdpkWwaJ7mb+KEbrENQsk9BOrQQ20pNV6avaZMNkrtq8VUUItccSd9MTHF67EVZKVUe9Q6EvNhgcEsrl+qQl1jNJKDnK5hu2djg51NqlRNSoHLxSLF3XyLEbdEYY4hPNlGg4Uxa++H89BjkTCOuvizsDAUylEvT6SIZ4kjH1PlcEgVw8c7ER5B+Mtv5znNxm28XJeoe0gv56fzUxETkzKnE57lx7NH+KdNUUZgspuTxnMSdqaKkgoUHRPdPDHpxGKimKMzFc3hvDEstgGt9TcMO9+JDrTosL4zwgVYw0kEFGsuoDF1Y03dyAoyU/51GtZYbbvAEKKvI7YtJlOhtbv5F/fFPXsGQhe5NDSnLC6tBXI6eCOCO5Q94P3CDeJDg3E5RavlUGXZyAoaQk1xDr/7TrQeanIyZQjQ5ci2tINN9O39/N7QGi7OoHOaIsxmnylJszK8ynfe045nsxH2R6yNmyB/MCKNE2buQvAxQdVF9vFkjQI1TDfg2iCs+s1VJmllTWvSCrJqwt0EkGQQjAoKxlW20ySZXTm6TW8GExtDtm9woQVMAuSel9HJZDKPQEpVk/fFiACjOSxHFb1G21GeaPd8DOpM2bDkIxI4D62PGWBnE4/cjNMOzneBWBan+ZezsSbwjvr2ikQgncLlF3cCs5k1bjub5ViWWQ3HeoMbkxrwuc7RQhXxxpKGlhJqTDjvr4tCTdezUoEsiaDScCQX53jGQResR00aNsYSPDetFLmP8PHtuxd5UAbPqcWseMOYe/AGyarOUopTbzxsy/2div7fXjC9ih0p/6HohXg/KPfdNJKw77T7qlCiPHJgv5cWuIj2cJDl/m0giq4NizJpVW7Q8sPpecza80/D+HsB//Jt8mQEW9pN75Vc8KpU+bUyjpL8GitULyQZa39lWVUU0tGtRy8LsTKNuJ9/OleFwvsj4cEIyNaHLXS7I9v7fX/iXCTvcFAj7iyB6iCj/2/jS/aa
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Check if a URL exists in bookmarks"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/bookmarks/check-url"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Check if a URL is already bookmarked. Uses substring matching to find candidates, then normalizes URLs (ignoring hash fragments and trailing slashes) for exact comparison.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The URL to check against existing bookmarks."},"required":true,"description":"The URL to check against existing bookmarks.","name":"url","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"Object indicating whether the URL is bookmarked. `bookmarkId` is `null` if not found.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string","nullable":true,"description":"The ID of the existing bookmark, or null if the URL is not bookmarked."}},"required":["bookmarkId"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/create-a-new-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/create-a-new-bookmark.api.mdx
deleted file mode 100644
index 550c1e88..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/create-a-new-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: create-a-new-bookmark
-title: "Create a new bookmark"
-description: "Create a new bookmark"
-sidebar_label: "Create a new bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJztWktv4zYQ/ivGnNXYWfTkm3fRoulrgyaLHgwfxtLI4loitSTlxCvovxdDMpKclWJ7ExQtYAQIFHGGHM77y6iGhEysRWmFkjCHD5rQ0gQnkh4ma6W2BeotRGBxY2C+hPfhlYFVBIbiSgu7h/myhjWhJr2obAbz5apZRaDpS0XGvlfJHub1s4PuM2r3n1g1id3BEEGspCVpmQPLMhcxMsf0s2G2GkycUYFuNc8/pu5ouy8J5qDWnym2EEGpVUnaCjJMZ4XNyT14MmO1kBuIQFZ5jmtes7qiCAp8/J3khi9wPZvNmghQx5nYUdLjXiuVE0poIkhxp/j+Y+tS2YFzmwhMVRSo94NrXg/Jwh6X2FHjQ36rhfJm+JaDZFWw3XL1wPxKF5jDqolAFKXS9o6MEUreJMNyqkrHg6p72hZLARE80JoNl/NzodYiZzvSoyXJm0MERshNTqlf0MbA0/mwapomqkFJOs2WbvWFawq5dderdD5El7ICLMyh0oJvWGpyKqRk4U09qInG+7LQbOmlX/VHrFj414ls6dE6kd3DuBk+Dd1oRLSnPV8rGxpDXjj3dH+EXBS44ePLJO2YRnyLneFPLEYC5Owbd/J1x64a/mk8hymVNP7W72azI/kIc02Y7Cf0KIw15ySll/UthnXxQsw3HFGJSMXJKeHEdPfq7GZxsxFyc2fRVub4eZ2XmCqOyeWAFEVeaecxJBPmWrXZUXx1Kn777Yez8oB6RrP0EO1ophwT8w0yZwSVIT0SX75gtwuoNe6Z2VJhvttR5VjAorUYZ5S8f7EIIV8zqwqUnPcP41gkEPY/2M3R9aLv3ykUZ4XRQR45gd5lycHcNka8GMujQ54YayJpMmXP4SqT9BzytMrzWxbMZ5CzTnpecc9h3omE1FmC4k7EJ9ols0X+ofO0472Xpz1HnKebn9HcvX0CxMpmSp9mrGqdC5PRadQJWroNHKfpgzn+COXtBIb/bh92oqj/675stOydmsuM+NrfVlbFmvQLkfXdah5uBl+t9UpupXoYqF2OgXvNcNzbF96TzMw17ZdeEusXg2D9sNNd//0apSR9E3zkWWqHkHSZLnTHLuHBQCYH35B8KnOFCXE9xx1aZBN3qjvLw4Z6hE4Vq2aQoOumD3rnXr970Nw+72SHG9C21wqdVeekrc1XbdPQ/pcEPPp4N7s+Ajg2yob/gCQXtHFBGxe0cUEbF7RxQRsXtHFBGxe0cUEbF7RxQRsno40fh8Yb7zGZhHns2wGMWCXDDVpBxrCBj05v3A4dvZvWOH6bqQTmUConb4k8lIXpup0+8/BZ70gb1525tgpqTBJNxjRTLMV0d83ehFqwhZ24YdkrJ8Uq50FgZm1p5tOp1furLWrcEpVXWJYQDeC1sMNEpROb0eS3QD/xsrD+e1PxO9aiP7k/G29Vwie7qGEyRjuOiF3fPfz8NKr89e97pze2zl/dSP2nRyzK0DQGR2gdu8Navlj30ZV/43FJx9HCj+5VDyf2Xx4MnMNc+Zthcm/jgFUCBAl3dw1xaIc72sFpbM+thEwV35ft7o1yfTW7mkEXCq1FFrc3gxZc3N5MUqUPzcfm5v5DGctoYV4H6DH6NcSzJrwNp/HPJ/y1uSJPyxyFw7QBDHjnXsK6/2lFxo4/X0Jdr9FwzWsafv2lIjbSctW5tvvaIoKMMOHOaVnDltgyIS//ECrTDvPKm+FZvHOl8hyLOKbSvki76sXm7ce7e5eo/ecdhUsGoJEdgn/PASJQTkkuCNy7GnKUm8olB/B7NqFL7AP/w1DoIzCU+56Ede0p7tWWZNNAFK5i+W9w099/AD6dDb4=
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Create a new bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/bookmarks"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Create a new bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The bookmark to create","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"title":{"type":"string","nullable":true,"maxLength":1000},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"note":{"type":"string"},"summary":{"type":"string"},"createdAt":{"type":"string","nullable":true},"crawlPriority":{"type":"string","enum":["low","normal"]},"importSessionId":{"type":"string"},"source":{"type":"string","enum":["api","web","cli","mobile","extension","singlefile","rss","import"]}}},{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string","format":"uri"},"precrawledArchiveId":{"type":"string"}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["type","assetType","assetId"]}]}]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The bookmark already exists","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}}}},"201":{"description":"The bookmark got created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/create-a-new-highlight.api.mdx b/docs/versioned_docs/version-v0.31.0/api/create-a-new-highlight.api.mdx
deleted file mode 100644
index db7e10a0..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/create-a-new-highlight.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: create-a-new-highlight
-title: "Create a new highlight"
-description: "Create a new highlight"
-sidebar_label: "Create a new highlight"
-hide_title: true
-hide_table_of_contents: true
-api: eJztVj1v2zAQ/SvCzaztFJm4uUWLph0SNC46GB7O0tlSLJEMSSUxBP734ig5khwl6JChQzdbd7yPd+8e2UBGLrWF8YVWIOGzJfSUYKLoMcmLfV4W+9yDAI97B3IN307fHGwEOEprW/gjyHUDW0JLdln7HOR6EzYCLN3X5PwnnR1BNmepVjn1GRKvkzTmBgGpVp6U5yNoTFmkyEfmd47PNeDSnCrkX/5oCCTo7R2lXKSx2pD1BTm2brU+VGgPV9nA13lbqD0EAc6j9de7nSM/sKu62pJlO6nsDWuqS21fxuVjdcVAHaks9SMwCBkI2FsiBQK2ZU2MXEY7rEsP8uQYBHh68lMhVV2WuC0JpLc1BQFKe/oLx9BOoOAK5HqIx7j7Ya9dFV2OTQhtFGe0ci2sHxcX08Ns55eNaPN/lO8zSgHFdOu1I/sKKt08lhOFvAM1YkXP+YfZNgJ84bn0Xi2gJdLlYvGSO59wwJmk04z3406qswmEg4CKnMP9lO0MnRih99+cermc6KUDMlHaJztdq+xfbySe97nOQILREXiDLOEwz3utZ6m3D2RdVPraliChwSyz5FyYoynmDxcg4AFtwayN9XbmFqTTiuTeGyfnc2+PswNaPBCZGRoDYkJRugiJ3iU+p+RH55+0tTCnBnfQLcPYycXgJnrGhDNzH9ENZOfEexx/fNW2Qq7w++9VBI7H87O/wL48YWVKOlejfmNHIrQYic7iWWR6LWkVYrDwUQgGUy3UTnM2Rr2F5GK2mC2g365nPJY3V5P4LW+ukp22Y/AY7CDirCuMBFQYAXn17h8Fbno6v/FaaCHnHuemxEJFqWLWNB271pCPXhI5U0+uoWm26OiXLUPgz/c1WX5dbHpuxceFgJwwIxvpeKAjF9OW9WHFudmd5Vm+3LggTieWaUrGv+m7GWzHzfXtiunSvWaquI5gMd4M+AgSQICOMEUWxm8NlKj2dVxPaGMyuXDMzTMuxq46E6rjoMKmaT1W+kAqBBBdK57/Q+CN/gPpI19E
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Create a new highlight"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/highlights"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Create a new highlight
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The highlight to create","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true}},"required":["bookmarkId","startOffset","endOffset","text","note"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"201":{"description":"The created highlight","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"400":{"description":"Bad highlight request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/create-a-new-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/create-a-new-list.api.mdx
deleted file mode 100644
index aea2e62b..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/create-a-new-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: create-a-new-list
-title: "Create a new list"
-description: "Create a new list"
-sidebar_label: "Create a new list"
-hide_title: true
-hide_table_of_contents: true
-api: eJy1VsFu2zAM/RWDZ61Jh+3iW1dsQLcCK7YMOwQ5MDYba5UlVZLbBob+faDkJE7qtRiwXQJLIsXHx0cqPdTkKydtkEZDCZeOMFCBhabHQkkfQEDAjYdyCdfSBw8rAZ6qzsmwhXLZw5rQkbvoQgPlchVXAhzdd+TDB1NvoexPAiwaSvcWwRRVCgYCKqMD6cDWaK2SFbL17Jdnlx581VCL/BW2lqAEs/5FFUOzzlhyQZLnU40tjax8cFJvQEAr9TXpDSM8F9Di0341n0dxDPBF7/mR9/vkLasptyiGjef3ke5aprNF3aECAb5FF5jXmm6xUwHK3VkUcN+R276WVBRg0ZEOV/WUqe6UwrUiKIPrKMZcIumoZhyJtSGPVYz52FujfWb17fx8uoy5fPVOJv+oiHIihSj+UNvXq3eS+wv1+gsG/3txn8Wz3VrJamS6NkYRar6lQX9p2N44DMb5aavOk/tm1IuozaMmx+taBsMfD5Ie084Qf3UqHlmDOFLQiMe91wTEEZ6VgCADA0sTBrIE383nz1X3AetimC7/TnCVqaeV1ZL3uJk6OyEh3XCwT02U/ENjaijBmoTXIjcrzFSaozxG3QNxuZY9dE5BCT3WtSPv4wytnD2ccwXQSVZCgjocZ2J2cmpCsL6czYLbnt2hwzsie4bWgpjo2eGGwtwWoaHiy2BfZCzM/Wi+f2cGc+TxlN/TwZE5j2TGaktGIIaPT8a1yAg//1wkzrgy3w6Pw8cnbG0WZO7ugyCPge+3c+8e1gOOfbMN/XQwOPT0qK5S3xoOyuTnAOdn87M5HHS4p+Xi5mqSxoubq+LWuGMOmXNuVeNDi3qU1tSjejK29lqefoFznoGewswqlLmhWTL9oKolqN3r3LDayiX0/Ro9/XAqRt4euFmuDppKD7aAhrAml2R4R0zfZQbzZsFh2Vx1HP5Zk0Wx87ioKrLhRdvVqCFuvn5fsEyGfwht6kBw+Agi/ZYAAkwiJ6kv7fWgUG+61JGQ72RR4bEmTzSYshqOUG9HCPs+WyzMHekYQQypBF5D5Cb+DVD4G/I=
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Create a new list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/lists"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Create a new list
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The list to create","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","minLength":0,"maxLength":500},"icon":{"type":"string"},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","minLength":1},"parentId":{"type":"string","nullable":true}},"required":["name","icon"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"201":{"description":"The created list","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/create-a-new-tag.api.mdx b/docs/versioned_docs/version-v0.31.0/api/create-a-new-tag.api.mdx
deleted file mode 100644
index 1d3f2014..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/create-a-new-tag.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: create-a-new-tag
-title: "Create a new tag"
-description: "Create a new tag"
-sidebar_label: "Create a new tag"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVD1v2zAQ/SvCzayVdNTmFi2QdmjQuOhgaDhLZ4uxRDLkKYkh8L8XR6qxkhpFhy6STN7Hu/feeYKWQuO1Y20NVPDREzIVWBh6KhgPoIDxEKDawkbetYJAzeg1n6DaTrAj9OTXI3dQbetYK/D0MFLgD7Y9QTW9Kb/pqGiRsWBbNLkVdySNiifN3QoUNNYwGZZcdK7XDUpueR+kwASh6WhA+eKTI6jA7u6pYVDgvHXkWVOQW4MDLaICe20OEGMGqD21MlOKqmPM58FZE3L6+6vry+gz6nbm5j+B1e0FqOofZ9AtqMUgUcFA3NkWKnA2pGYo8kCZlBQB/SP5kPQbfQ8VTNi2nkKIJTpdPl6Dgkf0Gnd9xjdfZ0b2OPYMFXTMLlRlyf60OqLHI5FboXOgLtA2VyjsPgn+dY4vMhaIMS6cdSe05c5Lf70QIZ1ljhQG1RwEav74bP2AgvDLz01iS+T4frblp2ccXE9nlywo12Zv5UIIyuivV1erK1kDzZIDL9DXtzcXR13f3hR761/PKbxElQQZ0CxaX1i4VyWns8cuLmdmhOmZS9ejNtIliTrNsm/zAtcKOnFDtYVp2mGgH76PUY4fRvKyzPVZ9LTLCjrClnzyyZFOAiBDebeRrhLej9L9D+tH9Ttj3TTk+K+x9cKwt9/uNqLj/Ocx2FZyPD6BSs8KQIFN1CR7pLMJejSHEQ8Sm2uK6vjaNG9Mkqaar9CcFginKUds7JFMjKDmUVh+Q5Ql+wUehMct
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Create a new tag"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/tags"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Create a new tag
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The data to create the tag with.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"201":{"description":"The created tag","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/create-backup.api.mdx b/docs/versioned_docs/version-v0.31.0/api/create-backup.api.mdx
new file mode 100644
index 00000000..4fcd00db
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/create-backup.api.mdx
@@ -0,0 +1,63 @@
+---
+id: create-backup
+title: "Trigger a new backup"
+description: "Trigger a new full account backup. The backup is created asynchronously — use GET /backups/{backupId} to check its status."
+sidebar_label: "Trigger a new backup"
+hide_title: true
+hide_table_of_contents: true
+api: eJzFVsGO2zYQ/ZUBc0hraO2k6EmHAt60KbZJ0UXjRVFsFvBYHEuMKVLhkLvrGAL6Ef3CfkkxlOy1Nz701pMEznD4ZubNI3fKdxQwGu+utCpVFQgjXWK1SZ0qlCaugunErEq1CKauKQCCowdYJ2sBq8onF2GVd0xh0dD4D4ZhiKYBeeuqJnjnE9st/PPX35CY4OefFjAbvHm2G36udA/RQ9VQtQETGThiTDxVhYpYsypv1YCO1V2hmKoUTNyq8nanVoSBwjzFRpW3d/1doQJx5x0Tq3Knvnv1Wj6nKQ2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pg5SZz1q0rA2luAb0wrJfYDrH99+O5V7QaSpxSxzDvMInz4pVmffHbsnsfzfnyCDEB0pttzGoqW7UXBv1erpeSJyIUu7nfD2Jti+l+VMTXmjPMltfrEUahi2rNAb2qpSzauKuph12SY5+qvXhAjoQfuvf/uwkBvvVDef6WQOP5rQbY+C73aDx0J0oe9VMaLIOqF6uRT/Bbudlic=
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Trigger a new backup"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/backups"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Trigger a new full account backup. The backup is created asynchronously — use GET /backups/\{backupId\} to check its status.
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"201":{"description":"Backup creation was triggered. The backup object is returned with a 'pending' status.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"assetId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"size":{"type":"number"},"bookmarkCount":{"type":"number"},"status":{"type":"string","enum":["pending","success","failure"]},"errorMessage":{"type":"string","nullable":true}},"required":["id","userId","assetId","createdAt","size","bookmarkCount","status"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/create-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/create-bookmark.api.mdx
new file mode 100644
index 00000000..a3786608
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/create-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: create-bookmark
+title: "Create a new bookmark"
+description: "Create a new bookmark. The bookmark type (link, text, or asset) is determined by the `type` field in the request body. For link bookmarks, if the URL already exists, the existing bookmark is returned with a 200 status."
+sidebar_label: "Create a new bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJztWuFuI7kNfhVC9+cumDjeRX/5xwHO9hbd3rYXXBIURdaA6Rnao7NGmpM0SbyGgT5En/Ce5EBpPDNOxln7Nijawlhg4UikRJHUR3LEtTAlWfTS6A+ZGInUEnq6NGZZoF2KRGTkUitLJhAj8S5MA4KmB5jVVAO4yan5C/yqJPhWSb1MwNOjT8BYQOfIfwfSQUaebCE1ZTBbgc8JpswxhbkklYHUYczSrxU5DzOTrQbw3ljgBZtNXAJyHghvf/4IqCxhtgJ6lM67JIyH31IvWrmkA0u+srzzg/Q5ILwdDsF59JUbiER4XDgxuhPb0zsxSYSjtLLSr8Tobi1mhJbsuPK5GN1NNpNE1HJemmwlRusn2tpVi4GoXN4qNdqT9syCZalkGixw8YtjvrVwaU4FhlmlfpqHvVlJYiTM7BdKvUhEadlyXpJjOi+9ovAjkjlvpV6IROhKKZzxnLcVJaLAx4+kF3yCN8PhcJMItGku7ynrcM+MUYRabBIxx3vDCtg3r43v2XeTCFcVBdpV71xURDb2X5Y4UOODurLSRDs85yBdFWw4ZR6Y39gClZhsEiGL0lh/Tc7V/t0np6ls2qu67bJYSpGIB5qx4RT/LsxMKmKSR0+aFxeJcFIvFM3jhHVObPcXk81mk6yF0XSYLcPsC8eUehmOV1nVRzdnBXgxEpWVfMLSUlAhZeNo6l5NbKIzS8uWvouzcYsJC/91IjMOBJHDj/1muO070R7Rtmt+rWwBmoJw4dfNF8hlgQvevszmLdMe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/7O2+s3Bd3NU1W332UEHU9UNL2/v43QFyqeeGz8t2j0Z5MxgOhqL198Yi46sPzyzYTEoHCI7U/Dw3zocbtvUsfkNFzeCC2bn05wo92WBfmRK/tUrHawMqZR4crEzFzSIFalxQt+NF1d0tuHAJ5HKRK7nIeSTiXRI2mWG6rEoHpTULi0WBXqbIH00+6U/6m2+AHYa0r3GLB8dKAemsNFJ7BzUGAO7e2JL3aLpzpuP6eoVFppATZmQH8E9TQYoaFqS5qYgAdTjZklYwt6bY9fAHmsHtB6h0RhbOzq7J83Ozg+8Dz4+0cmdnW7GvcCF1I/JH6XxHZleV7CuQVtYZez5DFrVsOOBeIkzj5DQoaapkIf0Ufq3IrqBEiwV3JdUP39t3dJA6VVVGbNmppkf/rl4idioxsrFaQHpAF/Wy3aRZki05J5/mYZ4XYcFoAGOYcmydwj2qimBu7O4eUmdsIwoLsz0sgTZQGBsErJR3W91sgxtwEHY82HQwBWvMCIymCDCWKDRoudEnfQ5nZ3xpzs7CWcahE2C3QcAEP0cF9R2CgjyGUBjZGZob9gDRoeULGApqkuCcWxoNVZ2MAGcd8G3IhBn6r/78/rsQ0Rie+YPEaF1/3ehvOnt6E9dtxPg/71KLaNcJiu1HkxjT7sSs28HGeMSD6zVfjFurNhseDr7PbWxtRAtNbYmItzkEwSUxINf563mdwQePDej7JP/hjD5yjNOUSv8i7aQTkq9+ur4JCW3soitCciQschzg/0dCJCL6Yoh9YWwtFOpFFbIfEdfc1NV09wPpbgTsfqlCvepIuF5HihvGu81GJPVRAv6J0GPzO29NTqA=
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Create a new bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/bookmarks"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Create a new bookmark. The bookmark type (link, text, or asset) is determined by the `type` field in the request body. For link bookmarks, if the URL already exists, the existing bookmark is returned with a 200 status.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The bookmark to create.","content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"title":{"type":"string","nullable":true,"maxLength":1000},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"note":{"type":"string"},"summary":{"type":"string"},"createdAt":{"type":"string","nullable":true},"crawlPriority":{"type":"string","enum":["low","normal"]},"importSessionId":{"type":"string"},"source":{"type":"string","enum":["api","web","cli","mobile","extension","singlefile","rss","import"]}}},{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string","format":"uri"},"precrawledArchiveId":{"type":"string"}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["type","assetType","assetId"]}]}]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A bookmark with this URL already exists. The existing bookmark is returned.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}}}},"201":{"description":"The bookmark was created successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}}}},"400":{"description":"Bad request — invalid input data.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/create-highlight.api.mdx b/docs/versioned_docs/version-v0.31.0/api/create-highlight.api.mdx
new file mode 100644
index 00000000..4c4e90cc
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/create-highlight.api.mdx
@@ -0,0 +1,71 @@
+---
+id: create-highlight
+title: "Create a new highlight"
+description: "Create a new text highlight on a bookmark. Highlights are defined by character offsets within the bookmark's content and support color coding."
+sidebar_label: "Create a new highlight"
+hide_title: true
+hide_table_of_contents: true
+api: eJztV9tuGzcQ/ZUB89BWWF1S5GkfCig31E2AGImNonAMaLQ70jLikgzJta0KC/Qj+oX9kna4V9lKkAc/FEXfFkty5syZ4ZnhQRh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qbiMa5EjdvBiE9ASc/jGo+QydDaeYDzwyC3xmxXWQ/Wma3DssQgM1RqP/uoP+onT4DTRTq0l5F/LpUC0rk1UgffyTrgsSpZ9pFDO/Sulq2ERCMrKAhzcjP4zVSQoYYtaZ7SCVDHyHa0h40z5XF93dIaLs+g0jk5mEw+UAhSbz38FM+8ob2fTDrY57iVuof8VvowwtwP25Xzxk3XyFBtfwJuJMKqWVxFklZKljKs4HNFbg8WHZYUyHlOBkE3Y7UTNHFmV5ruwovWROx4UQ2ZFpAB0De8dE56k5zJDYWsiOtshIHRDJaw4rliBTeoKoKNccc+pM45RxQNcz4cgTZQGhcBVir4jpteqS/2ljz/7P74mI01gdHUXG9HBHxTffpRT2EyUVLvJpMYyxIu378d3gn8xhk9CxzeKsqhpIA5Bpw1x/l69cdjG2reFvH90GyJxdnt0VBZZTCPY4Mi+F6WXOTGwfnL1z9EmWZ1LDF2CI1RQo4eccWX3nqHod/8C599jTiOujXPi6zvh7YPXIni6EnIKsJ/Dwcu50un6pp/x4rld+HQBeIrMRHNHYyNY0d7JqHBNeWqiE2DZ+T0YSuuk+7EMsvIhq/uvR71sfN3Hy5Y2NtnaRn7tHAYx3O8FakQiWgqKPaL+O8gFOptFRuxaGxyG8DjLnKva8So2iXU+xHCw6HZccEqVdciaUOJqiVqfjX9DdD6rAk=
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Create a new highlight"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/highlights"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Create a new text highlight on a bookmark. Highlights are defined by character offsets within the bookmark's content and support color coding.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The highlight to create, including the bookmark ID, text offsets, and optional color/note.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true}},"required":["bookmarkId","startOffset","endOffset","text","note"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"201":{"description":"The created highlight.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"400":{"description":"Bad request — invalid offsets or missing required fields.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found — the specified bookmarkId does not exist.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/create-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/create-list.api.mdx
new file mode 100644
index 00000000..72b1fa17
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/create-list.api.mdx
@@ -0,0 +1,71 @@
+---
+id: create-list
+title: "Create a new list"
+description: "Create a new bookmark list. Lists can be manual (bookmarks are added explicitly) or smart (bookmarks are matched automatically by a search query)."
+sidebar_label: "Create a new list"
+hide_title: true
+hide_table_of_contents: true
+api: eJzNV19vGzcM/yqE+pIal4szbC9+GOBkLdC1wII2wTCkBkzf0T7VOkmVdHE844B9iH3CfZKBuj8+O266AR2wl8QnkRT5I/UjtRPGksMgjX6Ti4nIHGGgd9IHkYicfOak5U0xEddxCxA0bWBhzLpEtwYlfUiBFTxkqGFBUKKuUMFZJ+MBHQHmOeVAj1bJTAa1fQnGgS/RhWPJEkNWUA5YBVNikBkqtYXFFhA8ocsK+FyR275MRSICrryY3IvogJglwlNWORm2YnK/EwtCR25ahUJM7mf1LBGOPlfkw5XJt2KyO4rwtqAYDwQDDRApvO695B2fAMI8Hj+HpSSVg/TARqWjvJFuw2/FO+Gy8gG0CQyQp8C+Z0YH0oH9QMuwxDRcfPLszE74rKAS+VfYWhITYRafKOO8WMdJC5I872osaSDlg5N6JRJRSv2O9Ipjv0xEiY/913hcHyX3We3xgfYPUVtmp9TqpF14ao90VXKiGnREIiKonLGcllipICbdXp2ICNrXgqoTYdGRDly5T0V1pRQuFIlJcBXVdZN8zhP7EVFr45jVdbPtrdG+QfW78eXpAmkKI28K/9tlUZ6IoU6+kNyvp+8o+GcS9i8g/M+z++Q8Wy2UzAaiC2MUoWYrBfprw/LGYTDOn5aqPLn3Rj3rtdlocvydy2D4x4OkTVxpz58dV4/MRXJQQgMce60TLg78mSUiyMCORfISTQ1+Px4/LbsrzKElLvjrjz9B6gdUMgepbRUgx4BwRukqTQZMBaX0XupVw5UJHBITbGQoAAdE+o3KODP5SagPA5pCiVkhNZ07wpwzDuScccDqKaetJO9x9Y9MFVWJ+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tdI3HL/FTXImlDiXwlan4s/A0IJEx+
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Create a new list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/lists"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Create a new bookmark list. Lists can be manual (bookmarks are added explicitly) or smart (bookmarks are matched automatically by a search query).
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The list to create. For smart lists, a `query` field is required. For manual lists, `query` must not be set.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","minLength":0,"maxLength":500},"icon":{"type":"string"},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","minLength":1},"parentId":{"type":"string","nullable":true}},"required":["name","icon"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"201":{"description":"The created list.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}}},"400":{"description":"Bad request — invalid input data (e.g., smart list missing query, or manual list with a query).","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/create-tag.api.mdx b/docs/versioned_docs/version-v0.31.0/api/create-tag.api.mdx
new file mode 100644
index 00000000..1b4c9e0c
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/create-tag.api.mdx
@@ -0,0 +1,71 @@
+---
+id: create-tag
+title: "Create a new tag"
+description: "Create a new tag. Tag names are normalized (trimmed and converted to the user's preferred tag style)."
+sidebar_label: "Create a new tag"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9VlFvGzcM/iuE+rDWuNjtsKd7GOB2K9C1wILVwTCkAUyf6DvVOkmVeE5uxgH7EfuF+yUDdWfHSYNhD8NeYoeiyI/kx08+KB8oIhvv3mlVqioSMq2wVoXSlKpogpypUr3JJ4Dg6BYY6zmssAaHLSXASOB8bNGa30nDc46mbUkDOg2Vd3uKTBrYAzcEXaL4TYIQaUsxih1rSNxbejFXhWKskyqv1Uo+bwqVqOqi4V6V1we1IYwUlx03qry+GW4KFelLR4lfe92r8vAI86qhHF1QSvqxOslSecfkWK5gCNZUuQWLz0nuHVSqGmpRvnEfSJXKbz5TxapQIUrD2FCSUwl85pU4GlerYRhxmUhaSsleN8Mw2lPwLo3Xv3356mnQI9Dcmv8QrdFPYC3+ZRFGq+JBJd89Bf7KYceNj5kHf/3xZ5746zw1YL8jByZBa1Iyri7AuD1aowvwEeguSKpH5TLd8SJYNE8XOmEtFN1hGyw9QqCGEWpL3Hihd/AptwWFQGqRuSYUi3uKKTOsi1aV6oBaR0ppWGAwi/0rVag9RoMbO3ZyOh7r32JnWZWqYQ6pXCw49vMdRtwRhTmG8NUqyYSnCOC3uUXvJ38YsQjwM+5/lLrHzOcbcGqDZJY6spsqJydVTF/eymoKwp9+XeW5CnF+uV+cH4/NOxL6jBzGbb0cSING9K/mL+cvZVEN54afoC8v331V6unQJEBIZLcXjU8sjYSN97sW4864OitFJNQXhi8sMsXcCFPRHFaNSRIb0Fp/m6D3nexyiw7r+yCpAGsSp0J2JhXQmLqxpm7EgilR/nQaNljtuiDy4+uIbYtsKrS2n39yn9yzZyCdJcfTiolxaS2Q08EbxwmmlQB8yOogOTQYl6e5Xk4UzEHW0BBqinP4zXdQoYOanIguAbpc2Y562EbfPqTCLW3g6h10TlOE2ewjMRtXJ/g+33lPfZrNjrAvsTbuBPmDSXyGOXUh+MhQdTH5eLFBgRpON2BvENbj4To3aW1Na3gNXzqKPQSM2BJTTDIMgqOEgXGV7bToP6wd3fGbKcTWkB23X9oChgHT2JdjklNImeSWuGryuQQRYDSHJaxdZ+0a9mg7gq2PD3MYp2VGlAPLPPITBK2PGWBnOR1783qiCKz6QEmMR0vK09gQeEfjJkYikKVK5Sd3AbOZNW43m+ValnD1y4cT3+DWcAM+8xwtVBFvLWloiVEj43y8LvJ1up5lDMQEzjNNLpmcRx8HXbAeNWnYGkvw3LRCch/h8oe3L+aykCJhLbqzZX38Mj9ewsO9oP5/r/goTGfyPRSjth4m9b0eX/qbQokgyP+HgzDzKtphEHMmnzzz99qbH/1CjeuU5XpHvVQ11nchA85SbTvJ/tVbORTHG8uqosD/6Htz9m5c/vxxJXI6/cpovZY7EW9Vkf+WShVqJENW6Ww7KIuu7rAW3zGmiC8+1O5HWp2rmo7Q9WcID4fRYyWCMwyqmErJAqQGeZX/Bt1jblI=
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Create a new tag"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/tags"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Create a new tag. Tag names are normalized (trimmed and converted to the user's preferred tag style).
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The tag name to create.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"201":{"description":"The created tag.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/delete-a-backup.api.mdx b/docs/versioned_docs/version-v0.31.0/api/delete-a-backup.api.mdx
deleted file mode 100644
index 9d2f3be3..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/delete-a-backup.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: delete-a-backup
-title: "Delete a backup"
-description: "Delete backup by its id"
-sidebar_label: "Delete a backup"
-hide_title: true
-hide_table_of_contents: true
-api: eJx9U8Fu2zAM/RWBpw3Q4nbosMG3DO2AbsNQbBl2CHJgbCZWY1uqRLfJDP37QNlNkzarL5bEJ/Hx8bGHkkLhjWNjW8jhkmpiUkssNp1Ty50yHJQpQQPjOkA+h88pFGChIVDRecM7yOc9LAk9+WnHFeTzRVxocOixISYfEiAUFTUIeQ+8cwQ5BPamXYMG2mLjajkyZMp6u1s3D7efPtrt3w/VltkWnyS/4QQZ8l+XEDV4uuuMpxJy9h1paLERyPIRosFIUQ65AmHkKTjbBgrC4v3ZhfyO6/9hVWFbppbVO8XVXokHDKpM2qTEF6fuDsxUa1mtbNdK+vEtwaJztSlQsNltkAsnJLHLWyoYNDhvHXk2A9XClvRSuKihoRBwfSp2pM58eOEJv4jyyZ4rW0IOQ22SWLTKIRvqDln/KGYEabi/f2xn52vIocey9BRCzNCZ7P4cNNyjN7isB+ZjeBBrhV3NkEPF7EKeZex3kw163BC5CToH+pmis4rU+IKyq9SPbyNeDVwgxnjgxF8i6JD50I97dSSz1JFg4pQEAj0uvljfoDD8+meWJDTtysp1qXqgdD45m5wd2HHPZ3pzfZL/9OZaraw/Ji/FRg3OBm4wWWG07jh/OPru+Yv9k6NeG9WhWKYtZ65G00qu1K9+7O98nJEAGvL9uCw0VDawhPt+iYF++zpGOb7ryMuYL57am0xQmiDrEvIV1oFeYfvm5+jGt+p/DMdDbHfJRXUnO9Cwod3hUMdF1FARluQThyE8LQpyfHDxxbyJT/Z+v7z6fjW7Ag14bJBnhkgJTvLq+wExsxtqY9zTZNkLxxj/AVwN0vk=
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Delete a backup"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/backups/{backupId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Delete backup by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BackupId"},"required":true,"name":"backupId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - the backup was deleted"},"404":{"description":"Backup not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/delete-a-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/delete-a-bookmark.api.mdx
deleted file mode 100644
index 56a84103..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/delete-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: delete-a-bookmark
-title: "Delete a bookmark"
-description: "Delete bookmark by its id"
-sidebar_label: "Delete a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJx9U01v2zAM/SsCTxugxe3QYYNvGdoB3Yah2DLsEORA20ysxrZUiW6TGfrvA23nq83qi/XxKD4+PnZQUMi9cWxsAylcU0VMKrN2XaNfq2yrDAdlCtDAuAqQzuHzeBlgoSFQ3nrDW0jnHWSEnvy05RLS+SIuNDj0WBOTDz0g5CXVCGkHvHUEKQT2plmBBtpg7So5MmSKarNd1U/3nz7azd8P5YbZ5p+EgeEesmNwW0DU4OmhNZ4KSNm3pKHBWkDZAaTBSHEOuQRh5Sk42wQKwuT9xZX8TnX4YVVuG6aG1TvF5ZEiTxhU0avUJ786F73jpxrLamnbRiiM7wkanatMjoJO7oOEnJHGZveUM2hw3jrybAa6uS3opYBRQ00h4Orc3YlG8+GFA34R5ZM9l7aAFIbqJLHolUKyqz0k3UHUCNJ8/7hrbesrSKHDovAUQkzQmeTxEjQ8ojeYVQP78XqQbIltxZBCyexCmiTst5M1elwTuQk6B/qZrrOS1PiCssu+L99GvBq4QIzxyJW/RNQh87E39wpJZqmjh4lnehDocfHF+hqF4dc/s15G0yythEvVA6XLycXk4siaez7Tu9uz/Kd3t2pp/Sl5KTZqcDZwjb0dRhOP84h7/z1/szv46vXhHQpm2nDiKjSN5Ot71o19nu8nJoCG9Gh8FhpKG1ggXZdhoN++ilGOH1ryMvqLQ5t7MxQmyLqAdIlVoFc4v/k5OvOt+h/L8RCbbe+mqpUdaFjT9nTM4yJqKAkL8j2LATDNc3J8FPpi+sQxe/df33y/md2ABjy1yjNr9AnOMuu6ATGza2pi3BNl2QvHGP8BgxHeWQ==
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Delete a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/bookmarks/{bookmarkId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Delete bookmark by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - the bookmark was deleted"},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/delete-a-highlight.api.mdx b/docs/versioned_docs/version-v0.31.0/api/delete-a-highlight.api.mdx
deleted file mode 100644
index 39cd9b2b..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/delete-a-highlight.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: delete-a-highlight
-title: "Delete a highlight"
-description: "Delete highlight by its id"
-sidebar_label: "Delete a highlight"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVcFu2zAM/RWDpw0QknTosMK3AO2wbANWbBl2CHJQLCZWY0uqRLfJDP37QNtJnNbtdtgpjvkkPj4+0jUoDJnXjrQ1kMI1FkiY5HqTF3qTU7LaJ5pCohUIILkJkC7g0yEaYCkgYFZ5TXtIFzWsUHr004pySBfLuBTgpJclEvrQAEKWYykhrYH2DiGFQF6bDQjAnSxdwa80alXs9pvy8e7qg939fp/viGx2xRQ0NZAjhZmCKMDjfaU9KkjJVyjAyJJReQ8lQHOBTlIOzMtjcNYEDMzl3WTCP+dazHNMVKOHOgkCAjJrCA3xAelcoTPJB8Z3gU8NVGhXd5jxQeetQ0+6zbmydltKv52p52pEAYGkp2/rdUDqxU1VrtBzHI16JZrZwvpBlU1Vcg/3WBT2EVgH1mbjEQ0IWBUVclMVrmVVEKQHYBRAuKOhK01VFHLFbWHxowBjCf8JqIdLrwL6F1TJPEpCNR0gEs98sOjre65mX7uuqo5zw+iYv59tOWA9iJFzXk4un3vnCEqMpWRtK6P+n3Myqwb0jQJKDEFuhmJPtGluOOGXsS2lRMqtghRa23NiHpcUxkf/h3Hdm6rI0qJ/OEx35QtIoZZKeQwhjqXT44cLEPAgvebWN/y7cKvawWc5kQvpeEx+P9pKL7eIbiSdAzEwlt0NiV0nlGPypcMnLRduTG8x/WBZu5nrraejRpyZ62hgkHYgHobm4aP1pWSGn3/NGyG1WVs+zlW3lC5Gk9Gkt52OfKa3s0H+09tZsrb+nDwXGwU4G6iUjSG6NdYtZXm2hc4urU/W+ssKb0tm049dIbVp5o27Vne9Xpy2ZgABaX+HLgXkNhCD6nolA/70RYz8+r5Cz1+A5anVjSGUDvysIF3LIuArtN987/z5NnmJZ/dSmn3jKF5VKYCALe6fLPu4jAJylAp9Q6NFTLMMHfXOPhtCts1xCK5vvt7Mb0CAPPfLE380CQap1XWLmNstmhiPTIn/M8cY/wCwMJE0
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Delete a highlight"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/highlights/{highlightId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Delete highlight by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"HighlightId"},"required":true,"name":"highlightId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The deleted highlight","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"404":{"description":"Highlight not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/delete-a-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/delete-a-list.api.mdx
deleted file mode 100644
index 5059b462..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/delete-a-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: delete-a-list
-title: "Delete a list"
-description: "Delete list by its id"
-sidebar_label: "Delete a list"
-hide_title: true
-hide_table_of_contents: true
-api: eJx9U8tu2zAQ/BViTy3ARkmRooFuBpICaYMiaF30YPiwltYWY0lkyFViV+C/F0upfiROfbFIDjmzs7M9lBQKbxwb20IO11QTk6pNYLXYKsNBmRI0MK4C5DO4M4EDzDUEKjpveAv5rIcFoSc/6biCfDaPcw0OPTbE5EMChKKiBiHvgbeOIIfA3rQr0EAbbFwtW4ZMWW+2q+b54eqz3fz5VG2YbXEl7IYTRNhvS4gaPD12xlMJOfuONLTYCKAeABqMFOOQKxA1noKzbaAgCj6eX8rfcd3frSpsy9Sy+qC4IrWwdt2gX6tnDKpMriTiy1O3RZdqLaul7VqhH98SJDpXmwIFmT0EgZ+wwy4eqGDQ4Lx15NkMUgtb0mvTooaGQsDVqbMjb2bDC3v8PMpP1lzZEnIYKhNi8SqHTBwMWT8YGUEa7Z/+tbHzNeTQY1l6CiFm6Ez2dAEantAbXNSD6vF4sGmJXc2QQ8XsQp5l7Ldna/S4JnJn6BzoF15OK1LjC8ouUy++jXg1aIEY40ECf4qZA/NhDnfOCLPUkWCQjyDQ48cX6xsUhV9/T5N9pl1auS5VD5Iuzs7Pzg9iuNMzub89qX9yf6uW1h+Ll2KjBmcDN5hiMIZ2nDlMU/fyvX6fpbeHcyiUacOZq9G0wpN61Y99naXJCKAhH0dkrqGygeWo7xcY6JevY5Ttx468jPV839bU/NIE+S4hX2Id6D863/0YE/hevaVu3MR2m9JTd7ICDWva7sc4zqOGirAknxQMh5OiIMcH115NmKRjl/Drm7ub6Q1owONYvIhBIjipqu8HxNSuqY1xJ5JlLRpj/AuPmMsh
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Delete a list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/lists/{listId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Delete list by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - the bookmark was deleted"},"404":{"description":"List not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/delete-a-tag.api.mdx b/docs/versioned_docs/version-v0.31.0/api/delete-a-tag.api.mdx
deleted file mode 100644
index aaf7e855..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/delete-a-tag.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: delete-a-tag
-title: "Delete a tag"
-description: "Delete tag by its id"
-sidebar_label: "Delete a tag"
-hide_title: true
-hide_table_of_contents: true
-api: eJx9U01v2zAM/SsCTxugxe3QYYNvAdoB3Yah2DLsEOTA2EysxrZUiW6TGfrvA2UvH206X2SJT+Lj42MPJYXCG8fGtpDDNdXEpBjXarlThoMyJWhgXAfI5zCTdaEhUNF5wzvI5z0sCT35accV5PNFXGhw6LEhJh8SIBQVNQh5D7xzBDkE9qZdgwbaYuNqOTJkynq7WzdP958+2u2fD9WW2RafJLnhBJnh+raEqMHTQ2c8lZCz70hDi43EOcU1GCnEIVcgXDwFZ9tAQfK/v7iS5bTm71YVtmVqWb1TXJFaWrtp0G/UEwZVJkVS3qtzt2e4Vq1ltbJdK9nHpwSIztWmQAFm90HQZ7Swy3sqGDQ4bx15NgPTwpb0UrGooaEQcH0udqLMfHjhgF9E+WTPlS0hh6EwSSxS5ZBJk7M+qRhBeuwf/3Ww8zXk0GNZegohZuhM9ngJGh7RG1zWA+cxPGi0wq5myKFidiHPMva7yQY9bojcBJ0D/VzIitT4grKr1IivI14NXCDGeGS+nyLlkPnYgntdJLPUkWCQjyDQ489n6xsUhl9+z5J4pl1ZuS5VD5QuJxeTiyMH7vlM727P8p/e3aqV9afkpdiowdnADSYTjIYdhw1l3J4/1x+M9OpQDmUybTlzNZpWsqRO9WNP58PgasiH2VhoqGxgCfT9EgP98nWMcvzQkZdpXhxamhpfmiD/JeQrrAP9h+SbH6P33qrXuI2H2O6Sc+pOdqBhQ7v9+MZF1FARluQTgSE2LQpyfHTrxWiJMfbWvr75djO7AQ146ohnDkgJzpLq+wExsxtqYzxwlL1wjPEvTTHFIQ==
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Delete a tag"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/tags/{tagId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Delete tag by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - the bookmark was deleted"},"404":{"description":"Tag not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/delete-backup.api.mdx b/docs/versioned_docs/version-v0.31.0/api/delete-backup.api.mdx
new file mode 100644
index 00000000..5f28871f
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/delete-backup.api.mdx
@@ -0,0 +1,71 @@
+---
+id: delete-backup
+title: "Delete a backup"
+description: "Permanently delete a backup and its associated archive file."
+sidebar_label: "Delete a backup"
+hide_title: true
+hide_table_of_contents: true
+api: eJylVttuGzcQ/ZUB85IIa8kuUiTYhwJK4wBugsJIbBSFI0Cj5Ug7FpfckFxZirBAP6Jf2C8phru62WlaoE9akTPDM5dzyK1yNXmM7OyVVrnSZCjSGyyWTa0ypSkUnmvZVrm6Jl+hJRvNBjpDQJglW0CrgWMADMEVjJE0oC9KXhHM2dBQZSriIqj8TnXRg5pkKlDReI4bld9t1YzQkx83sVT53aSdZKpGjxVF8iEZhKKkClW+V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TlHA4XHB0MaKoqoMeKwcxdp37sniQdZEkWm3iQN587GQlMbh5p0utThOVcy5M7D9dt3L5Jg1i7ECpNW99fi29OXwmMObg+S/78fGJ2GHF1YbdbJ4LaXzbv+kg4qU/n+vp5kSlgv29utjN+tN20ry2nC5DVyUM2krZqDfGuVz9EE+k5Kzz/2ov8C/glhv4h2k8TZNPJPZWpJm+NXRTtpM9VRNWHotsdFQXU8cjyOPTm6QN5efri8uVSZwlPFfaSwKfQ3EW23ncWNKErb7gEmhRF0bfs3Y8WbRQ==
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Delete a backup"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/backups/{backupId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Permanently delete a backup and its associated archive file.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the backup.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BackupId"},"required":true,"name":"backupId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — the backup was deleted successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Backup not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/delete-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/delete-bookmark.api.mdx
new file mode 100644
index 00000000..fa95ea9c
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/delete-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: delete-bookmark
+title: "Delete a bookmark"
+description: "Permanently delete a bookmark and all its associated data (tags, highlights, assets)."
+sidebar_label: "Delete a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJy1Vt1u2zYUfpUD9qY1FDsdOqzQxQB3TYGsxRC0CYYhNeBj8chiTZEsSSVWDQF7iD3hnmQ4lCzbadrtZleWyfPznb/vcCesI49RWXMpRS4kaYr0ytpNjX4jMiEpFF45FhC5uCJfoyETdQu9KCCsBmlAIwG1BhUDYAi2UBhJgsSI8DTiOmRQqXWl1bqKIWMRiuHZVGSCL0V+K/aOg1hkIlDReBVbkd/uxIrQk583sRL57aJbZMKhx5oi+ZAEQlFRjSLfidg6ErkI0Suz/iqE64qgMepzQ6AkmahKRR5sCbGiMRTGRFusnWZLipTU23Zd3396+ZPdfvmx2sZoi5cMXMUksgd+KUWXCU+fG+VJijz6hjJhsGah1UEoE4rBOIyV4GA8BWdNoMAB/HD+gn9Ocf9mobAmkonw959/naCFewxDOSSEpigohLLRup0ymBfnz7+2dmOwiZX16gvJ0d6rlGOIdkMGVIBahaDMOgNl7lArmYH1QFvHoXGGBjwp57SNM6eRo/peLQ5JPUYguq5LSB+Je59ZMDZCaRvz0DU6p1WRWnj2KdjHAdjVJyqiyITz3PBR9ZkurKR/b5k51FhUytCZJ5S40gTkvfXA6inHNYWA6/9kqmpqNA8NDfpT0Z10z20P8GB/cei4C1ZMiUv+Y2UP88txcmflYrbvkTDbHdqvEzxd/m4/O43XIhc7lNJTCN0MnZrdPReZuEOvGGZK1nDdl6jERkeRiypGF/LZLPp2ukGPGyI3RecenbvBwn7a3g7y0GPhYI7G/gPXsPd8PPxjhtkzx5HEeLqSkMiGjzfW18gIf/39OqVVmdKyOkfdQ3o+PZ+eHw3xiGd+dfkV/vFSBUAIpMuzyoaYirjPrDLrRIJc3TMVzzRG8ik6VdAUrisV2DaTpL0P0NoGooUaDa4PRkIGWgUmyG9RZpacrLDYNC6A83btsa4xqgJ56D+aj+bJE+B0Mb/1o8GHc62BjHRWmRhgaDPA07l37EOCMqlEy/kwpMnIEipCSX4Kf9gGCjSwJsPrgwBNimxDLZTe1qf1vacV3FxCYyR5mEw+UIzKrAP8nHTeUhsmkz3sK1wrM0J+p0I8whwa56yPUDQ+WH+2QobqRg24UwjL/nKZkrTUqlZxCZ8b8i0cVgYXg2DPuqBMoRtJXNmloW38ZTBRKtI9P3JaQEXA0Odl72Q0yZUsKRZVumcjDIymMIelabRewh3qhqC0/tSHMpJrRMkw18MTGAu19Qlgo2PY52bkwuvWUeDDcWGmaqwIrKF+vDwR8KSE/KM5g8lEK7OZTFIsc7h5/+5oe6hYgU19jhoKj/eaJNQUkTf3tFdngh/VE9EDHzEr0yCSmnMvY6Bx2qIkCaXSBE9VzU1uPVy9fvMskaazIdaY+HpYkK8fPikeTuHuQPz/31ukp5ejjdZlPUPuBla9HTd5EJnIj9b6IhNMCiyy23F33njddXycGpCfLgdSTdQrVeBvKfISdaDvxPv0/bAXnsG3UA6HaNrE3brhfyITG2pPnx/dostEP8sJRS8wLwpy8Uj12PriaMu8vnh3cX0hMoGnlPyAgpPpRzHtdr3ENVNO140QEwUxuq77BxUht/M=
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Delete a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/bookmarks/{bookmarkId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Permanently delete a bookmark and all its associated data (tags, highlights, assets).
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — the bookmark was deleted successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/delete-highlight.api.mdx b/docs/versioned_docs/version-v0.31.0/api/delete-highlight.api.mdx
new file mode 100644
index 00000000..28f99689
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/delete-highlight.api.mdx
@@ -0,0 +1,71 @@
+---
+id: delete-highlight
+title: "Delete a highlight"
+description: "Delete a highlight by its ID."
+sidebar_label: "Delete a highlight"
+hide_title: true
+hide_table_of_contents: true
+api: eJytVsGO2zYQ/ZUBc0kMrb0pUjTQoYDT3aDbBGiQ7KIoNgt4LI4lxhSpk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hJLcFP60NWRoICfDLwECNLGyNTWwcrY85PeBlnBzBbWR5GAy+UAhKJN7+DnueUONn0x2sN9hrswA+a3yYYTZ11VlXYCsdt66syUy1GrYAfcKYdEtLmKTFlqVKizgc02ugf2bgckg2N25oEyma0nM7MLQJvzSp1gp0p1FcltABUDf9WV3yJCSmVxRyIq4zkkYGE1hDgu+WxZwj7omWFl3eIYykjmimJj5cATGQmldBFjr4He9edVLBK6bijx/3H3xkY0lgTXUjZcjAp4Un340ZzCZaGXWk0msZQ43798OeoMHFQqwUeeoIXP4oElCSQElBpx229njh+3R64E/sS9THxLFuYsxUFfaoiQJK6UJnqqSRW4dvLt4/SzaZmV9KDE6dv8+On4oPh7D7d77//tZ2fnE6Hbi65utbtsb5O3+ReZFItLx++wuETzfHLTdstBunG5b/hy1xM/QvT9GF5XK838p0hVqT99A/vR9b/LP4Gs4+49ommjD/PJJhUjEmppHD8n2rk1EN5cRRhcxzzKqwmjv0UXJXjvcHBeXby+vL0Ui8NBkH5lqPOAktO22i7hmE2nbAWk0FcbYtv8CRuRA+A==
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Delete a highlight"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/highlights/{highlightId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Delete a highlight by its ID.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the highlight.","example":"ieidlxygmwj87oxz5hxttoc8","title":"HighlightId"},"required":true,"name":"highlightId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The deleted highlight is returned.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Highlight not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/delete-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/delete-list.api.mdx
new file mode 100644
index 00000000..e16d0d04
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/delete-list.api.mdx
@@ -0,0 +1,71 @@
+---
+id: delete-list
+title: "Delete a list"
+description: "Delete a list. This removes the list only — bookmarks within it are not deleted."
+sidebar_label: "Delete a list"
+hide_title: true
+hide_table_of_contents: true
+api: eJy1VlFv2zYQ/isH9qU1FDsdOrTQwwBnSYGsxRC0CYYhNeCzeLZYUyRLUo5VQ8B+xH7hfslwlCzbadbtZU9xyOPdd9/dfaedsI48RmXNtRS5kKQp0nsVosiEpFB45fhS5OIyXQGCViGO4bZUATxVdkMBYknpGKzRDfz1x5+wsHZdoV8HeFCxVAZUBPQExkb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Gy9PBDwpIf9kzmA00sqsR6OUyxTuPrwf+i1tXrCpz1FD4fFBk4SKIkqMOO6es6gPz5O4Ax+xGlNvkppzb2OgdtqiJAlLpQmeq4qb3Hq4uXz7IomlsyFWmHS6X4Yn3w6PJ3B3EPv/6SOj05Wj9dVmnTTuehm9T+s6iEzk/d6eZYJVgK92O27HO6/blo9Tx/H3yEFFk9ZKFfi3FPkSdaDvJPn8Q78AXsA/oesP0TRJrHXN/4lMrKk5fFu0szYT3eAmBN3ltCjIxaNnx55nR6vk8ur91e2VyASe6u8jvU2un8Sz23UWt6wvbTvAS3rD6Nr2b2ZfomE=
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Delete a list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/lists/{listId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Delete a list. This removes the list only — bookmarks within it are not deleted.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the list.","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — the list was deleted successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"List not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/delete-tag.api.mdx b/docs/versioned_docs/version-v0.31.0/api/delete-tag.api.mdx
new file mode 100644
index 00000000..a6c2fd90
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/delete-tag.api.mdx
@@ -0,0 +1,71 @@
+---
+id: delete-tag
+title: "Delete a tag"
+description: "Delete a tag. This removes the tag from all bookmarks it was attached to."
+sidebar_label: "Delete a tag"
+hide_title: true
+hide_table_of_contents: true
+api: eJytVttuGzcQ/ZUB85IIa8kpUiTYhwJy7QBugsJIZBSFI0Cj5WiXEZdkSK4sRVigH9Ev7JcUw12tZMdN+9CnlTjk8MzlnOFeWEceo7LmWopcSNIUaYalyISkUHjl2CZycZksgBCxHMOsUgE81XZDAWJFvAorb2tArWFp7bpGvw6gItxjAIwRi4okRDsWmYhYBpHfiRl/55kIVDRexZ3I7/ZiSejJT5tYifxu3s4z4dBjTZF8SBtCUVGNIt+LuHMkchGiV+ZbxLOKoDHqS0OgJJmoVoo82NUBLyOhLdZOsxNFSurtrqzvP795bbdff6y2MdriDcNVMW2ZYXktRZsJT18a5UmKPPqGMmGwZntM9kwovt1hrASj9xScNYECI/7h/BV/HgL91UJhTSQT4a8//hzSyYnr6iEhNEVBIawarXdjhvDq/OW3jm4NNrGyXn0lObi6SPmEaNdkQAWoVQjKlBkos0GtZAbWA20dB8Qp6aGk/NI2TpxGDuh7eT9m8RSBaNs2IX0i5BmWYGyElW3M41vROa2K1JOTz8E+fbddfqYiikw4zx0cVZffwkr6986YQo1FpQydeUKJS01A3lsPfDylt6YQsPxPrqqmRvPYUX9+LNoH7XLXATz6nx+764oPppyl+2Nlj4TkOLmfcjFh7kz2qdVawdTxmwMxGq9FLvYopacQ2gk6Ndm8FJnYoFcMLqWoN3c1WWGjo8hFFaML+WQS/W68Ro9rIjdG554kVe/hQKV3/X7osHAIJ5z+yJXrbj5l9pBXvpnjSNtE3m8SWf/jrfU1MsJffpulZCqzsnyco+4gvRyfj89PaDrgmd5cf4N/MKoACIH06qyyIabSHWRLmRLQSOCanql4pjGST9Gpgnrtm95cs9TZ+wA720C0UKPB8ugkZKBViCFjLocMKlVWWpUVr2AIlL5GwhKLdeMCOG9Lj3WNURXILP9kPplnz4DTxeLVEYIXp1oDGemsMpFFODUX4EOiO75DgjKpRItpz8rkZAEVoSQ/ht9tAwUaKMnwFCBAkyJb065T8wf1vacl3F5DYyR5GI0+UozKlAF+Smfe0S6MRgfYN1gqM0B+r0I8wRwa56yPUDQ+WH+2RIbqhhOwUQiLzrhISVpoVau4gC8N+R0c5wEXg+CgsKBMoRtJXNmFoW38uXexUqQ7QeS08FDCbmoNlwwuuZIrikWV7OyEgdEYprAwjdYL2KBuCFbWP7xDGck16sYh18MTGAu19Qlgo2M45OaibxGY7RwFXrwYBiZXY0lgDXX08kTATAn5J3MGo5FWZj0apVimcPvh/dBvcK9iBTb1OWooPN5rklBTRIkRx91xVvTheFJ24CXWYuq3pOY87DHQOG1RkoSV0gTPVc1Nbj3cXL59kaTS2RBrTCrdz8HTp8JjAu6PSv//Pik6NTmZWG3WCeK+l8677tmRibyb0/NMMPPZsN9zC9563ba8nLqMHx9H5Uz6KlXg31LkK9SBvhPZ8w+95L+Af8LWL6LZJYHWDf8TmVjTbnhKtPM2Ex1XE4DONi0KcvHk1Knj+cnsuLx6fzW7EpnAh5L7SGKT6yfh7PfdjhlLStse0fF/Rte2fwPHe5L9
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Delete a tag"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/tags/{tagId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Delete a tag. This removes the tag from all bookmarks it was attached to.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the tag.","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — the tag was deleted successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Tag not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/detach-asset-from-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/detach-asset-from-bookmark.api.mdx
new file mode 100644
index 00000000..0a7d8a5a
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/detach-asset-from-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: detach-asset-from-bookmark
+title: "Detach asset from a bookmark"
+description: "Detach an asset from a bookmark."
+sidebar_label: "Detach asset from a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9Vm1v2zYQ/isH9ktrKHY6dFihDwPcNQW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qZPeQ3KsQjzKF1zvoIReuD9WcrZKhu7wG3CmHZf1wmkpZaNSou4VNLfguH3cfFIBiVGJQpdCuJK7s0tIk/DSFKRbpXTqYFVAQMPS/jJfuQXMmSYlGn7xyEgdEU5rA0rdZLuEXdEpTWn96hjOQaUQrM9fAExkJjfQLY6hhGbvYqebV1FPhwv/lTNVYE1lA/Xp4IeFJC/sGcwWSilVlPJimXOVy/e7PvN7hTsQab+hw1FB7vNEloKKLEiNPenaV/755WAPARyzQNJqk5RxsDrdMWJUkolSZ4rBpucuvh7ctXT5KKOhtig0nAh405Pnkeeu/cH8jdYSl801OpF42jDdZlve7tBvG82T80gshEfvLq6OeOj8elvsgEjz+77Xbch9dedx0fp1bj19ZBPpPIShX4txR5iTrQV9J5/G5YCU/g75APh2i2SaV1y/+JTKxpe/pi4lfS/3jzSE+36DLRi0VKvv86Lwpy8cjvOPTiaK+9vHhzcXXBxJ9q/j2NT6EfBLTb9RZXrGldt8eXNI7Rdd1fn98Mqw==
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Detach asset from a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/bookmarks/{bookmarkId}/assets/{assetId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Detach an asset from a bookmark.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"string","description":"The unique identifier of the asset.","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — asset was detached successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark or asset not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/detach-asset.api.mdx b/docs/versioned_docs/version-v0.31.0/api/detach-asset.api.mdx
deleted file mode 100644
index f08ec416..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/detach-asset.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: detach-asset
-title: "Detach asset"
-description: "Detach an asset from a bookmark"
-sidebar_label: "Detach asset"
-hide_title: true
-hide_table_of_contents: true
-api: eJy9VE1v2zAM/SsCTxugxe3QYYVvGdoB3Yah2DLsEPjA2HTsxrZUiW6TGfrvA23nq82KHYblEkt6oh4fH9lBRj51peXSNBDDFTGmhcJGoffEKnemVqgWxqxqdCvQwLj0EM/hw7jlIdHgKW1dyRuI5x0sCB25acsFxPMkJBosOqyJyfke4NOCaoS4A95Yghg8u7JZggZaY20r2SqpzKr1Zlk/3l2+N+tf74o1s0kvhUHJPWTL4CaDoMHRfVs6yiBm15KGBmsBLfYgDaWkaJELCPqf0ZiKUC9ywBFxRCARuLem8eSFw9uzC/k7LsdXo1LTMDWs3owVeUSvsr5KlCnfpil5n7dVtRECF6eCbHVSjWGVm7YRJmNYQaO1VZmioKM7L1dOaGMWd5QyaLDOWHJcDqxTk9FzBYOGmrzH5amzI53mQ4Q9PgnykzUXJoMYMqqIBdHLFkO0raiPun1xQ9Sr46NuFDuAuNI9bD3Xugpi6DDLHHkfIrRl9HAOGh7QlbiohnTG40HDHNuKIYaC2fo4ithtJit0uCKyE7QW9BOhZwWpMYIyueKC1OcRrwYuEEI4aJfvovLw8mHT7CSTlyWPHiZm7kGgx4+PxtUoDD/9nPW6lk1u5LpkPVA6n5xNzg7MuuMzvb05yX96e6Ny447JS7JBgzWea+z9MTp7Oy5E86fhur3H/masDBkzrTmyFZaNPNgXrRsrP9/1sgcN8VFjD8WX7W2vJRoK41mudd0CPf1wVQiyfd+Sk0GV7GvfOyQrvXxnEOdYeXohm1ffRv++Vn9iPm5is+ktVrWyAg0r2hwPJRlE//HlrTwhCRoKwoxcn/xwOk1Tsnxw79loEPfuWvPq+sv17FrkP7btE5v2D5yk1XUDYmZW1ISwY8myFo4h/Abov0RX
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Detach asset"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/bookmarks/{bookmarkId}/assets/{assetId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Detach an asset from a bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - asset was detached successfully"},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/detach-tags-from-a-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/detach-tags-from-a-bookmark.api.mdx
deleted file mode 100644
index 53a255cb..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/detach-tags-from-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: detach-tags-from-a-bookmark
-title: "Detach tags from a bookmark"
-description: "Detach tags from a bookmark"
-sidebar_label: "Detach tags from a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVV2v0zgQ/SvRPLGStykrVovydoG70gWEEBTxUPVhGk8b3yaxsSeXdqP8dzTOR1taLmhFH6rEOR7PnDlz3IKmkHvj2NgaMnhFjHmRMG5DsvG2SjBZW7ur0O9AgSxDtoQXw1KAlYJAeeMNHyBbtrAm9ORvGi4gW666lQKHHiti8iECQl5QhZC1wAdHkEFgb+otKKA9Vq6UJUNGl/vDtvp6//wfu//v72LPbPPnkoHhCBkzuNPQKfD0pTGeNGTsG1JQYyWg9RGkwEh5DrkAyUp2UOAXVh8kl3MSFgX1DLBNdCRkBgpyWzPVLHB0rjQ5Cjy9D7LnSmF2fU85gwLnrSPPhkL8GjmcUOg9HiQ9pir80u47fcleF3vzLpZ98U1+pxwt+xxW43pwtg59+L/m8+t0lCZwYjcDHaSFn8To8Pt4GSP/Ajf/TzKLSN0FF9O5Ax/P5s8uKRjlltSWk41tav37Cs+tvtY1BRWFgNurHT0vIUY44ldDxyviwmrIQFNJLIgo/wzScTBC2h5npEujLGSg/cM4ro0vIYMWtfYUQpeiM+nDU1DwgN7guuxLGD73vG2wKRkyKJhdyNKU/WG2Q487IjdD50Bd0dcQQSTGBSVvBnzS5yJdO3Gaj8Jsf/Kp30w0yclSR4SJD0QQqOHhX+srlAxff15ELqVjH46GcDuqahzW5TR3R+lN4zY1ZdWJyWys7BP++uKezuaz+YkKp8pu3t9dZeLm/V2ysf6cBqGtU+Bs4AqjugaLe9yvz6K3R8H+zOZ7Gpn2nLoSTS1nRyW0g4SWk7eKYLIzo+3NRUFhAwuybdcY6JMvu06WvzTk5a5YHTUUGdYmyLOGbINloEeSf/Jh0P4fyY+SHQ2kPkSplo28gYIdHc7vhdi1glCTj1n0gJf9WX8uJMwxwMWUd2rccZPn5PhR7OpkIl/dvr1d3IoihwuoiiYAHr+Civ8xXRurj0KPay2UWG+baArQRxX94rn8v5N7r99rhLRtj1jYHdVdN/HD8i7UdN03RJTKrQ==
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Detach tags from a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/bookmarks/{bookmarkId}/tags"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Detach tags from a bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The tags to detach.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"tagId":{"type":"string"},"tagName":{"type":"string"}}}}},"required":["tags"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The list of detached tag ids","content":{"application/json":{"schema":{"type":"object","properties":{"detached":{"type":"array","items":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"}}},"required":["detached"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/detach-tags-from-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/detach-tags-from-bookmark.api.mdx
new file mode 100644
index 00000000..e69f86ba
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/detach-tags-from-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: detach-tags-from-bookmark
+title: "Detach tags from a bookmark"
+description: "Detach one or more tags from a bookmark. Tags can be identified by ID or name."
+sidebar_label: "Detach tags from a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJy1VttuGzcQ/ZUB85IIa8kpUjTYhwJy7ABugiBwZBSFY0Cj5WiXEZfckFzbG2GBfkS/sF/SDvci2VaDtEj9IEvkzHAuZ87MVtiKHAZlzbkUqZAUMCsWmPvXzpYn1m5KdBuRCEk+c6piQZGK0ygG1hBYB6V1BAFzD2tnS0BY9XpTYEuQoYEVgZJkglorkrBq4PyUVQ2WNBWJYG2RXonhRS+uE+Epq50KjUivtmJF6MjN61CI9Oq6vU5EhQ5LCuR8FPBZQSWKdCtCU5FIhQ9OmfyR74uCoDbqc73nkQO7hlDQznORCLrDstJsSZGS+q7Jy9tPL3+yd19+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F171JtaKdMfBnBZQAdB3eRkeGU1yJdcUeOEoCNgIO0ZTmMPS1Fov4QZ1TbC27v4bykiuEUXDXA9HYGy3MDrytQ5+yM3It4umIs+H4y44LJBx3eTudUTAjejTj+YIJhOtzGYyibHM4fLi7Yg3uFWhABtxjhoyh7eaJJQUUGLAaafOQ2RUj8ME+IiZn3qRCM5BxkBdaYuSJKyVJniqSga5dfD+9PWzSMyV9YG7M90Ou1+/Mh9akx/243Y3Zv6HTbsjsL3B2SYdB2978r4a91Sm6vTe0tptS4lgemDJ7ZZxeul02/JxhCLv5zv2jtwmlefvUqRr1J6+Eu/Ti34KPYN/cnZYg0wTh4Su+ZdIxIaa+zt2pMauq6MXncCr7q0jxtmegUfjvE0GjXmWURW+Knu9NwtPz96eLc54FvTLfBmnvXB4K5L4Gd3tUBlHTDzbCo0mr+M4F51Vnhx4f/A8GDTd5DiUkO22k1gw87XtmJ/IhJyatv0LslDeoA==
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Detach tags from a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/bookmarks/{bookmarkId}/tags"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Detach one or more tags from a bookmark. Tags can be identified by ID or name.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The tags to detach. Each tag must have either a `tagId` or a `tagName`.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"tagId":{"type":"string"},"tagName":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"],"default":"human"}}}}},"required":["tags"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The IDs of the tags that were detached.","content":{"application/json":{"schema":{"type":"object","properties":{"detached":{"type":"array","items":{"type":"string","description":"The unique identifier of the tag.","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"}}},"required":["detached"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/download-a-backup.api.mdx b/docs/versioned_docs/version-v0.31.0/api/download-a-backup.api.mdx
deleted file mode 100644
index 34fd0777..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/download-a-backup.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: download-a-backup
-title: "Download a backup"
-description: "Download backup file"
-sidebar_label: "Download a backup"
-hide_title: true
-hide_table_of_contents: true
-api: eJx9VE1v2zAM/SsGTy0gxOnQYYVvKfaBbpdiy7BD4ANjM7Ea21IlOk1q6L8PtJ3PJTvZpijyvcdHt5CTz5y2rE0NCXw2b3VpMI/mmK0aGy10SaCAcekhmcFjF/WQKvCUNU7zFpJZC3NCR27ScAHJLA2pAosOK2JyvkvwWUEVQtICby1BAp6drpeggDZY2VJCmnRebrbL6u3l4ZPZvH8sNswme5D+mruUvv9TDkGBo9dGO8ohYdeQghorSZnvUhRoYWSRCxBEjrw1tScvKD6Mx/I4Jf944BzdvGsbocsKvaZbUJCZmqlmuYTWljpDuRS/ayuhPb0QQlBwP76/Wr02HC1MU+fXi754uXBBNDN/oYxBgXXGkmPdk8lMTv9KGxRU5D0uL52d6DfrKxzy09DzqIgLk0MCS+q6ipQJxL3EPm53Woc4H3wDYgy33o29cSUk0GKeO/I+xGh1vL4DBWt0Gudlj3847iVbYFMyJFAwW5/EMbvtaIUOV0R2hNaCOtN1WlA0VIjMIuKCoh9DftRjgRDCkWN/iax952Pf7jWSzsKjSxNHdUmghpevxlUoCL//mXZC6nph5Lqw7iHdjcaj8ZFt93gmz08X8U+en6KFcafghWxQYI3nCjtDDBbfLykOa3pesz046+pG91yZNhzbEnUtrbpxtcOcZ8MqeVCQHG3VftSpgsJ4lsy2naOn364MQcKvDTn5MaSHQXd2yLWX9xySBZae/oP65ufgztvoGtghiPW281PZyBcoWNH2+DcQ0qCgIMzJdRj640mWkeWji+dLLYbZ2//blykowFObnNmiK34RU9v2GVOzojqEPUSWb8EXwl+BY+PE
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Download a backup"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/backups/{backupId}/download"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Download backup file
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BackupId"},"required":true,"name":"backupId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Backup file (zip archive)","content":{"application/zip":{"schema":{}}}},"404":{"description":"Backup not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/download-backup.api.mdx b/docs/versioned_docs/version-v0.31.0/api/download-backup.api.mdx
new file mode 100644
index 00000000..a4551931
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/download-backup.api.mdx
@@ -0,0 +1,71 @@
+---
+id: download-backup
+title: "Download a backup"
+description: "Download a completed backup as a zip archive. The backup must have a 'success' status."
+sidebar_label: "Download a backup"
+hide_title: true
+hide_table_of_contents: true
+api: eJy1VttuGzcQ/ZUB85BEWEtOkaLBPhRQmqRwk4cgsVEUjgGNdke7jLgkw4ssWVigH9Ev7Je0w71IttK0L33SipzLmdsZ7oWx5DBIoy9KkYvS3GplsHyJxTpakYmSfOGkZQGRi1f9NSAUprGKApWwTLKAHhDupAV0RS03NIXLmobLJvoANW4IEB77WBTk/WPwAUP0U5GJgJUX+bXo/HpxkwlPRXQy7ER+vRdLQkduHkMt8uub9iYTFh02FMj5JOCLmhoU+V6EnSWRCx+c1NVJBIwpavklEsiSdJArSQ7MCsIIlvHQFjk8kQtJslTbXdXcfn7xg9nefV9vQzDFCwYtQxLpQF+Uos2Eoy9ROipFHlykTGhsWGQ5iGRCMgyLoRYchiNvjfbkGfp35+f8c4q4z+JKKjrNs8hEYXQgHVgZrVWySBWd3UnLR2Nu2rZtM/H8/NmplyuNMdTGybu/K/rn73+kfLxMWYdg1qRBemik91JXGUi9QSXLDIwD2loO+AGMQNswswo52m9V55DoY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BSrqvTM=
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Download a backup"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/backups/{backupId}/download"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Download a completed backup as a zip archive. The backup must have a 'success' status.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the backup.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BackupId"},"required":true,"name":"backupId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The backup file as a zip archive.","content":{"application/zip":{"schema":{}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Backup not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-a-single-asset.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-a-single-asset.api.mdx
deleted file mode 100644
index 63b18a94..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-a-single-asset.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-a-single-asset
-title: "Get a single asset"
-description: "Get asset by its id"
-sidebar_label: "Get a single asset"
-hide_title: true
-hide_table_of_contents: true
-api: eJx9U02P0zAQ/SvWnECymi4SYuVbhWC1cFlBEYeqB7eZNqaJ7bUnpSHyf0fjeEu72uUUf7zMezPveYQa4zYYT8ZZUHCHJHSMSGIzCENRmBokkN5HUCtY8E2EtYSI2z4YGkCtRtigDhgWPTWgVuu0luB10B0ShpgBcdtgp0GNQINHUBApGLsHCXjSnW/5yKCp29Ow737/uv3gTn/eNycit71lekMZkunva0gSAj72JmANikKPEqzuGKELQoLhbrymBlhPwOidjRhZw7v5nD/XjefaYussoaWZ+DgtBOsVJoqam+mMxZoHQw2WKfH9DFKS0CE1rgYFeySQE7WCKsNiNRZlCXh24fg0mT60oGDUdR0wxlRpb6rjDUg46mD0pp0Ul+tJ9U73LYGChshHVVUUhtlBB31A9DPtPchnrS1Z7VRBuF0W/7XgxaQFUkoXpn5nuybmS2vP7jEz95FhoAoIZFl8dqHTrPDLz2UejbE7x79z15Okm9l8Nr9w9qxn8XD/ov7Fw73YuXAtnptNEryL1GnLDCUGOcUiGrtvi1HPi45QrH4981OvhCeqfKuNZaps11jMXU1xiyBBPQVvLaFxkfhyHDc64o/QpsTHjz0Gfi7rf97mBNQm8roGtdNtxP/ofPOthP6teE1fOdR2yBFqe96BhAMOF68jrS/zevdpCRL0tcXPLM1KXyw+jhNi6Q5oUzpzEe+ZKaW/hvt+aA==
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get a single asset"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/assets/{assetId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get asset by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Asset content. Content type is determined by the asset type."}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-a-single-backup.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-a-single-backup.api.mdx
deleted file mode 100644
index da620ed9..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-a-single-backup.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-a-single-backup
-title: "Get a single backup"
-description: "Get backup by its id"
-sidebar_label: "Get a single backup"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVMGO2zYQ/RVhTi1A2E6RooFubpEG2yBo0G6Rg+HDSBpbXEskQw43dgT+ezGU1uv1aoMccrLMGc689+ZxBmgo1F471tZACe+IiwrrQ3RFdSo0h0I3oIBxH6DcwO85FGCrIFAdveYTlJsBKkJPfh25hXKzTVsFDj32xORDTgh1Sz1COQCfHEEJgb02e1BAR+xdJ0eadNMdT/v+y92b3+zx66/tkdnWb6S/5pwy9r9pICnw9DlqTw2U7CMpMNhLSvWQokALI4fcgiDyFJw1gYKg+GW1kp+n5P+u7qjm4ovm9kGEBhkXoKC2hsmw3EHnOl2j3FneBbk4Q8/mUqDAeevIsx7b6ua5BElBDORv5kMYAvFcTIGJXYeV6CICJAW1J2Rq1jxbKeivdBEwsa/IS6Cy9tCjP/xho+HZjMDIMcxOz8RejOHINONJiHVNIYCCHeoueoJtUkDeW/+BQsA9fQeXJ+PdQPbgJNKjJJeEJ3rXZM7QtylJ0der18/HPpqqMJaLnY2m+XHjrm0zwzYp6F9S4pp5rvCYn2nk+9zaBkrYU+4qHi9hOZo2LIeHR5BEAfL3D88w+g5KGLBpPIWQluj08v4VKLhHr0X/DHsKj0rtMHYMJbTMLpTLJfvT4oAeD0Rugc6BupLztqViqlDYXcEtFe+n/GLEAimliw3yr6g5dr7cI2dppLPwyGnywnOSzDp//Gl9j4Lwr0+3WT9tdlauC+sR0qvFarG6WCNnPOuPN7P41x9vip31T8EL2aTA2cA9Zh9MK0eWJhZBm31H0+K4rjo8WurFHTuyZTry0nWoTd4MMrBhGvBmWm7yuMrzntsqaG1gCQ9DhYH+811Kcvw5kpf9vH2cb3ZBo4N8N1DusAv0Dag//TN58efiJYTTIZpTtlEX5R8oONDpchsn2QItYUM+YxjD67omxxcXn702McrZ7e/e3sr7f2qPKzvk6rOghmHMuLUHMimdMbL8F4Ap/Q8pJ2jm
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get a single backup"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/backups/{backupId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get backup by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BackupId"},"required":true,"name":"backupId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with backup data.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"assetId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"size":{"type":"number"},"bookmarkCount":{"type":"number"},"status":{"type":"string","enum":["pending","success","failure"]},"errorMessage":{"type":"string","nullable":true}},"required":["id","userId","assetId","createdAt","size","bookmarkCount","status"]}}}},"404":{"description":"Backup not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-a-single-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-a-single-bookmark.api.mdx
deleted file mode 100644
index 1c436efd..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-a-single-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-a-single-bookmark
-title: "Get a single bookmark"
-description: "Get bookmark by its id"
-sidebar_label: "Get a single bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJzNWF9v2zYQ/yrCvWwDhDgdOqzwW1psXTasDZYUewj8cBJPFmOKVEnKiWPouxdHyZKcyImcBtieoph3x9/9v+MWBLnUytJLo2EOH8lHiTGrAu0qSjaR9C6SAmLwuHQwv4b37aGDRQyO0spKv4H59RYSQkv2rPI5zK8X9SKGEi0W5Mm6QODSnAqE+Rb8piSYg/NW6iXEQHdYlIp/kiSFutssi9ubd7+au/tf8jvvTfqOEUgfSHYIzgXUMVj6WklLAubeVhSDxoKJkp4oBsmalehzqOMRGIkxilBDDIIyrJTfydo3zXkWOfKRN1E47cz0g4tSoz1pH91KpaKEIqlTVQkSkdSRzymy5EqjHZ1En4ynOPK57JlS1Myj0C4pyoyNnCmok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uzgfxX92cR523T3wrCw3ZOM8j8/z7W7x5QcTjJo1odtbH8rd9oH1xAtLozH3qFmpUIYtrx2PG0dfdzWAE2A+eONYxJAb55lku03QcU+oa/65WcHZ/0I69vKBN4QhxP/wOWHUCCvajD0xrFFVTBweGHZBfKSqP/7TJt1P0aHbd41Eb4Z37lANnBAaUE4oeF673rYEZ2lK5RDuo8LC8LvE/vjbFTQz4nDt34/64f61D2u7bSiuzIp0XXcoPf/PAOv6G9QU5oo=
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get a single bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/bookmarks/{bookmarkId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get bookmark by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"boolean","default":true,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."},"required":false,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.","name":"includeContent","in":"query"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with bookmark data.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-a-single-highlight.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-a-single-highlight.api.mdx
deleted file mode 100644
index 0916ef9d..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-a-single-highlight.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-a-single-highlight
-title: "Get a single highlight"
-description: "Get highlight by its id"
-sidebar_label: "Get a single highlight"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVcFu2zAM/RWDpw0QknTosMK3HLau22HD1mGHIAfFYmw1tqRKdJvM0L8PVNzESd1ih53imE/U4+Mj3YHCUHjtSFsDOVwjZZUuq1qXFWWrXaYpZFqBAJJlgHwBn5+iAZYCAhat17SDfNHBCqVHP2+pgnyxjEsBTnrZIKEPCRCKChsJeQe0cwg5BPLalCAAt7JxNb/SqFW93ZXN493VB7v9877aEtniiiloSpADhRsFUYDH+1Z7VJCTb1GAkQ2jqgFKgObqnKQKmJfH4KwJGJjLu9mMf06F+La6w4KyR03VQBAlSU5AQGENoSE+Jp2rdSH52PQu8NmROm3KBgKctw496f3NK2s3jfSbG/VckyggkPT0bb0OSIO4aZsVeo6jUa9EC1tbP6q1aRvu5A7r2j4Cq8EKlR7RgIBV3SK3VuFatjVB/gSMAgi3NJbStHUtV9wcbkEUYCzhPwH1eOltQP+CKoVHSajmI0TiiRsWQ31P1Rxq11fVc06MDvcPb1uOGBBi5DsvZ5fPHXQAZcZStratUf/POYVVI/pGAQ2GIMux2Jk2KcMRv4z7UhqkyirIoUzSpInJYXoYgTDtBoMVWVf0D08D3voacuikUh5DiFPp9PThAgQ8SK+574l8H95L9mSyisiFfDolv5tspJcbRDeRzoE40/W2wqzPkNl1RhVmX3t8tufCXRnspp+saT9wgw11EIhv5joSDPIexJOQHj5Z30hm+OX3bVJRm7Xl41z1ntLFZDaZDRbUgc/8+80o//n3m2xt/Sl5LjYKcDZQI5Mb+k3GS1lmQZuyxuMyOk/cHb312hrf18yWn7paapOmjdvW9c1eHDdnAAH5cI8uBVQ2EIO6biUD/vJ1jPz6vkXPX4HlsdfJEUoHflaQr2Ud8BXOb3707nybvcSzfynNLlmKF1UOIGCDu7OFH5dRQIVSoU809oh5UaCjwdlnI8i+OYzA9cdbECBP3XLmjpR9lFfX7RG3doMmxgNN4v9MMMa/V8aQOg==
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get a single highlight"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/highlights/{highlightId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get highlight by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"HighlightId"},"required":true,"name":"highlightId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with highlight data.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"404":{"description":"Highlight not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-a-single-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-a-single-list.api.mdx
deleted file mode 100644
index f826bf41..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-a-single-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-a-single-list
-title: "Get a single list"
-description: "Get list by its id"
-sidebar_label: "Get a single list"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVUFv2zoM/isGTxtgJNmwhzf4Vjy8Dd0GbNg67BD4wFhMrFaWNIlukxn67wNlN01ab9hhp8jiJ/Ij+ZEZQFFsgvasnYUK3hIXRkcuNodCcyy0ghIYdxGqNXzQkSPUJURq+qD5ANV6gA1hoHDRcwvVuk51CR4DdsQUYgbEpqUOoRqAD56ggshB2x2UQHvsvJErTVqZ/WHX3V2//tftf/zT7pld81qia84QiX6pIJUQ6HuvAymoOPRUgsVOAGYElKAlE4/cgrAJFL2zkaIweLlayc950h8319Rwcae5HZNXyLiAEhpnmSzLC/Te6AblxfI6yrOZxFx2BCX44DwF1mNQrZ4mn+5pzxjO2D2tmu2NwY3URNJPJehmDphyI8hKTf7EywiYaZLtO+l+h7ZHAyXEDgOLDBRtsTcM1b0tlfC9p3D4o3i+3xjdnEA3zhlCK15ajP85wbuA7EKcR/WRwmdnfsva3VkK8q00OzncarrLN1P8Op0pag1Z8rk3U2VP6nh8NUPxhE99rlpISYK8Wr16qj2xF9ZxsXW9VX9Pc41T8+LqKEbczdke1SF7eMDXacyiI26dggp2lKPKmFWwlLmJy2GcwSQqoXB7vwH6YKCCAZUKFGNaotfL2xfSDAxaRJEpT+axRvfKapl9rJZLDofFDQa8IfIL9B4ejQlctVRMHgq3Lbil4v2EL0Yu0oaT5fVFKjlGPl1hx7JIZMkjw0R4GQTldHjjQofC8N23q1w7bbdOnkvWI6UXi9VidbLBjnwuPl3O8r/4dFlsXTgnL8nKuLjIHWYNTPtOdjUWUdudoby3HvscHsT0i8U+Zsq056U3qMepkmYNU2PXeauKuKtpvdYltC6ymIZhg5G+BpOSXE+jv64f+pq7r3SUs4JqiybSb0g++zzp73nxK3bTJdpDlo/p5QtKuKHDw19AqmWHECoKmcFovGga8nzy7Ml8iTyO+n77/xWUgOeieCSC7H2W0jCMiCt3QzalI0OWbyGY0k9EOoyc
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get a single list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/lists/{listId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get list by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with list data.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}}},"404":{"description":"List not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-a-single-tag.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-a-single-tag.api.mdx
deleted file mode 100644
index 7375b7f6..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-a-single-tag.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-a-single-tag
-title: "Get a single tag"
-description: "Get tag by its id"
-sidebar_label: "Get a single tag"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVMFu2zAM/RWBpw0QkmzosMK3FNiKbocVW4YdghwYm7HV2JYq0W0yw/8+UHbTJPW6y06WRYp85HtkCxmF1BvHxtaQwDWxYszVeq8MB2Uy0MCYB0iWsJDvSkOgtPGG95AsW1gTevLzhgtIlqtupcGhx4qYfIgOIS2oQkha4L0jSCCwN3UOGmiHlSvlypDJyt0+rx7vLj/a3e8PxY7ZppeS3HB0WWB+k0GnwdN9YzxlkLBvSEONldg52jUYqcIhFyBYPAVn60BB8r+fzeRzWvC39R2lrB4NF6o0gVWGjBPQkNqaqWZ5gc6VJkV5Mb0L8mykLBsDgQbnrSPPpk9qspeld0+oxwxNdWXttkK/DUcOdVOtyZ87XO3nzJgWlC2i27/AoBkNWTQV1iOWrjvp9xKiHCL0M6CvwlqdsDiEvZhdvCRjgbmqLauNbers/3GQ2my82RWFgPmY7azwGOHZf9X1RVTEhc0ggZxiVpFdAlMZmGkbFdmBzIt/eJqGxpeQQItZ5imEborOTB/egYYH9AbX5cBTb+4btMGmZEigYHYhmU7Z7ydb9LglchN0DvR5FwtSQwRlN4oLUl8Hf9VjEQ6OBvmH9LHPfDzOh6ZIZqkjukEyOIEeDp+tr1AQfvm1iJ0z9cbKc6m6h/RuMpvMjqb5gGd+ezOKf357ozbWn4KXYjsNzgYeBDsMv2wtVMHUeUmyvs5Dts9KGt9wfZ1MO566Ek0taSJV7UDqst+CGpJ+0aw0FDawGNp2jYF++rLr5Pq+IS+rcfXMaWQ+M0HOGSQbLAO9gvDN90F5b9XfsA2XWO+jdMpG/kDDlvaHXditZLQJM/IRQG+bpyk5Pnr1YrBEGQdhX39agAY81cMZ/zH6KKK27T0Wdkt11z0DlH8B2HV/ANg2NwA=
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get a single tag"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/tags/{tagId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get tag by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with list data.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"numBookmarks":{"type":"number"},"numBookmarksByAttachedType":{"type":"object","properties":{"ai":{"type":"number"},"human":{"type":"number"}}}},"required":["id","name","numBookmarks","numBookmarksByAttachedType"],"title":"Tag"}}}},"404":{"description":"Tag not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-all-backups.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-all-backups.api.mdx
deleted file mode 100644
index 10776c8d..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-all-backups.api.mdx
+++ /dev/null
@@ -1,63 +0,0 @@
----
-id: get-all-backups
-title: "Get all backups"
-description: "Get all backups"
-sidebar_label: "Get all backups"
-hide_title: true
-hide_table_of_contents: true
-api: eJyNVMGO00AM/ZXI51Hb5ZhbQYAWhFiJIg6rHtzEbWabzMx6PAslmn9HTrNtWirBqenY43nP79k91BQrtkGsd1DCR5IC27bYYLVPIYIBwV2E8hHejidrA5GqxFYOUD72sCFk4mWSBsrHdV4bYIrBu0gRyh7eLBb6c/nK180TVVL8tNJMXytqFJyBgco7ISd6EUNobYV6cf4U9XYPsWqoQ/2SQyAowQ/1wEBgH4jFHt9+JXFORGY8gAEr1MV/F7D1JCcKW7eDbCBF4vvbIYyR5FbMgEtti5uWoBROlA1UTChUL+VmpWh/0yTgUrch1sDG+32HvH/nk5ObGVFQUryFgVzqVMxArj6exFRVFFXoLdo2McE6GyBmz18oRtzRf3DJKvpzsky1Vrc1nJp0bsmU8EjvmswJ+jpf13zVUiMa60gaX0MJOxp0Q/UfzM++jcQvxHHwaOIWSuixrplizHMMdv5yBwZekK3yGJo1ho923WJqBUpoREIs53Phw2yPjHuiMMMQwFx5etVQMVYo/LaQhorPY35xxAI558n0fFMXj0adzNCp2fqy8hjSoByTtGfDxwfPHSrCTz9WoB2xbuv1urI+QrqbLWYLHWErKhWc8Cwf7m/iXz7cF1vPl+CVbDYQfJQOh/lzOAD6e1dcVOzPY3xrrRxJCv2SeWjRumGwVKd+FHOiuYHGR9Gjvt9gpO/c5qzHz4lY19D6LOWwhQw0hDXxoP6eDlDCsqooyKB5m4ZdcL1ZVJyTrT6+X6l3LyW5kmCo/rpZ3GFSu++PGSu/J5czmBGE6H/IauI/FkLfgQ==
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get all backups"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/backups"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get all backups
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with all backups data.","content":{"application/json":{"schema":{"type":"object","properties":{"backups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"assetId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"size":{"type":"number"},"bookmarkCount":{"type":"number"},"status":{"type":"string","enum":["pending","success","failure"]},"errorMessage":{"type":"string","nullable":true}},"required":["id","userId","assetId","createdAt","size","bookmarkCount","status"]}}},"required":["backups"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-all-bookmarks.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-all-bookmarks.api.mdx
deleted file mode 100644
index 7beabd7f..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-all-bookmarks.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-all-bookmarks
-title: "Get all bookmarks"
-description: "Get all bookmarks"
-sidebar_label: "Get all bookmarks"
-hide_title: true
-hide_table_of_contents: true
-api: eJzNWM1u4zYQfhVhLr0IcbZH37KLdpsW3QRIFj0EPoylkcU1RWpJyonX0LsXQ8qS7NCJnA3QnuKI8z/DjzOzg5xsZkTthFYwh8/kEpQyWWq9rtCsLaTgcGVh/gAf+2+LFCxljRFuC/OHHSwJDZmrxpUwf1i0ixRqNFiRI2M9gc1KqhDmO3DbmmAOS60loYI2BUPfG2Eoh3mB0lIKCismQZOVYkM5pCDYtO8NmS206dukFbjRbPAkedYZoVaQAqmmYtfRZpD6ULHvORXYSAfz8OUFrVYbd2NyMhOUqqZaknlJmhSVcOeY74ST/OFTY6x+UXQWKKaHehQFZxpKj+roukgsucTpxJ/29fSLTTKtHCmXPAquM0qEymSTU54IlbiSEkO21srSRfJFO0oTV4qBKUPFPBLNipJCm8TqioZqvYj6+D8xrQ92J/ZTYDwK+oIdCGosx/3Xy0v+c+jDzfIbZWynKw+va5KjQ1bVWcWsWNdSZMiss2+W+SN51V4ipFAbXZNxImgfcGAgRWNwy1Y7quzrIkT+vDTbFDJD6Ci/ctHTSueiEPHjFFQjJS65tDmFbV/oEyh7VImixwgloucOVyuhVncOXWNf1zcAiG2yjCyjaYFCNoY4TKRy5lq0KdimqtCIHz5L7y9eaTctPMGO7TRa3ZhsgtgRjNYCUnikJReo5N+VXgrJ1tKTI2W5ulOwQq0kFeHAeLdEVWvjvC+NJXMdr6nwUr1zoYZLGzlA5zArKf8YDVfvM7tZNhUqWLQH6PTAGjv5B9I83egCa0U3hX9HX3YgnJ42RQq1DiE0Mh6/ydfoAI4m0IsKV/Q1pvYU8ZW15GJ5jlViZoiULbU7h6vOi3PIi0bKWzYsIMhZmgxlBh8l5W9g3oic9FmG4kZkE/NSukp+GirtVfquKs8xZ+/5RAVM/f4AiI0rtZmWrGYphS1pGnWOjm47jmnxYI6/u+dtAsMRZHjqcIMX3KD9HCI4egqg6n/EICGA/LSbGzd1r+NnbUWuuZBM/nX/CrkHEfC3fGA68W7wU/MlCvMnn72pWGbFj7HYrsk/fbPeHOYhKIOv7xD1Rq2Vfoy8XZ5h0fahff+Hd1Ka+U37YwRi48egy34n6W78fYlKkbnuauQI2qEDXabr+l8PeBBBcggNyddaasz9cIkbdMgpHkJ3VoXFeoQhFIs2SjB00we9czqeog9G4MNONt6A9r1W11kNRdrnfDEMmfv1ALCBip5cN3We7fF49zCSM1J1iyuh2N9hJdG2PjAVuVLnMIdVSBfySgJmY5GWzGa/l/CNEOwwzw1Z286wFrPNB84/GsEW+vrsjsMYth/9S+dqO5/NnNlerNHgmqi+wLqG43nzvqSkk5Dows+Rf3X0SbCFjR+tVO54NuvGr9FipQ8ja/Z1zmQ8n3giLlb/43dtKmQL//zn3udCqEIzO3sdTPpwcXlxOdoP9PZc3V5H7b+6vfYj7YHx7Cy/l9o67m7nu/18G1siHTWMPdrFN07BUX45ZrVE4WevrmkNKR1XySKFUlvHH3e7JVrG5rblz2Gk5kTnwnI6h53AmraHO6YNyoaV+rXHCfKDGzSFYbz/mUK/3/BMoe1XNi8Tnwz8f7gHieY3ePVsNzJ4txiupV8zplAScmw5wYH7KsuoHnM9232wlB4kPv92D6E3HI/7h9dpPHeh2o5k73aB4l6vSbUt7F1w/D+0jNT/AhF9X5k=
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get all bookmarks"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/bookmarks"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get all bookmarks
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"boolean"},"required":false,"name":"archived","in":"query"},{"schema":{"type":"boolean"},"required":false,"name":"favourited","in":"query"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false,"name":"sortOrder","in":"query"},{"schema":{"type":"number"},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","title":"Cursor"},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."},"required":false,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.","name":"includeContent","in":"query"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with all bookmarks data.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-all-highlights.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-all-highlights.api.mdx
deleted file mode 100644
index a2577cf4..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-all-highlights.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-all-highlights
-title: "Get all highlights"
-description: "Get all highlights"
-sidebar_label: "Get all highlights"
-hide_title: true
-hide_table_of_contents: true
-api: eJyNVU2P2zYQ/SvCnAl706NuRtGm2x6yQLfoYeHDWBpbjCmSGY42MQT+92Ik2ZY22qS+2KYe37z5euqhplSxjWKDhxI+khToXNHYU+PsqZEEBgRPCcoX+ON+uDeQqOrYygXKlx4OhEy866SB8mWf9wYiMrYkxGkApKqhFqHsQS6RoATftQdiyAaYvnSWqYbyiC6RAY+tIpxtrYABq8K+dMQXyGaFKQlbf1KdVpwe/NpxCj+krkbEknuv+BSDT5SU/peHB/1aFujT4TNVUny10rwpVFGj4AYMVMELedG7GKOzFerd7eekBCv6w0AJBiKHSCx2DD9rwR2LzHhR3UJt+jnHIYRzi3x+rL+vVzaQBFk+HY+JZLUz5OsfPK2CC7zWB/Jdq/NyIefCV9Cy1mDgxEQeDBxcRzpANR2xcwLlFZgNCH2TNUrfOYcH7a5wR9mAD0L/C2jXU+8S8TtVqZhQqN6tCMmLmXqZ13dZzXntpqwmzYOiW/x5tP19gm+bNkT09E2mmf55xm8ULhZ5RjQL9oQn61XDbL+zfgy0JE2ooYTTkEdE3W/YLkgT8et1yzt2UEKPdc2UUt5itNvXD2DgFdmqyGEqp8fjcl1noBGJqdxuhS+bMzKeieIGYwTzZgOfGyomhiIcC2mo+GvCF6MWVT8zqL914aZ9mNnUrZIaWfMYYFBOIB3U4cfvgVtUhX/++zy0w/pj0Oua9Sjpw+Zh8zAzoJue3dPjqv7d02NxDLwUr8lmAzEkaXGwismtVk15QdrfTecdCx9T1UHcRofWDzug3eqnri5GZW+gCUn0tO8PmOgfdjnr8eiV2uvaJu3o3VvPdJm59ivqmpcwePY72JsN38H7+6wMbxIDDWFNPIQcb+2qiuI8xHcuqyy30f342zMYwGXP3/R4YL9arL/MuPt+RDyHM/mc4Spd9D/kfc75P+nqe/Y=
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get all highlights"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/highlights"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get all highlights
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"number"},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","title":"Cursor"},"required":false,"name":"cursor","in":"query"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with all highlights data.","content":{"application/json":{"schema":{"type":"object","properties":{"highlights":{"type":"array","items":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}},"nextCursor":{"type":"string","nullable":true}},"required":["highlights","nextCursor"],"title":"PaginatedHighlights"}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-all-lists.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-all-lists.api.mdx
deleted file mode 100644
index 18531d85..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-all-lists.api.mdx
+++ /dev/null
@@ -1,63 +0,0 @@
----
-id: get-all-lists
-title: "Get all lists"
-description: "Get all lists"
-sidebar_label: "Get all lists"
-hide_title: true
-hide_table_of_contents: true
-api: eJyNVMFu2zAM/RWDZyHJdvQtGLai24AVW4YdghwYm6nVyJIq0e0CQ/8+UHYSJw22nSxLj+QjH8keaopV0J61s1DCHXGBxhRGR46ggPExQrmGr/l/oyBS1QXNByjXPWwJA4Vlxw2U603aKAgUvbORIpQ9vF8s5HMZ4dv2iSouXjU350hFjYwzUFA5y2RZzNB7oysUs/lTFNseYtVQi3LigycowWVvoMAH5ymwHiIP9M8wDAEPoEAztfHf5rqeYCIHbR8hKbDY0s2Hiwyv3xXYzhjcGoKSQ0dJga5uAZMCj4Es398If8PLAHgLJNu1olmLtkMDCmKLgUW8mnbYGYby+JYUPHcUDv8Vz3dbo6sJdOucIbTipcH4wQneBWQX4m1UFyl8d+avrN2rpSD/tWYnhxdNr/lmjL9JSfrsudOBarHQNYzajJWd1PFkdYPihM9GAWsWYrnTIV3HGBpqk1J+aYkbV0MJj5SbB2UAYH4cmkjhhaQG6x66YKCEHus6UIxpjl7PX95JWhi0lDeXanwepuWoUcPsYzmfczjM9hhwT+Rn6D1cNRysGipGD4XbFdxQ8WXEFwMXSWgyvD9kjIbI0xE+iSKRJY8MEwkzCNR4+ORCi8Lw868VSD203Tkxl6wHSu9mi9kCzlU98Vk+3N/kv3y4L3YuXJKXZKXxXOQW88QMI/hmTV0N4GmLvN1nQ4JMv3nuDeqhLUWjfpTxpLWCxkWWi77fYqSfwaQk1+PErDdnEfP6U9AQ1hSy7ns6QAnLqiLPWW3T5UV0vdREllM73X1cgQK8FOOq+Nn7ca3Zw8R33w+IlduTTQnUSILlH5I07x+0owYu
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get all lists"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/lists"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get all lists
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with all lists data.","content":{"application/json":{"schema":{"type":"object","properties":{"lists":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}},"required":["lists"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-all-tags.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-all-tags.api.mdx
deleted file mode 100644
index 50358c6f..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-all-tags.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-all-tags
-title: "Get all tags"
-description: "Get all tags"
-sidebar_label: "Get all tags"
-hide_title: true
-hide_table_of_contents: true
-api: eJydVU1v2zAM/SsGz0LS7uhbWmxFt8MKLMMOgQ+MzcRqbEmV6KyB4f8+0HK+0zTYSXFMPj6ST88tFBRyrx1rayCFJ+IEqyphXAZQ0B/pDKZyZgoC5Y3XvIF01sKc0JOfNFxCOsu6TIFDjzUx+dAHhLykGiFtgTeOIIXAXpsldAo8vTXaUwHpAqtACgzWEiHHozWM2kh9LZzeGvIb6NTHgArINLUQ7WEUNAGXcnqqaI0mJyFf0AKbiiEdXl+hEazn/ymPGhSUTY0GFBhrCLIrVZAZ85KKh83tta7A5Y0P1t8AZZp6ThJomqrCeUWQsm/oCnSla306kEzCg7MmUBDwL3d3chzr6ef8lXJO/moud7pKCmQcgYLcGibDkoXOVTpHyRq/Bkm9wNv2YKDAeevIs46Fo0h3Ueg99gNlqsPn2bq4OOTY+KUXTf1g7apGvwrnMz0JeNhMhh1P+7DPyKC+CBkVdf6m6452NpNm1PYOHBG9SitTwJpFBnLRQUANvfNj1NMFuZ/o5oTE4B0HEFkXqdbEpS0ghSX1vaNYB4yHhEB+vbWOxleQQotF4SmEboxOj9f3oGCNXkvpOK74Ospue7lLZhfS8Zj9ZrRCjysiN0LnQJ1oc1pSMiAkdpFwScmPIT6JXGTCB673SwQZKx96324+Uln66MMgHYJADT++WV+jMPz+Z9oPWZuFlXTpOlK6H92N7mC/jh2fycvzRf6Tl+dkYf0xeWm2U+Bs4EE3wzU+cfcjuHZ/Hc++ArE9pnceuwq1EfR+Q+2ww2HpmYLSBpbntp1joN++6jr5O3qGbLbQQfa3t5gVbc6Nf41VIzV7A/sgZTDpW0KPnPaWhJ2X3hK8dcd9bLYXav9tVFASFuT7CcSkSZ6TO8w6s0BB2d2Yp69TUIDHgjsRWI++dUFz2GrbxoipXZHpOtgyZ3mGTu7nPyWsuhQ=
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get all tags"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/tags"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get all tags
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string"},"required":false,"name":"nameContains","in":"query"},{"schema":{"type":"string","enum":["name","usage","relevance"],"default":"usage"},"required":false,"name":"sort","in":"query"},{"schema":{"type":"string","enum":["ai","human","none"]},"required":false,"name":"attachedBy","in":"query"},{"schema":{"type":"string"},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"limit","in":"query"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with all tags data.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"numBookmarks":{"type":"number"},"numBookmarksByAttachedType":{"type":"object","properties":{"ai":{"type":"number"},"human":{"type":"number"}}}},"required":["id","name","numBookmarks","numBookmarksByAttachedType"],"title":"Tag"}},"nextCursor":{"type":"string","nullable":true}},"required":["tags","nextCursor"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-asset.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-asset.api.mdx
new file mode 100644
index 00000000..7d70d0eb
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/get-asset.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-asset
+title: "Get a single asset"
+description: "Download an asset's binary content. The response Content-Type header is set based on the asset's MIME type."
+sidebar_label: "Get a single asset"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9VduO2zYQ/ZUB89DE0NqbokUDPRRwrtgmAYJkF0WxWcBjaSSxpkiGHO1aMQT0I/qF/ZJiKNnrzW7zWL/YJofDM2cOz+yU8xSQtbNnpcpVTbyMkVhlqqRYBO1lS+XqpbuxxmEJaAEl4ocIa20x9FA4y2R5DucNQaDonY0EL8bVk/PeEzSEJQXQESIxrDFSCc4CN3RI9v7s/Svg3tNcZYqxjiq/VAlLVFeZilR0QXOv8sudWhMGCsuOG5VfXg1XmfIYsCWmEFNALBpqUeU7JRlVriIHbet7VQnizuovHYEuybKuNAVw1S0yQUNbbL2RNJp0abZ93d78+ewXt/36c7NldsUzgaw5hSTIZ6UaMhXoS6cDlSrn0FGmLLYSgVNEprRg8MiNkhr21EXB/ePpqXzdh/s98h/iPFBlqOD4MNnwmOb1PAPdYk0Lb+sM0HujiySJhS+rJ3Mp5afTp/fhXFjsuHFBf6US/vnr73TF89QbYLchKw1vdYxa8mp7jUaXGbgAtPVCjJA7FZB6RVteeINCy/d6eNuPYwRqkE+mWuLGTVpW2Uhvrhap9LjYTewPSjQVrveK6YJRudphWQaKcVig14vrpypT1xg0rs3YlWl7pKLCzrDKVcPsY75YcOjnGwy4IfJz9P5BtU0Z9hp7O8XDiEVqOBL7J6FgvPlY8gdG5GapI4WpfApS2fTjtQstCsLffj9XQo22lZPjUvUI6en8dH56pN4DnuWHs3v4D5s6AkIkU500LrKwA2vnNi2GjbY1oC0hEJYnmk8MMoVUnS5IVKqj5AY0xt1E6F0H7KBFi/VtkpiB0ZFjBmIEGTS6boyuG1kZ+5ilS9ZYbDofwQdXB2xbZF2gMf38s/1sHz0CoUte9ahmWVwaA2RL77TlCNMDBbyrWi93lKBHg1otJ4mlJKvpXc3hD9dBgRZqsuKgJM4olW2ohyq49m5/b2gNF2fQWXmTs9knYta2jvBrOvOW+jib7WF/wFrbA+R3OvIR5th57wJD0YXowsnopf5wAq41wmrcXCWSVka3mlfwpaPQw61RfuPX2hamK0k6u7K05RdTikqTGV+30AKaAUcvOVxySCmdrIiLJu1LEgFGc1jCynbGrOAaTUdQuXD3Dm1L6RGlxNKPQGAdtC4kgJ3huOfm+SQREI+LsrhfiakbawJnaXxegSiZXMw/2xOYzYy2m9ks1bKEi4/vDnqDG80NuKRzNFAEvDFUQkuMJTLOx+NiT4fjyaZAlsA6pikkiXMfY6HzMjKphEobgsfJZMX+Prx8Pdqqd5FbTHY3DYc3xPK2tK3NZNffPsPdrWX+31N5dJ0jmx6y0Th3k81ejsMtqkzl+zF3lSlxCdnc7eSSi2CGQZaTImWC37ps8uJSR/ldqrxCE+k79T/+OI3YJ/Bf+KZFtH0yc9PJP5WpDfVHs3i4GjI18pEgjLvLoiDPR+eOU18djZo3r85VpvCuO3/jxinvg2h2uzHiXNxnGA7gkhsJtGH4F4TkX+M=
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get a single asset"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/assets/{assetId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Download an asset's binary content. The response Content-Type header is set based on the asset's MIME type.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the asset.","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The asset's binary content. The Content-Type header reflects the asset's MIME type (e.g., image/png, application/pdf)."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-backup.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-backup.api.mdx
new file mode 100644
index 00000000..b297d4f0
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/get-backup.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-backup
+title: "Get a single backup"
+description: "Retrieve metadata for a single backup, including its current status (pending, success, or failure)."
+sidebar_label: "Get a single backup"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9Vu+KGzcQf5VB+ZKYPftSUhr2Q8FJk3BNCiG5o5TLgce7Y69irbSRRnfnmIU+RJ+wT9KOdr322U4pFPrJa41m9Jt/v5mNcg15ZO3sRalytSR+gcUqNipTJYXC60ZkKlcfiL2mW4KaGEtkhIXzgBC0XRqCedLKQNvCxFLbJWgOUETvyTIERo4BHjdkRZZBiEVBIWTgPCxQm+jpyVhlinEZVH6tOhBB3WQqUBG95rXKrzdqTujJTyNXKr++aW8y1aDHmph8SBdCUVGNKt8oXjekchXYa7s8cueyIohWf4kEuiTLeqHJg1sAV1tnBA/dY90YsaNJl+Z+vazvPj//wd1//b66Z3bFcwGtOV3pQF+Uqs2Upy9ReypVzj5SpizWcmW+vZIpLTAa5EqJG55C42ygINC/Oz+Xn2PEYpUCU7kHsXCWybIoYNMYXaRsTj4H0ToREDf/TAWr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4f1Pr58ktmxc4BoTUfe7yxviw33vsA83O87/vxbGjm72BpssLcKYm55hr/ulS+Z+PuxfN5kSghDxZiOVeuVN28pxKkbZLncEm2i41EG+S5Uv0AT6B88ff+iHwxP4FsL+EO068biJ8k9lakXr/S2xlQWl6+qEoRNPi4Ia3lM8mq7C1MO4efPqUlaTh/x8wMfJ+klQm01341L4p20HjImPBGDb/gWcCEi2
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get a single backup"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/backups/{backupId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve metadata for a single backup, including its current status (pending, success, or failure).
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the backup.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BackupId"},"required":true,"name":"backupId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The requested backup.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"assetId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"size":{"type":"number"},"bookmarkCount":{"type":"number"},"status":{"type":"string","enum":["pending","success","failure"]},"errorMessage":{"type":"string","nullable":true}},"required":["id","userId","assetId","createdAt","size","bookmarkCount","status"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Backup not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-bookmark-highlights.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-bookmark-highlights.api.mdx
new file mode 100644
index 00000000..0b9d4b19
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/get-bookmark-highlights.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-bookmark-highlights
+title: "Get highlights of a bookmark"
+description: "Retrieve all text highlights within the specified bookmark."
+sidebar_label: "Get highlights of a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJylVm2P2zYM/iuE+qUNfMl16LDCHwakW9vdOmCH9g7DcD0gjE3bamTJleTcuYGB/Yj9wv2SjfJLnEvaFeinBBZFPSQfPuROmIosemn0RSpikZN/YcymRLv5ReaFknnhnYhESi6xsmI7EYu35K2kLQEqBZ7uPRSjMdxJX0gNviBwFSUyk5TCunc6F5HwmDsR34jhISduI+Eoqa30jYhvdmJNaMkua1+I+Oa2vY1EhRZL8mRdMHBJQSWKeCd8U5GIhfNW6vwI6FVBUGv5sSaQKWnPYCyYLKCbYqJ7LCvFniTJVN03eXn34fkP5v7T98W99yZ5zsClDyYD8ItUtJGw9LGWllIRe1tTJDSWbLTeG0VCMpgKfSE4GEuuMtqR4wC+Oz/nn2Pcp1Iq3QHqxGhP2vN9rColk1DIxQfHTk5kyaw/UOJFJCrLZfeyg7B/aWKL1mLD0D2V7v99TMI9qkobCefR+t+zzJGfnOu6XJPlc9LpF04To4w9VW3SdclUakgpcyc4tZzu3BJpEYm1qonJlVKGtfIiHgzbSDBtT7nUtVK45j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8O3kiwJLD9bsfcvLaqbflzoB+vx3tJDcKbSsf/UxFnqBx9IcTHb/vp8AQ+B3nYBXUTlJvXqViISGyoOVxx29s2El0nBxSdwTJJqPKTq0cDltV5nDivX16JSOChJj/Q4OD9JKzdrrO4Ys1p2xFl0CAG2Lb/AidXhhI=
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get highlights of a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/bookmarks/{bookmarkId}/highlights"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve all text highlights within the specified bookmark.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The highlights within this bookmark.","content":{"application/json":{"schema":{"type":"object","properties":{"highlights":{"type":"array","items":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}},"required":["highlights"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-bookmark-lists.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-bookmark-lists.api.mdx
new file mode 100644
index 00000000..76454c01
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/get-bookmark-lists.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-bookmark-lists
+title: "Get lists of a bookmark"
+description: "Retrieve all lists that contain the specified bookmark."
+sidebar_label: "Get lists of a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJylVttuGzcQ/ZUB85IIa8kpUjTQQwElTQI3fTAcG0XhCNBoOdIy4pIMyZWtCAv0I/qF/ZJ2uBddmwbIk1bkXA7ncma2wjryGJU1V1KMxZLiK2tXJfrVbyrEIDIhKeReORYRY3FD0StaE6DWoFkEYoERcmsiKgOxIAiOcrVQJGHe2hqKTERcBjG+F539IKaZCJRXXsWNGN9vxZzQk59UsRDj+2k9zYRDjyVF8iEJhLygEsV4K+LGkRiLEL0yyxOQtwVBZdTnikBJMpHBeLCLhG4fEz1i6TRbUqSkftwsy4dPL3+yj19+LB5jtPlLBq5iEumAX0lRZ8LT50p5kmIcfUWZMFiy0HwnlAnFYBzGQvBjPAVnTaDAD/jh8pJ/TnGfjakKB7D5gkxkA+icVnlK4OhTYCtnwmTnnyiPIhPOc7qjajAkV3ti6D1uGHakMvy/upKnmai7QJy5OHjraQpNpTXOOdIc0DoTKj8nWKeqIBOvzrg/Y6UROBUkU5VcjiWaCrXIR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Q2xBITZbd72zuK7eplF4A9wuNe3O4mwPeswg2N7A0vHvvMhNuWQ+/7RZIJc3ywVbZTNhNMAiy63XI13nld13zc7ir30x2JJqqVKvC3FOMF6kBfednTm3YUPIP/QtutjGaTuFpX/E9kYkWbwy24nvLik3o3oWgEJnlOLu6pnkxT5uN+vLx7cysygYcsfMS6yfpZWNttI3HLLFPXPcrEOgywrv8BsYyNGA==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get lists of a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/bookmarks/{bookmarkId}/lists"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve all lists that contain the specified bookmark.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The lists that contain this bookmark.","content":{"application/json":{"schema":{"type":"object","properties":{"lists":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}},"required":["lists"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-bookmark.api.mdx
new file mode 100644
index 00000000..221dd6aa
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/get-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-bookmark
+title: "Get a single bookmark"
+description: "Retrieve a single bookmark by its ID, including its tags, content, and assets."
+sidebar_label: "Get a single bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJzVWN1uG7cSfpUBe3ESYy07Bz1ooYsDKEl/fJqeGrGNg8IRoNHuSMuIS25IrmRFWKAP0Sfsk/QM91fWOpGT9KJXEpbD4Tc/nBl+O2Fysuil0ReJGIsl+efGrDK0KxGJhFxsZc6rYixek7eS1gQITuqlIpjXojDfgvQOLl5GIHWsikTqZfjicekiiI32pH0EqBNA58i7kYgEL4rxrWhOdGIaCUdxYaXfivHtTswJLdlJ4VMxvp2W00jkaDEjT9YFARenlKEY74Tf5iTGwnkr9fIA+3VKUGj5riCQCWkvF5IsmAX4tDODMdEdZrliTZJkou62y2zz9ttvzN37f6V33pv4WwYufRBpgF8kooyEpXeFtJSIsbcFRUJjxkLzTigSksHk6FNRRgPo58YoQh3gL7BQvtG1b83FAhx58AbC6p4R/3CwKJRqfA5Pfrz++VUEnu58BOTj0VPYSKV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mkvjznYdw1BykpFdN/RImEHFDpPEknPlGebybP2Mrx5ayRiDp+rlKj417SBS73M3PjvzdjtaocUVUT7CPB+kVmoNDaHyUy0PFRa2pMfsXHEAq5P7/E7rXj45lBgW46dhEOI6Ef58b2yGjPA//7sOPpV6YXg7W11BejY6H533eJoWz+Ty4gB/uygdM1ukFqepcT5EsPEs01nMXXFoT6U/VchEAlsnYxrBdSod6wZUymwcbE3B1EOGGpedEheBks67qGbFUrlMAyfhopoUqwiyOcarIneQW7O0mGXoZYxKbUdv9Bv91VfA7mIKq7oX/HGiFJBOciO1d1DnGOD+pc/5jJYnmU3qGxqUzCAlTMiO4FdTQIwalqSZFyRAHSxb0RYW1mT78d3QHG4uoNAJWTg5uSLvpV46+HfY8xNt3clJA/sSl1K3kF9J53uYXZHz2xPiwjpjT+fIUPN2B6wlwqxanAUnzZTMpJ9BYGGgYwU5GB0L1NBDHNmZpjv/olaxkKSq4shuAekBXeWX5pBWZSCRyMdpWGclDIxGMIEZd5UZrFEVFcW0d4bUCceIgmKOhyXQBjJjA8BCedf4pi2E3H4cf2w50RCNOYHRVF0vSwR8U9z4jT6FkxNuzicnwZYJ3Lx+1bGyG+lTMCHPUUHdUluqa1Rt5+rebg9VPvBsXJKpFgnJ2choKOo2DNxv4UmYAbl7XL78/mmomLlxnp/i413DoP1A/pA1vn8Td13l/wu45qq29HpZ90SvSuptO4dwEx73aNtpJLgisMhux6l5Y1VZ8ueKA+RKm0jHFeMBtrNv2t+B+Bz01oq2Q2RoyH4xFoEKbfrKI33y5HXdF5/CQ6c3U6/e9s9sUPWiFablqpwFFJXAJI4p78M9GC0Yfttrf/juWlQP2j5Hud+I+mTRPqzdrpK45sJbli3KUIgZYFn+CQ2F30A=
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get a single bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/bookmarks/{bookmarkId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a single bookmark by its ID, including its tags, content, and assets.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"boolean","default":true,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."},"required":false,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.","name":"includeContent","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The requested bookmark.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-bookmarks-in-the-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-bookmarks-in-the-list.api.mdx
deleted file mode 100644
index 950c7c4b..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-bookmarks-in-the-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-bookmarks-in-the-list
-title: "Get bookmarks in the list"
-description: "Get bookmarks in the list"
-sidebar_label: "Get bookmarks in the list"
-hide_title: true
-hide_table_of_contents: true
-api: eJzNWN1v2zYQ/1cEvmwDhDgdOqzQW1psXfbRBmuKPQR+OEsnizVFquTJiWvofx+OlCXZkR25DbA9xRHv83fHu+NtRYYutbIiabRIxFukaGHMqgS7cpHUERUYKelIxIJg6URyJ/6UjpyYx8JhWltJG5HcbcUCwaK9qqkQyd28mceiAgslElrnCVxaYAki2QraVCgS4chKvRSxwAcoK8WfJMpMPWyW5f2nVz+bhy8/FQ9EJn3F2iV5EtZ+nYkmFhY/19JiJhKyNcZCQ8kEKhDEQrJDFVAhmvikel2X7Be4VMQeD3YuwxxqRSIJX/b05aBcr9AZS+9thnan83ONdjOuVNflAu0paUqWkiZI6szfAfOmts6cFJ0GiqdlL4xRCFoMUAgQ7yfLdR45pIhM5E+7xPnORanRhJqie6lUtMBI6lTVGWa7lLLoKqMdXkTvDGEcUSF7phQ08yiwS4xyYyNnSuzT8mLUx/+JaR3Yrdg3gfEA9Dk7ENQ4xv3Hy0v+s+/D+8UnTNlOKvwVjDIgYA2tMcwBVaVkCswx++SYbSScxgsSsaisqdCSDEo7qwekYC1s2FjC0j0tQmaPM7KJRWoRCLMrGj0tTSZzOX4cC10rBQvOaI5c0+X3BEqwaSHXmI1k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NPFRyP7DpcxoRIJXjxY1vXfz/mKNY37U1e//bkvBD9Ex7bt+qjdDnX1cwpqTG0yBwAFlC8LhVZpiNTT1Ualj07tS8/aXWxHG5OHmY/8WDp+g+yZtt4Hi1qxQN01nIfH/bGDT/Au5qa9K
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get bookmarks in the list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/lists/{listId}/bookmarks"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get bookmarks in the list
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false,"name":"sortOrder","in":"query"},{"schema":{"type":"number"},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","title":"Cursor"},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."},"required":false,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.","name":"includeContent","in":"query"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with list data.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}},"404":{"description":"List not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-bookmarks-with-the-tag.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-bookmarks-with-the-tag.api.mdx
deleted file mode 100644
index 8467fd98..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-bookmarks-with-the-tag.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-bookmarks-with-the-tag
-title: "Get bookmarks with the tag"
-description: "Get bookmarks with the tag"
-sidebar_label: "Get bookmarks with the tag"
-hide_title: true
-hide_table_of_contents: true
-api: eJzNWF9v2zYQ/yoCX7YBQpwOHVboLS22LhvWBquLPQR+OEtniTVFquTJiWvouxdHypLsyIncBtie4oj393fHu+PtRIYutbIiabRIxFukaGnMugS7dtGdpCKiAiOCXMSCIHciuRVz/ruIhcO0tpK2IrndiSWCRXtVUyGS20WziEUFFkoktM4TuLTAEkSyE7StUCTCkZWa5eI9lJXiTxJlpu63eXn36dWv5v7LL8U9kUlfsXJJnmQO+XUmmlhY/FxLi5lIyNYYCw0ln5M/j4VkdyqgQjTxo8p1XbJT4FIRezTYtQxXUCsSSfhyoG4FyvX6nLH03mZo9zo/12i340p1XS7RPiZNyVLS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MonPNDCo527zghAYrGXJvenscoNqvMAqiyiWzGdntxRosrBGrC6gqcfxunhcYtRIis/Lv4b9a+ijYwtEYbH4+MKLte3Kw/+ngYc3+4jIZP7g8Ed8+/+N3Y0tgC//8d+4xlHplmJ29Dia9uLi8uBzsOTp7rm6uR+2/urn2T/MD49lZHgCMIx7Xk93+nf7ovutoFO6y64ktWXCdm+OsUiD987Kdy0PEb/eXLtkvq/qgL2JRGEdMtNstwXE7ahr+HJYHnAqZdBzwfvuxxu3RJmoDqmYr/IbnBP1+1zSFtlsePU58ErH/cCMzGo/g1YMtTe/dor9Y45ifdPXHf9pC8FN0Svu+mertUOfeqpAUvv8WCBxPNiCcXaUpVkNLH9Q5tryrM29/m4swIg+3HoeXcPj8PLRotwsUc7NG3TS9gfw/G9g0XwGixqv5
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get bookmarks with the tag"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/tags/{tagId}/bookmarks"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get bookmarks with the tag
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc"},"required":false,"name":"sortOrder","in":"query"},{"schema":{"type":"number"},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","title":"Cursor"},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."},"required":false,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.","name":"includeContent","in":"query"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with list data.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}},"404":{"description":"Tag not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-current-user-info.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-current-user-info.api.mdx
deleted file mode 100644
index 529bfc4f..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-current-user-info.api.mdx
+++ /dev/null
@@ -1,63 +0,0 @@
----
-id: get-current-user-info
-title: "Get current user info"
-description: "Returns info about the current user"
-sidebar_label: "Get current user info"
-hide_title: true
-hide_table_of_contents: true
-api: eJyNUz1v2zAQ/SvCmwnL6ajNQxukHRq0DjoYHs7S2WIsiQx5SmsI/O/FUUZiJxmiRRJ5H+/eezeh4VgH68W6ARV+sYxhiIUd9q6gnRulkJaLegyBBynGyAEGQoeIaoOHyCFiaxC5HoOVE6rNhB1T4LAapUW12aatQeDo3RA5oprwZbnU13Xfn7tHrqX4a6XNTYqGhBYwqN0gPIhmkPedrUkzyseoaRNi3XJP+iUnz6jgciEY+OA8B7FzU9tcxEQJdjggGQzU8/sLg2HsOtp1jErCyMmAe7LdpyJtT4fP1excTZ1SeBG9c65jGpCSsvY02sCNMm0bXCZskz4GPUvrGlQ4cJ6ZlHOUymAse4YqE55VJBVmDB0qTNQ0gWNMJXlbPt/A4JmCVWiZqvP1rNGexk5QoRXxsSpLCafFkQIdmf2CvId5I+S65eJcoXD7bJ4f5/hixoKU0oVlfquCc+dL47wwop11jhymDOUgmPPHNxd6UoTf/6wza+pcTdepZ0g3i+Viqa61ouzjBc/q/u5D/Kv7u2LvwjV4HTYZeBelp+y92Ty4Zbnaj7w7b+tOr0b+7I7N4wv/k9J3ZAftnhWczjpvkHWG2kCXsHVR9HSadhT5IXQp6fHTyEEXc/uqc95Lg5apUfdtJhz5hAqrumYv2RDdqN3frZwq92K6269rGNC1Xm/0ydXPVzScLmpP0xyxdkceUoI5gxD9R1KL/wcmvpVd
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get current user info"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/users/me"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Returns info about the current user
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Object with user data.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"image":{"type":"string","nullable":true},"localUser":{"type":"boolean"}},"required":["id","localUser"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-current-user-stats.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-current-user-stats.api.mdx
index 63486eba..49ba72d1 100644
--- a/docs/versioned_docs/version-v0.31.0/api/get-current-user-stats.api.mdx
+++ b/docs/versioned_docs/version-v0.31.0/api/get-current-user-stats.api.mdx
@@ -1,11 +1,11 @@
---
id: get-current-user-stats
title: "Get current user stats"
-description: "Returns stats about the current user"
+description: "Retrieve usage statistics for the currently authenticated user, including bookmark counts by type, top domains, tag usage, bookmarking activity patterns, and storage usage."
sidebar_label: "Get current user stats"
hide_title: true
hide_table_of_contents: true
-api: eJylVktv20gM/isCz4Ll7FE3F32lu4sWGwdFYfgwkmlramlG5VBuVEH/veBItiXF3iTNKYr5+kh+Q7KBDbqUdMnaGojhP+SKjAscK3aBSmzFAWcYpBURGg4qhwQhsNo5iFdw75AcrENwmFakuYZ41UCCipAWFWcQr9btOgRCV1rj0EHcwF/zufwZB/6cfMeUg5+aMx+kQzCDEFJrGA2LiSrLXKdKTKLvTuwacGmGhZIvrkuEGKz3BCGUZEsk1l1UUxVvrN0XivZuoG2qIkGCNpSv9+pgSTNeVVhQmukDbq7Jl74ul2X/aMdXhR/1Lsv1LruikRyRv6mXXvZUtrk2+4ueGB/4okA5h5ckrXTvR6VJsl51jns3R6O1+LXlW1sobYYJKCJVQwiasXBPg954BwM9x6TNTtCltjLPQNd7OOoLsEI93Hbhb+YeJ6t8IbDv9C+8XonHlX5hMjy2fjqVHtsVWJNEvfToa2i5bgd00Wa3SFkf/MN8EnCm3VfEK7TJtPvXGnnRV6TfUNFl7tYfbUV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aIRxIxzHII2NLjSP4VNFXtYBjwUx+SDJIFjP8+3eQZLZsaV7WXSiiakm07xtCQtoBgxNXNaXbExKJqfEaR7lYkSAUR9GMBa2HsMCTUVxD9i5Q9ss7kDRsOTDE1gHhfMRYGU4rGOzZlMQQgvy54ZfYzYmBM5S87w8UdyYwvCDPYFeTybbXi/6MoLrt6+3G9ad5hxcrHM0kHq8kwWmIMYMGfuNupDTRj2SFMhfYB1TeyQW5/qMhao0DjPKQNoM/KQLKXLn4c3585/70m9LF7hAu+3J6gXxzn4E4dCWudyS5v9u4Wyoq8P0q6Rh32XL1DcqMrU0bulITQBuEyVcI9LlUor+2pvVSv6OdS3r6Zar47KaqOalRnqfU62GapSmVHIkdVPFYWR/3RT23bSPF79fSQfd5dw9jo3W16ONrTu2l8vmxJVwymqlkhZE5Bi1krb6H6wyvyg=
sidebar_class_name: "get api-method"
info_path: api/karakeep-api
custom_edit_url: null
@@ -36,7 +36,7 @@ import Heading from "@theme/Heading";
-Returns stats about the current user
+Retrieve usage statistics for the currently authenticated user, including bookmark counts by type, top domains, tag usage, bookmarking activity patterns, and storage usage.
<ParamsDetails
parameters={undefined}
@@ -54,7 +54,7 @@ Returns stats about the current user
<StatusCodes
id={undefined}
label={undefined}
- responses={{"200":{"description":"Object with user stats.","content":{"application/json":{"schema":{"type":"object","properties":{"numBookmarks":{"type":"number"},"numFavorites":{"type":"number"},"numArchived":{"type":"number"},"numTags":{"type":"number"},"numLists":{"type":"number"},"numHighlights":{"type":"number"},"bookmarksByType":{"type":"object","properties":{"link":{"type":"number"},"text":{"type":"number"},"asset":{"type":"number"}},"required":["link","text","asset"]},"topDomains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"count":{"type":"number"}},"required":["domain","count"]},"maxItems":10},"totalAssetSize":{"type":"number"},"assetsByType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"number"},"totalSize":{"type":"number"}},"required":["type","count","totalSize"]}},"bookmarkingActivity":{"type":"object","properties":{"thisWeek":{"type":"number"},"thisMonth":{"type":"number"},"thisYear":{"type":"number"},"byHour":{"type":"array","items":{"type":"object","properties":{"hour":{"type":"number"},"count":{"type":"number"}},"required":["hour","count"]}},"byDayOfWeek":{"type":"array","items":{"type":"object","properties":{"day":{"type":"number"},"count":{"type":"number"}},"required":["day","count"]}}},"required":["thisWeek","thisMonth","thisYear","byHour","byDayOfWeek"]},"tagUsage":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"number"}},"required":["name","count"]},"maxItems":10},"bookmarksBySource":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"count":{"type":"number"}},"required":["source","count"]}}},"required":["numBookmarks","numFavorites","numArchived","numTags","numLists","numHighlights","bookmarksByType","topDomains","totalAssetSize","assetsByType","bookmarkingActivity","tagUsage","bookmarksBySource"]}}}}}}
+ responses={{"200":{"description":"Detailed usage statistics for the current user.","content":{"application/json":{"schema":{"type":"object","properties":{"numBookmarks":{"type":"number"},"numFavorites":{"type":"number"},"numArchived":{"type":"number"},"numTags":{"type":"number"},"numLists":{"type":"number"},"numHighlights":{"type":"number"},"bookmarksByType":{"type":"object","properties":{"link":{"type":"number"},"text":{"type":"number"},"asset":{"type":"number"}},"required":["link","text","asset"]},"topDomains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"count":{"type":"number"}},"required":["domain","count"]},"maxItems":10},"totalAssetSize":{"type":"number"},"assetsByType":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"count":{"type":"number"},"totalSize":{"type":"number"}},"required":["type","count","totalSize"]}},"bookmarkingActivity":{"type":"object","properties":{"thisWeek":{"type":"number"},"thisMonth":{"type":"number"},"thisYear":{"type":"number"},"byHour":{"type":"array","items":{"type":"object","properties":{"hour":{"type":"number"},"count":{"type":"number"}},"required":["hour","count"]}},"byDayOfWeek":{"type":"array","items":{"type":"object","properties":{"day":{"type":"number"},"count":{"type":"number"}},"required":["day","count"]}}},"required":["thisWeek","thisMonth","thisYear","byHour","byDayOfWeek"]},"tagUsage":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"count":{"type":"number"}},"required":["name","count"]},"maxItems":10},"bookmarksBySource":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"count":{"type":"number"}},"required":["source","count"]}}},"required":["numBookmarks","numFavorites","numArchived","numTags","numLists","numHighlights","bookmarksByType","topDomains","totalAssetSize","assetsByType","bookmarkingActivity","tagUsage","bookmarksBySource"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
>
</StatusCodes>
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-current-user.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-current-user.api.mdx
new file mode 100644
index 00000000..e660babe
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/get-current-user.api.mdx
@@ -0,0 +1,63 @@
+---
+id: get-current-user
+title: "Get current user info"
+description: "Retrieve profile information for the currently authenticated user, including their name, email, and avatar."
+sidebar_label: "Get current user info"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9VcGO20YM/RWCObQ1tPam6EmHAk7bBGlyCJJdFMVmAdMSLU08mpnMUN51DQH9iH5hv6TgSOu1sznk1JOEGQ75SD4+HtAHjiTGu9c1ltiw/NLHyE6uE0cssOZURRPUAEt8zxIN7xhC9BtjGYzb+Njl97DxEaRlqEYHdg/US8tOTEXCNfSJYwHGVbavjWvU1kRw1HEB3JGxBZCrgXYkFOdYoFCTsLxBhZLwtsDEVR+N7LG8OeCaKXJc9tJieXM73BYYOQXvEicsD/jj5aV+zvFfPcLLcL5LX8tEY1feCTtRFxSC1RSMd4tPSf0cMFUtd6R/sg+MJfr1J64ECwxRKypmRGHqE5sk0bgGhwI16acXBbreWlpbxlJiz0OBuS7fZGk6ar7Np/UV2dzeR+u195bJ4TBoGT/3JnKtpTc1nj64HQa1+Ony+dPaXjttt4/mL67h37//yVx4kZsE4rfswCToTErGNUqDHVlTF+Aj8H3QeF+UXfheFsGS+XrBj/nxPXVB0ztDgMMItWNp/cRs7Q4pXXChzU+LjlFJFXfKL+VUHy2WeKC6jpzSsKBgFrvnWOCOotEi5qZO12MJNtRbwRJbkZDKxULifr6lSFvmMKcQnsyQcnDyAH6Tq/RmsocRi2I/YfsHTX2MfMr5YyU0suaRzbSX2QiL6edlpjWW+PsfV7m/ynR9rlmPkJ7PL+eXOnBGciGPeJbvXj/Bf7w0CQgS281F65NodWDt/bajuNXx1lmOTPWFkQtLwjFnZyqew1VrkvoGstbfJdj7HsRDR46aRyepAGuSpAJUCApoTdNa07R6Qilx/roa1lRt+5AnuYnU6QxXZO1+/tF9dM+ewfJRhYx3eri0FtjVwRsnCSa+A52zNWiMGozLLVotJ2plJytomWqOc/jT91CRg4ad6igDuZzZlvewib477+8dr+H6NfSu5giz2QcWMa5J8HN+84b3aTZ7gP2OGuOOkN+aJCeYUx+Cj6Jilny8WJNCDccXsDMEq/FylYu0sqYzsoLPPcc9BIrUsXBM2gyGB+Wc1Jm1syvH97oMsouNYTtOtZYFjAClsS4PQY4utZMblqrN9+pEgfEclrBSLVrBjmzPeV2cxTCuzpsiO9Z+RAbnofMxA+ytpIfavJgoAlf7wEkPH05S7saawTsexysyg05KKj+6C5jNrHHb2SznsoTr92+PfIM7Iy34zHOyUEW6s1xDx0I1Cc3H5ypLx+dZnkCPwHnhySST88HGQR+sp5pryHvm+yzUKnvvfn35w1y3QfBJOsoyNy4GfMVytqfydvpyEg+Pavl/L+ZReE4UeihG7TxMCnuDWWFRBVg3tyqEnh4OStXraIdBjzMbdX0/Kmxe5gWO85VFect7LHFZVRwkS7HtNfqTtayaeZT7V79dYYF0rpRfKGP2Pl2R25/4PhxGiytVgmHAYgKRlQEHXYP/ATixQLA=
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get current user info"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/users/me"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve profile information for the currently authenticated user, including their name, email, and avatar.
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The current user's profile information.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"image":{"type":"string","nullable":true},"localUser":{"type":"boolean"}},"required":["id","localUser"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-highlight.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-highlight.api.mdx
new file mode 100644
index 00000000..6b24ba01
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/get-highlight.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-highlight
+title: "Get a single highlight"
+description: "Retrieve a single highlight by its ID."
+sidebar_label: "Get a single highlight"
+hide_title: true
+hide_table_of_contents: true
+api: eJylVm1v2zYQ/isH9ktrKHY6dFihDwPc9WVZCyxoEwxDGsBn6SyxpkiVPCVxDQH7EfuF+yXDUbIsJ27RYZ8kkHfH5+65e8itcjV5ZO3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cxsTRtYeVcd8ntLS7g8g8bm5GEy+UDM2hYBfo4+b2kTJpMd7HMstB0gv9OBR5hDU9fOM2SND86fLFGg1oMH3GiERbe5iEVaGF1pXsDnhvwG9s8EIUMu0O6aBW0z0+QkzC4s3fEvfYiVJtPpo5QFNAOGri67Q4aQwuSKOCvjvgQRYDSFOSzkYlnADZqGYOX84Rna5sIRxcDChyewDirnI8DGcNjV5kXfInCxqSnI4m4lRDaWBM5SN16eCGRSQvrRnsBkYrRdTyYxlzlcvn839Bvcai7BxT5HA5nHW0M5VMSYI+O0cxeBH9yj0IMsiShTbxKbc2djoamNw5xyWGlD8FhX0uTOw/nL10+iZtYucIVRrvsn0RviI+/D+6O43Yv/f3hWdqIxuqfkIhfd2/ZqebV/kQWVqHT8PrtOlAy7GG230nWX3rStLMfGkmfoXiyjpOY6yH+u0hWaQN9I4fH7Xu6fwNdw9otoN1GT5Q2UKpWoNW3uPSTb6zZR3ZBGGJ3FPMuo5pHvgytThHe4Q968ulCJwkO5vSevMfpRXNttZ3EhctK2A8woLwKwbf8FIl9Czg==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get a single highlight"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/highlights/{highlightId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a single highlight by its ID.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the highlight.","example":"ieidlxygmwj87oxz5hxttoc8","title":"HighlightId"},"required":true,"name":"highlightId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The requested highlight.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Highlight not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-highlights-of-a-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-highlights-of-a-bookmark.api.mdx
deleted file mode 100644
index 02f4a0c4..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-highlights-of-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-highlights-of-a-bookmark
-title: "Get highlights of a bookmark"
-description: "Get highlights of a bookmark"
-sidebar_label: "Get highlights of a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVcGO2zYQ/RVhTi1ArJwiRQPdXKBNNzk0aLboYeEDLY0triWSGY42dgT+ezG0bEm7SjaHnCyTj8M3b94Me6gwlGQ8G2ehgLfIWW32dWP2NYfM7TKdbZ07tJoOoID1PkBxD78PSwE2CgKWHRk+QXHfwxY1Ia07rqG438SNAq9Jt8hIIQFCWWOroeiBTx6hgMBk7B4U4FG3vpElg6Zqjqd9+/nhzW/u+OXX+sjsyjfCwHCCXBjcVhAVEH7qDGEFBVOHCqxuBbQdQQqM5Oc11yCsCIN3NmAQJr+sVvIzl+KuxqwxgUWEURJQUDrLaFlOaO8bU2o5kT8EObaQoNs+YMmgwJPzSGzOl05ijlhNpE9ClrENL8eYJPhM0KggsCb+e7cLyJN927VbJNlHW31jt3SNo8VC2a4VF5ywadxnEDFF4D0hWlCwbToUX1S4013DUFyAUQHjkZdC2q5p9FYqKwWMCqxj/C6gWU69C0hfUaUk1IzVeoFInHnpfm6gqZpT7YasBs6J0fX+6W2b0b1/XWoP8emVE1tsYtp9vXr93J0X/2fWcbZzna1+nDNLVy1oHxW0GILeL+09SSJFGPEpkXSea1dBAfskW2rGAvKLyiHvR8FjPmu6gPR4GSEdNVBAr6uKMISYa2/yx1eg4FGTEXOkLIbts3QXJ9bMPhR5znS6OWjSB0R/o70HtdD9QwQZAFxj9n7AZ2cuUrrJ9Pso4g5dOZmBV6XkZskjwWQ2JZC0S/r401GrheG7/+6SnMbunByXrM+UXt2sblaTEXjls/5wu8h//eE22zmak5dkowLvArc62WIYli+M/ln4frTai0/GOX1pkdw32tjUnVLBfjDA2GZS6GLWc9NuUFC7wILv+60O+C81Mcrypw5JXp/N6IDkk8oE+a6g2Okm4Ddy+Omfwbw/Z1+jfBnQ9pSMJjOuAFBwwNP8pYmbqKBGXSElFmfAuizR8+ToswYVM10b5O0fd6BAzy30xDIp+iKtvj8j7twBbYxXliz/hWCM/wNdHrx1
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get highlights of a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/bookmarks/{bookmarkId}/highlights"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get highlights of a bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The list of highlights","content":{"application/json":{"schema":{"type":"object","properties":{"highlights":{"type":"array","items":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}},"required":["highlights"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-list-bookmarks.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-list-bookmarks.api.mdx
new file mode 100644
index 00000000..020a3766
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/get-list-bookmarks.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-list-bookmarks
+title: "Get bookmarks in a list"
+description: "Retrieve a paginated list of bookmarks within the specified list. For smart lists, bookmarks are computed from the list's query."
+sidebar_label: "Get bookmarks in a list"
+hide_title: true
+hide_table_of_contents: true
+api: eJzVWdtuGzkS/ZUC5yGJ0ZaTxQx2oIcFlMxkxjvJjhHbWCwcAaK6S2pGbLJDsmUrQgP7EfuF8yWDIvsmuWW3Lw+zT3HUxapTFxaLh1umczTcCa1OEzZmS3QfhHVvtV5l3Kwsi1iCNjYiJxE2Zp/QGYFrBA45XwrFHSYghXWgFzCvl8G1cKlQ4FIEm2MsFqISG8F7bcBm3Dj/fxt1VnGDEOssL0jpwujMKyCxFxa+Fmg2IxYxx5eWja8YAbVsGjGLcWGE27Dx1ZbNkRs0k8KlbHw1LacRy7nhGTo01gvYOMWMs/GWuU2ObMysM0Itb3l6kSIUSnwtEESCypEPhrysMREWvOFZLkmLQJHIm80yu/7y49/1zbcf0hvndPwjARbOixDg04SVETP4tRAGEzZ2psCIKZ6RgAwCERMEIOcuZWV0F2JURUah4Dau8FM8ElzwQjo2Dr/sO3aujQNtEjQw30Bs0KcfEu5wBD+FtRachhe07sVoF/CCS4tPVtm4bLVxv9PC2muf5n63VZHNveCu8Y/8RmRFBuEzZUg4zLw5g64wCnI0VK04xJWHaOskLhNugAcHSu1dYaw2oeI55AbXQhcWDNpcK4tke4EuTn3pKbxxjf26tIKGAe493lTlahws3e/rXGuJXLFOPYZi3wV0ugCLjuz6r95u3RFeWFgUUkKslUPl4OWvFx8/RODwxkWALh69gmshJcwRhIplkWACVdepHRrBedDuowELbUCKZerQNCIWrlNUoJXcQIaOJ9xxEBYUYoLJkJr56/vQpK+y8S6g2UvjlDytFFIm//b6Nf2z6+zkzsbf3/RZxCr/SR/Pcyli3yJOvlhS2lM+ev4FYwKYGzqinAiQGksdUW4M35ArtFHvVyGS2zuyjJjvWphMXO/XTCfen77PEVOFlHxOO5EKoGz25QBJbuJUrDHp2TllxBZ8relsO/Td8eVSqOW5466w99trTwxbxDFaOt8XXMjCIIUJVUKrpmXEbJFl3IhvPkvPr15pNyw8AcdmmKwuTDxAbefczAWL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AhSsUw9WWMjCC0q8kbmPF4VuYXc6KXhWcadiLmUm9Fn9Vl99x1QuIh0DjuDfpxICaiSXAvliLDzVQZ8d8vnZKMhkGaTan96JTNIkSdoRvAfXUDMFSxREfmPwJX3bIWblnZvQnaNc7g8hUIRvXt0dI7OCbW08A+/5jfc2KOjGnbVwirIfuO3mG2R06UZAoV4POcENW9WwFpwmIWPMx+kmedVZ4H6h5bHp2S09FjNm1FmZ21nncFCoAytkcICwgG3IS61kUblId4TJjCjDj+DNZdF4N52bAiVUI7QK6Z8GLx1FFSxqbs60Llp6cemz/tszBG0wrC9DCLQTrHjz+oYjo5oqjg68r5M4PLTh6be/EsLaF/nXEI1CzQc4Cgsp97eLPc93hOQ1JSxEvHFWcsoKKr5AWhQgJd+eKWz4+yn9698z8y1dcQhjLc1tfgLul0ikPutsL8Xt233/0u8JoV+1Dn9Wj4iNOIr/y5DXXfcPNC0vXgaMeokJLbdUklfGlmW9HMgValDJ8JSpzlAH3cD8oiHlF4HVrjZe1zx9cvGzJP1wwE97DnkDiz1E8kjcTzhieQwpuYt45Gg/h94/zvcv/UW0IZh2k4PD6zgl5+q+ecVHLJeX8rUpmuzLZTwSkq3lHBgeQTh4ySOMe9CvTU+EvRmnvrl5wsWuJYufb47anR5zF1I222QuKCjtSwbhP6oJYBl+SeIJuKv
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get bookmarks in a list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/lists/{listId}/bookmarks"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a paginated list of bookmarks within the specified list. For smart lists, bookmarks are computed from the list's query.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the list.","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc","description":"Sort order by creation date. Defaults to 'desc'."},"required":false,"description":"Sort order by creation date. Defaults to 'desc'.","name":"sortOrder","in":"query"},{"schema":{"type":"number","description":"Maximum number of items to return per page."},"required":false,"description":"Maximum number of items to return per page.","name":"limit","in":"query"},{"schema":{"type":"string","description":"Cursor from a previous response to fetch the next page.","title":"Cursor"},"required":false,"description":"Cursor from a previous response to fetch the next page.","name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."},"required":false,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.","name":"includeContent","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A paginated list of bookmarks in the specified list.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for the next page, or null if no more results."}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"List not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-list.api.mdx
new file mode 100644
index 00000000..361b4254
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/get-list.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-list
+title: "Get a single list"
+description: "Retrieve a single list by its ID."
+sidebar_label: "Get a single list"
+hide_title: true
+hide_table_of_contents: true
+api: eJylVtuO2zYQ/ZUB85IYWntTpEjghwLOFdvkIdjsoig2BjwWx9bEFKmQ1NqOIaAf0S/slxRDybe1GyzQJ8vkXA7ncmY2ylXkMbKzV1oN1ZziJw5RZUpTyD1XcqOG6pqiZ7onQAhs54bAcIgwXQPHAFdv+ypTEedBDe+UGAhqnKlAee05rtXwbqOmhJ78qI6FGt6Nm3GmKvRYUiQfkkDICypRDTcqritSQxWiZzs/gXJTENSWv9cErMlGnjF5cDOIRYtKsNAKy8qIFSbWZrWel8tvr1661Y9fi1WMLn8lgDkmEQF8pVWTKU/fa/ak1TD6mjJlsRQB0wpkigVAhbFQ8gBPoXI2UBDQv1xeys8pVrFJIZLegcudjWSjiGNVGc5T/AffguicCYSbfqNcclJ5yVbk1iPr02A1W8xnLo6gnUbZ1sbgVAIib28yxfk5wSYljqwE5DFWWoFTQbJ1KdVSoq3RqEyFEn2UstE0w9pENdzeNZn6XpNfP8pfVU8N5weiU+cMoRUrBYY3TuSdx+h8OC9VB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oQn0E8xPrztCfwb/ha47RLtO/Gtq+acytaD1frVsxrKepF5MCNrLUZ5TFQ/UTuah8OtuQHx4d6Myhces+oBFk/WzkDabVuJGWKNpdggTiwjApvkXiRA7OA==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get a single list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/lists/{listId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a single list by its ID.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the list.","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The requested list.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"List not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-lists-of-a-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-lists-of-a-bookmark.api.mdx
deleted file mode 100644
index 61f46bf0..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/get-lists-of-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: get-lists-of-a-bookmark
-title: "Get lists of a bookmark"
-description: "Get lists of a bookmark"
-sidebar_label: "Get lists of a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVU2P3DYM/SsGTy0grCdFiga+bYs22CaHINmih8EcODZnrB1ZUiR6dyaG/ntB2fO162x76Mm29CQ+Pj7SAzQU66A9a2ehgvfEhdGRY+E2BRZr53Ydhh0oYNxGqJbw67QUYaUgUt0HzQeolgOsCQOF255bqJartFLgMWBHTCFmQKxb6hCqAfjgCSqIHLTdggLaY+eNLGnSjdkftt3Tw7tf3P7bz+2e2dXvhIHmDDkyuGsgKQj0tdeBGqg49KTAYieg9RmkQEtqHrkFYRUoemcjRWHy02Ihj2sV7lvKKogIrd62Rm9bjqCgdpbJspxA742uUU6UD1GOzSTo1g9UMyjwwXkKrMegWeELGIaAB+HJ1MV/P66blxqmY+YzG1fJvRTf9sbgWqQVBZMCXc8BU64nWb6bCT9zywiYqbXtOzFSh7ZHAwpih4HFTQ1tsDcM1XEvKfjaUzj8p3i+XxtdX0DXzhlCK7e0GH9zgncB2YU4j+ojhc/OvMraPVkK8t1odvLyqOkpr0zxV+nKlEup1lSbSdkLHU+nZihe8Fmdzf9RR4b0PMZoqFXKG28Xb19a+tg0hXVcbFxvm//PzrVr5o3XUYy4ndt7xj/fcMbnRPJ5bl0DFWwpR5UOrqA89nYsh3Obp3IUQYZSeDyOnD4YqGDApgkUYyrR6/LxjZQNgxb75ASm7VG1owdbZh+rsuRwuNlhwB2Rv0HvQc1Mi+kGGRjcUvFhwhcjFynYxbT8IrqOkS9n5kkkiSx5ZJhYNINATS9/uNChMPzz7/uspLYbJ8cl65HSm5vFzeJiZJ743H66m+V/++mu2LhwTV6SlcZykTvMjpiG6/f/Es9Gzclgr/1YxqSZ9lx6g3psRanbMFV8eZrmUt7qarRPzlfQusgCHYY1RvormJRkeZofy9W55NkYjY7y3kC1QRPpFeY/fJ6M+mPxPbbHMW4P2Vmmly9QsKPD9a8orWQYETYUMosRcFvX5Pni6ItmFPecmuH97/egAK8988wj+fZZWsMwIu7djmxKJ5Ys30IwpX8ASlbEvw==
-sidebar_class_name: "get api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Get lists of a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"get"}
- path={"/bookmarks/{bookmarkId}/lists"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Get lists of a bookmark
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The list of highlights","content":{"application/json":{"schema":{"type":"object","properties":{"lists":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}},"required":["lists"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-tag-bookmarks.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-tag-bookmarks.api.mdx
new file mode 100644
index 00000000..5e00d60b
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/get-tag-bookmarks.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-tag-bookmarks
+title: "Get bookmarks with a tag"
+description: "Retrieve a paginated list of all bookmarks that have the specified tag attached."
+sidebar_label: "Get bookmarks with a tag"
+hide_title: true
+hide_table_of_contents: true
+api: eJzVWetuG7sRfpUBz48kxlpOinPQA/0o4OTc3JP0BLGMokgEeLQ72mW8S25IrmxFENCH6BP2SYoh9yZ5Fa8vBdpfccThzDcXDoffboQuyaCTWp0lYipScjNMX2t9VaC5siISCdnYyJIlxFR8IGckrQgQSkylQkcJ5NI60EvAPIdFsxVchg4yXBG4jMCWFMulpAQcpoDOYZxRMhGRcJhaMf0oZvzvPBKW4spItxbTjxuxIDRkTiuXienH+XYeiRINFuTIWC9g44wKFNONcOuSxFRYZ6RKbwGfZQSVkl8qApmQcozFMGgG5zBlJHSDRZmzEkkyyW/WaXH9+cc/65uvP2Q3zun4R4YrnReZYXqWiG0kDH2ppKFETJ2pKBIKC153fj0Skq2X6DKxjb4Fl1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8rXodBgendZxy6EvvqxGR2mzSeXrrXOI8GNgYU2G67QC5Nvt/xzoEm54SbScuM4QAj33XvAp5FB+Fe03vtc4stRTIWn38cDut8Hjm9gaT56PBDHIz56HMbUfp14IKj/Byb/G+7fYve7MMy7YeCeFfz8Qz3MvIBD1psHllr3bTaowhHzb7Jw/XgAYe00jqnsI701CjLydjb69eeZCLRJnwnfHRz6lOQuos0mSMz4otxuO4D8fwa43f4H66278A==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get bookmarks with a tag"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/tags/{tagId}/bookmarks"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a paginated list of all bookmarks that have the specified tag attached.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the tag.","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc","description":"Sort order by creation date. Defaults to 'desc'."},"required":false,"description":"Sort order by creation date. Defaults to 'desc'.","name":"sortOrder","in":"query"},{"schema":{"type":"number","description":"Maximum number of items to return per page."},"required":false,"description":"Maximum number of items to return per page.","name":"limit","in":"query"},{"schema":{"type":"string","description":"Cursor from a previous response to fetch the next page.","title":"Cursor"},"required":false,"description":"Cursor from a previous response to fetch the next page.","name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."},"required":false,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.","name":"includeContent","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A paginated list of bookmarks that have the specified tag.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for the next page, or null if no more results."}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Tag not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/get-tag.api.mdx b/docs/versioned_docs/version-v0.31.0/api/get-tag.api.mdx
new file mode 100644
index 00000000..3d0ad1a6
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/get-tag.api.mdx
@@ -0,0 +1,71 @@
+---
+id: get-tag
+title: "Get a single tag"
+description: "Retrieve a single tag by its ID, including the number of bookmarks using it."
+sidebar_label: "Get a single tag"
+hide_title: true
+hide_table_of_contents: true
+api: eJytVtuO2zYQ/ZUB85IYWntTpEighwJOc8E2eQgSL4pis4DH4lhiTJEKOdq1YwjoR/QL+yXFULLX63XTAu2TbM5weDhn5gy3yjcUkI13F1rlqiSeYakypSkWwTRiULn6SBwM3RAgRONKS8BYwmIDhiNcvMrAuMK22rgSuCJwbb2gAH4JC+9XNYZVhFY2guGxyhRjGVV+pWbyvc5UpKINhjcqv9qqBWGgMG25UvnVdXedqQYD1sQUYnKIRUU1qnyreNOQylXkYNxD0LOKoHXma0tgNDk2S9ODEoiMpSChNdaNlSCGjLbrTVnffnnx3K+//VitmX3xQuAaTi4zLC+06jIV6GtrAmmVc2gpUw5rsXOyZ8rI6Q1ypQR9oNh4FykK4h/Oz+XzEKiEpMikU2ZvDVfQRiwJIiObyKaIgrfwjsmxxMCmsaZI1E2+RAl0IjV+8YUKVplqghDNpodh9MP0dbt7nDK09csdkwcOPc/HDi83U2YsKtKz5PZPYNCcDFm1NboTlq67x8CVXGaAfgT0u7Cu7/E6hH12/vQhPZcOW658MN9Iw5+//5Hq52WqUmC/IgcmQm2iFLh0wg1aozPwAWjdCMgj4pjWPGksmtOU7av5rjYPEeyRPjtRSFiC8wxL37rjU/9LuRRen6iL436bQo1FZRydBUKNC0tAIfgAsn0slNYUpab/TajE/nGgYf9YHZdAAngX/4Db17Ix5Sydz5UfZE4uKS2aq4nI0WSburdTokbhZqc1bbAqV1vUOlCM3QQbM7l5qjJ1g8EIsr6Ce3NPyBJbyypXFXMT88mEw2a8woAromaMTXNSp4YIO3V6N/hDj0XwH8jkJ6GtP/lQLPdJlZPlHslN5YOTyoYfb3yoURD+8ussZdK4pZftcuse0tPx+fj8QPn2eKYfLh7g3xtNlPlAdnlW+ciJt53+i/aj0yCEnhk+s8gU0u1MQWOYVSZKbEBr/W2EjW+BPdToRAL3QyQDayLHTDQyZlCZsrKmrGQFY6T0dRoWWKzaJkITfBmwrpFNgdZuxp/dZ/foEUi6ZB703SCLU2uBnG68cRxhqCzA+13eyBkajEsUzadDS6Ygc6gINYUx/OZbKNBBSU4GKwG6dLMVbWAZfH2f31tawOUFtE5TgNHoEzEbV0b4Ke15R5s4Gu1gf8DSuD3k9ybyAebYNo0PDEUbog9nCxSozX4H3BiEeW+cpyTNrakNz+FrS2EDdyNWyJBx1A+tYbCTMDt3tOafhxBLQ7ZXQ0kLGAaMfV52h+xDCpNL4qLq3wa0ZgFGY5jC3LXWzuEGbUuw9OH+GcZp4YhSYOEjEDgPtQ8JYGs57nKzU3kQbY+yuNf9xMaCwDvq2ysQgXRKzD+7MxiNrHGr0SjdZQqXH9/v660fwz7VOVooAt5a0lATo0bGcb9d5Hy/Pck6yJIIMQ0uqTh3Pg7axnrUpGFpLMFjU0uR+wAfXr15knSy8ZGH4Tc8Ld4S33t7HTfh9k7q//fHWi8qB1Ory3pd3A4KetU/6DKV9y+g60yJAIhhu5VKvAy262Q5FZs86+4ENMmsNlF+a5Uv0Ub6zuUefxxk/wn8HbZhEd0m6bRt5Z/K1Io2+0dady0vjNSyCUBvmxYFNXyw68HQFBneT5G3r2cqU3hffI/ENkU/iWi77T1mIi5ddwdQ/gvArvsLHy8NAA==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get a single tag"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/tags/{tagId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a single tag by its ID, including the number of bookmarks using it.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the tag.","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The requested tag with usage statistics.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"numBookmarks":{"type":"number"},"numBookmarksByAttachedType":{"type":"object","properties":{"ai":{"type":"number"},"human":{"type":"number"}}}},"required":["id","name","numBookmarks","numBookmarksByAttachedType"],"title":"Tag"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Tag not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/karakeep-api.info.mdx b/docs/versioned_docs/version-v0.31.0/api/karakeep-api.info.mdx
index 3e4eb827..24e36267 100644
--- a/docs/versioned_docs/version-v0.31.0/api/karakeep-api.info.mdx
+++ b/docs/versioned_docs/version-v0.31.0/api/karakeep-api.info.mdx
@@ -1,7 +1,7 @@
---
id: karakeep-api
title: "Karakeep API"
-description: "The API for the Karakeep app"
+description: "Karakeep is a self-hostable bookmarking and read-it-later service. This API allows you to manage bookmarks, lists, tags, highlights, assets, and backups programmatically."
sidebar_label: Introduction
sidebar_position: 0
hide_title: true
@@ -29,7 +29,22 @@ import Export from "@theme/ApiExplorer/Export";
-The API for the Karakeep app
+Karakeep is a self-hostable bookmarking and read-it-later service. This API allows you to manage bookmarks, lists, tags, highlights, assets, and backups programmatically.
+
+## Authentication
+
+All endpoints require a Bearer token passed in the `Authorization` header. You can generate an API key from the Karakeep web UI under **Settings > API Keys**.
+
+## Pagination
+
+List endpoints support cursor-based pagination via `cursor` and `limit` query parameters. The response includes a `nextCursor` field — pass it as the `cursor` parameter to fetch the next page. A `null` value for `nextCursor` indicates there are no more results.
+
+## Bookmark Types
+
+Bookmarks can be one of three types:
+- **link** — A URL bookmark with optional crawled metadata.
+- **text** — A plain text note.
+- **asset** — An uploaded file (image or PDF).
<div
style={{"marginBottom":"2rem"}}
diff --git a/docs/versioned_docs/version-v0.31.0/api/list-backups.api.mdx b/docs/versioned_docs/version-v0.31.0/api/list-backups.api.mdx
new file mode 100644
index 00000000..ceb7ccb3
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/list-backups.api.mdx
@@ -0,0 +1,63 @@
+---
+id: list-backups
+title: "Get all backups"
+description: "Retrieve a list of all backups for the authenticated user, including their status and metadata."
+sidebar_label: "Get all backups"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9VsGO2zYQ/ZUBc2kNrb0pevKhgDdtgm1SIEh2URTJAh5LY4kxRTLk0LuOIaAf0S/slxRDybJ310B76kkCZzh8nHnzhnvlPAVk7ex1pebK6MhXWG6Sj6pQFcUyaC9WNVcfiIOmLQGCuIFbAxoDq94d1i4ANwSYuCHLukSmClKkUIC2pUmVtrV46ACRkVMEtBW0xFgh41QVirGOav5JHRDcFSpSmYLmnZp/2qsVYaCwSNyo+ae77q5QgaJ3NlJU87364fJSPo9RL86BlcNKZ5ksyw703ghe7ezsS5RtexXLhlqUP955UnPlVl+oZFUoHyRnrPtDh4gnjhgC7lShNFMb/z2Ark58Igdta9UVShJ3fd6EMRKfsxXKJmNwZUjNOSTqClUGkjos+GykqL/RicGmdkVBDCvnNi2GzSuXLJ/16Et4DgPZ1EoVPdmqX4mpLCkKo9aoTQqk7rpCUQgu/EYxYk3/4S6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path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get all backups"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/backups"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a list of all backups for the authenticated user, including their status and metadata.
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A list of all backups.","content":{"application/json":{"schema":{"type":"object","properties":{"backups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"assetId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"size":{"type":"number"},"bookmarkCount":{"type":"number"},"status":{"type":"string","enum":["pending","success","failure"]},"errorMessage":{"type":"string","nullable":true}},"required":["id","userId","assetId","createdAt","size","bookmarkCount","status"]}}},"required":["backups"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/list-bookmarks.api.mdx b/docs/versioned_docs/version-v0.31.0/api/list-bookmarks.api.mdx
new file mode 100644
index 00000000..5241b062
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/list-bookmarks.api.mdx
@@ -0,0 +1,71 @@
+---
+id: list-bookmarks
+title: "Get all bookmarks"
+description: "Retrieve a paginated list of all bookmarks for the authenticated user. Supports filtering by archived/favourited status and sorting by date."
+sidebar_label: "Get all bookmarks"
+hide_title: true
+hide_table_of_contents: true
+api: eJzVWd1u4zYWfpUD9mLaQHEyi73yRQHPdKfNdmYbNAkWixkDpqUjizVFqiTlxGMI2IfYJ+yTFIfUn2MlI3ty0b2yIZ7D88Pzx487pgs03AmtrhI2ZVJY90brdc7N2rKIJWhjIwpaZ1P2KzojcIPAoeArobjDBIgFdApcSlg2rJBqAy5D4KXLUDkRe9rSopnATVkU2jgLqZAOjVArWG6BmzgTG0wuUr7RpRFEbx13pQWuErDauJoy4Q4nLGKOryybfmSdwvOIWYyJecumH3dsidygmZUuY9OP82oesYIbnqNDYz2BjTPMOZvumNsWyKZsqbVErg5Mf+dV7etZKzdhVcQM/l4KgwmbplxaPII5YornJLhZYRETxPN7iWbLqugkHQ9ceJyWA+ytnt3aCE2to9NlEUNV5nRU3Ma12nRWCaa8lI5Nw5fHCt1o40CbJCgVG/RxGo4ffgi8FpyGV8T3aoyNR2/Z2k3x9wsxjjBblfnSE+4L/8AfRF7mEJYpZ4TD3Isz6EqjoEBDmYVjTDlmt9YKKXLhjjm4fZlvS2O1gdTonGqAwY3QpQWDttDKIslO0cWZT32FD66V74ST2O4wwrzTRdWmxkHScelUx6Mz5YFCVylYdCTXr3q5Tb17ZSEtpYRYK4fKwbc/3X54H4HDBxcBunjyHdwLqo8IQsWyTDABofwWjUETuAm7e2/4+inFKqOMbEgs3GeoQCu5hRwdT7jjICwoxASTMTHz17ehPb5axtugzaNjnJOl9YZ0kn+7vKSffWNnA02qbVAkqbaUOHlRSOpRQquL3yyxDwSKXv6GMalSGOqaTgTh7Z49Um4M35LSlJJf3kIkh7lXRczXJ0xmbnA114lIxfByxFQpJV9SztFRV20GjqBsW9FhjlRRvwEMrju+Wgm1uvGN48vyut5gyzhGS1NHyoUsDZKbUCXENa8iZss850Z89qf08tsr7ca5J+ixHUerSxOP2LbXIQvBInaPSwpQSf9zvRSStMUHh8pScEfMCrWSmIYF480SOU1V3haas66GYyoM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YGQZ2c36AjXtvC95/kZt/bsrFG7Tr9a5fcEYnQ62wCjQwC6zpecVC1aDtgIDouwuPBOWnj0bwEeRIEOCafD6ECcBt2hk110VWEBqUAZ0prcAsIBt8EvjZB2y6fQOZjBgqrTAjZclgEh2pMhVOKfCvzGdB4GD8pY7ZumIgHVfEsf2xrlT2OJoBWG9DKIQJlip5/UOZydUUc8O/O2zODu1/dtvMG9cBloH+dcQt3HWqRqEtipLrXsvj55mAwIQqhJfHA2NArKuvfRkwfCt37worp3/cO77zxwV2jr6P473TUA2I/o9t9UHmfhriuVf7mXmVCVevW7u1GH+ttvPvOIUfWgj7sdhfGdkVVFnwPcR1U5EZaqyxPAZt8Vzz62DCq2xu3+A4wPTjZlHi8+RfLgA8ozsvfGjhOln/C08YxG/eeOExU67oHiGV2aR4sT9fiKR4undWpfF05U6v8BiX/G/AN0vnPDvJuU/KNrxEKf9GkcuGdxjEWf6wB+p13aue3Hf9yyAE/0Eef9CacP/XG17e292wWKW+roVcUaE3yHZxVdFv4EInbTxA==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get all bookmarks"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/bookmarks"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a paginated list of all bookmarks for the authenticated user. Supports filtering by archived/favourited status and sorting by date.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"boolean","description":"Filter by archived status."},"required":false,"description":"Filter by archived status.","name":"archived","in":"query"},{"schema":{"type":"boolean","description":"Filter by favourited status."},"required":false,"description":"Filter by favourited status.","name":"favourited","in":"query"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc","description":"Sort order by creation date. Defaults to 'desc'."},"required":false,"description":"Sort order by creation date. Defaults to 'desc'.","name":"sortOrder","in":"query"},{"schema":{"type":"number","description":"Maximum number of items to return per page."},"required":false,"description":"Maximum number of items to return per page.","name":"limit","in":"query"},{"schema":{"type":"string","description":"Cursor from a previous response to fetch the next page.","title":"Cursor"},"required":false,"description":"Cursor from a previous response to fetch the next page.","name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."},"required":false,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.","name":"includeContent","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A paginated list of bookmarks.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for the next page, or null if no more results."}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/list-highlights.api.mdx b/docs/versioned_docs/version-v0.31.0/api/list-highlights.api.mdx
new file mode 100644
index 00000000..07ce8e69
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/list-highlights.api.mdx
@@ -0,0 +1,71 @@
+---
+id: list-highlights
+title: "Get all highlights"
+description: "Retrieve a paginated list of all highlights across all bookmarks for the authenticated user."
+sidebar_label: "Get all highlights"
+hide_title: true
+hide_table_of_contents: true
+api: eJy1V1GP2zYM/iuE9rIFvtx12FMeBqTb2nXtsKK9wzBcA4SxmViNLKmUnLssMLAfsV+4XzJQdhznklu7FXvKQZbIj+THj7ydcp4Yo3b2RaEmyugQf9Sr0uhVGYPKVEEhZ+3lgpqoNxRZ04YAweNKW4xUgLwBtwQ0Bsr+LWDOLoR0unBuXSGvAywdQywJsI4l2ajzZKEOxGOVqYiroCa3aoBglqlAec06btXkdqcWhEw8rWOpJrezZpYpj4wVReKQLoS8pArVZKfi1pOaKFtXC+KTUH7Ge13VFbSfBb+OVAWIDphizRY8sURJY9VkiulDrZkKNVmiCfQ51jJlsaKU7EpHlSktFj7UxFvVZGciCJG1XZ1E8F3NwTEs2VVSD6aNdnUApuCdDSS+lxTzMiXc0n3s/UcdDfUWPiG8/+6qCzVvPR3HOhO/rYUg4X59dSU/x66nZ5h2YJm4yJ2NZKM8Re+NcEo7e/k+yPsz6XSL95RL3j0L+aNuvR+MDu4iM24FtlTz4zb2RJdeeli+JlMhIsdflstA8ZSgTabIFv/wNXfG8TlakK0raZstGePulGS1UJlaMZFVmVqYmqSPClpibaKa7C82mYp0H8+ZtLUxuBCSRK6pyZR1kT7poj4furT4I1nJmaS60zNAmiNq3g7ze5zNYe66qDrMCVHvf+htdmiEXnCSRyFw1xofjfixTul0ru+FDByDPAW9BOugckzSP7UREj+MsxxK8ADOAPLrfVcMxLJpxNA3V09O2+jGiuQ61r9TAX/98WdC9zSJKUS3Jgs6QKVD0HaVgbYbNLpIoOneC6wHnSYpvvQG9fkeO3DzHiufAA8RJKRNpiqKpZO5s0p18yiyri6Pwg/Em72412zURO2wKJhCaC7R68vNE5WpDbKWoqQu7D63SdhzvozRh8nlZeTteI2MayI/Ru9PZPVaxlNrQbRG8vSyuw8tFkE/mEtvJfiu/wfTqc+FeJY40jU16S5JY6Y/njmuUBD+9Ot1IoK2SyfPJeoW0pPx1fhqoNs9nunrFyf4+486AEIgs7woXYiSnX4Qa7sCtAUwYXGh44XBSJyi0zmN4brUQWzL8HZ3AbauFomv0OLqYCRkSZBDBjK3s4EqZ4AhUPq1BSwwX9c+gGe3YqwqlLFvzHb8zr6zX3wB08MuoJ2Vw6kxQLbwTtsoUyY1BuAxX734KEDbVKL5tCNXMjKHkrAgHsNvroYcLazIyp5DgDZFtqZtO86O6ntHC7h5AbUtiGE0eksxarsK8G1685K2YTTaw+4asIP8SkbTAXOovXccoZ17FwsUqL5/ARuNMG8/zlOS5mkZmEMajXDYaaQYdBi02uamLkgqOz/owhyWmkzb15IW0BEwtHnZO+lNPjasYQpzEag5bNDUlCTsyIe2RdrXkmGpB9OJknW5edpRBK63noIcPu1XQKnGgsBZatuLiUA6JUze2QsYjYy269EoxTKFmzever7BnY4luMRzNJAz3hkqoKKIBUYct89FmPrnSaBAjkCGQXclkXN/x0LtjcOCClhqQ/ClroTkjuH198++SrufdyFWmISuW2eeU3yw7j5sw91BLP/3rbmVmYEiy7wVpdx1ino0UGaZEj2Q091OiHnDpmnkuF3LRGcLHUQvHlkHh7H9u8X3LNQ1bQfLcCKfmqi0Cn86js9Yhh/H1G+tB1Czw6xJ/4BkqlWalLb21TTPyQ9DOdlKxUo/+p7/cK0yhccz48GMSNb3K6ndDmzvdu2Na9HEplF76EkjVTNrmuZvOTne2g==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get all highlights"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/highlights"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a paginated list of all highlights across all bookmarks for the authenticated user.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"number","description":"Maximum number of items to return per page."},"required":false,"description":"Maximum number of items to return per page.","name":"limit","in":"query"},{"schema":{"type":"string","description":"Cursor from a previous response to fetch the next page.","title":"Cursor"},"required":false,"description":"Cursor from a previous response to fetch the next page.","name":"cursor","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A paginated list of highlights.","content":{"application/json":{"schema":{"type":"object","properties":{"highlights":{"type":"array","items":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for the next page, or null if no more results."}},"required":["highlights","nextCursor"],"title":"PaginatedHighlights"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/list-lists.api.mdx b/docs/versioned_docs/version-v0.31.0/api/list-lists.api.mdx
new file mode 100644
index 00000000..d8ad4d92
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/list-lists.api.mdx
@@ -0,0 +1,63 @@
+---
+id: list-lists
+title: "Get all lists"
+description: "Retrieve all bookmark lists for the authenticated user, including both manual and smart lists."
+sidebar_label: "Get all lists"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9Vs1uGzcQfpUBc2mFtWQXPelQQEmbwE0OQWKjKGwBGi1HWkZckiFnZW+FBfoQfcI+STvc1Y9toe2pJ63I4cw3f9/MTvlAEdl4d63VVFmT+INJnFShNKUymiB3aqo+EUdDWwK0Fpbeb2qMGxD5BCsfgSsCbLgix6ZEJg1NoliAcaVttHFrWHquoEbXoAV0GlKNkXsNY1UoxnVS0zvVm58XKlHZRMOtmt7t1JIwUpw1XKnp3bybFypSCt4lSmq6U99dXsrPU8gzaweA/sGRhmULPkKqMJKGB8NVBl02MZLjDFdwlN4xORZ1GIIVZ4x3ky9JdO5UKiuqUb64DaSmyi+/UMmqUCFKLNn0iLLhEzGMEVtVKMNUp39/bvSJTOJo3Fp1hXJY09mLJ54/vy+Ua6zFpSU15dhQVyhTnhPsChVQonF9xvwZLb3AS0FyTS257LOtCpVzLUnVtMLGspru77pCfW0otv/JXmiW1pQnokvvLaETLRWmN17kfUT2MZ2Xkix/8vYfUUu1RPmvDXv52Bp6yCeD/XnXSf19bUwkLS+MVkNuhsiexPHw6gzEEzzzQrFhAZY7QHXPbfQFNe/yxfeXVy/r/dZJA/pofvu72P/8/Y9c3q9z4wD7DTkwCWqTknFracwtWqML6Ql6DGLmWfkzPfIkWDTnC/8Yt0esQ0Z+ikA8EKg1ceWFW9aUyxylhdXEDiyTKG5JsnW3U020aqp2qHWklLoJBjPZXkkCMBophJzU4br3f19NFXNI08mEYzveYMQNURhjCC947EZ4qtcAfpVD9H6Qhx6LAD+hn8/id2/5lIQOYRDL4kcWk2LLQqoYPt76WKMg/PmXGyXxMG7l5bl43UO6Gl+OL9Ux/wc8s4/XL/AfLk0ChER2dVH5xBKdAy0L2wrDRkJ9YfjCIlPM3pmSxnBTmSS6hcr9Q4LWN8BeqBnXRyWp6MmzAGHmAiqzrqxZV3KCKVH+dRqWWG6akCBEv45Y1yj8b207vnf37tUrmB2HgvFODoWXyengjeMEQ40DPi3VIDY0GJdTtJgNdZWVLKAi1BTH8KtvoEQHa3IyxgjQZc821MIq+vppfh9oCbfX0DhNEUajz8Rs3DrBD/nNe2rTaLSH/RHXxh0gS0ueYE5NCD6yzI7k48USBWo4vICtQVj0l4scpIU1teEFZKqDgBFrYopJkkGwH2XDsCTJ7MLRI78ZVKwM2b6lJSxgGDD1cdkbOaiUTK6Iy364iRIBRmOYwUL4dAFbtA3lmf3EhnE6D+6sWPIRCZyH2scMsLGc9rF5vR//N22gJIf7k5SzsSTwjvr2ikQgnZKm9+4CRiNr3GY0yr7M4PbTh+MukSeyz3WOFsqID5Y01MSokXHcPxdOOjzP3ARyBM4zDSK5OPcyDppgPWrSsDKW4BtTS5H7CB9/fPvtOE88n7jGzHH9eFXviPOaY89tQrsjRf4PS1HPMSdMLDNMaHI3MOlhMBRKeEAOdjspyNtou06Oh/F6Nz/yaN6hCtV3UabeDbWyMZUlBc6Ea5u8tTzfgIQZD4z+7qcbVSh8yofP+C9r3+9Arj3Rvdv1EjfS712nigFE7n/VyaT7C6UyuQc=
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get all lists"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/lists"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve all bookmark lists for the authenticated user, including both manual and smart lists.
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"All lists owned by or shared with the current user.","content":{"application/json":{"schema":{"type":"object","properties":{"lists":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}},"required":["lists"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/list-tags.api.mdx b/docs/versioned_docs/version-v0.31.0/api/list-tags.api.mdx
new file mode 100644
index 00000000..9b39e904
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/list-tags.api.mdx
@@ -0,0 +1,71 @@
+---
+id: list-tags
+title: "Get all tags"
+description: "Retrieve a paginated list of all tags. Supports filtering by name, attached-by source, and sorting by name, usage count, or relevance."
+sidebar_label: "Get all tags"
+hide_title: true
+hide_table_of_contents: true
+api: eJzNVs2OGzcMfhWCubTGrL0peppDAW/aBGlyCBIvimLXgOkZ2qNYI00kjXcdw0Afok/YJykojf+dzaKnnrw7osiP5KePXKNt2FFQ1rwtMUetfBj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xkyWAgEzNb8ApmztbH/X3gKdy+hdaU7KDX+8RB1gIPv8Q773jle70t7A9JwjvI70XG95h9WkIgTZ+rKQnUZncDlopgkg4nsUiTOEwmEMcI7FcGaUZ8/nGkgDKFbkuWzk72b34CM8U6vWgpC6gA5FNdtkF2LqWTMw5FdSw7fRjCRGRnAkvSLUdhOoqhTCk94uhY+uH4TJ+62mwlFEQ4vXzciWrsxpTBGk7PyzGDvBSf35sr6PW0MoteL+YyhNuP73d8S9PRRp6ThsLRg+YSag5UUqB+ui6StLsepQnkExgbuDOJ5NzaGGgbbankUhZGhh9ULSS3Dj78+vrHvsyVxvrQTZZu8r/hsNs4Tx/gei+Q/6OVNUnRgV5vsqSm605vu1EyzlDUQv5fr4W2t05vNvI5LTiiwqXyoib7fWjBq/MtNbIIc4zb1jeudBvlc0yP1sLnXNgtfs8x3q5ye9vxfqjERT7DJCmxAunSsCi4Obx1tp6Jl910e/PbCDOk4+FwMgyi9+2GZg5TXa+TxUjEb7PBLfIohriRqf8v9k2eOw==
+sidebar_class_name: "get api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Get all tags"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"get"}
+ path={"/tags"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Retrieve a paginated list of all tags. Supports filtering by name, attached-by source, and sorting by name, usage count, or relevance.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string"},"required":false,"name":"nameContains","in":"query"},{"schema":{"type":"string","enum":["name","usage","relevance"],"default":"usage"},"required":false,"name":"sort","in":"query"},{"schema":{"type":"string","enum":["ai","human","none"]},"required":false,"name":"attachedBy","in":"query"},{"schema":{"type":"string"},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"number","nullable":true},"required":false,"name":"limit","in":"query"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"A paginated list of tags with usage counts.","content":{"application/json":{"schema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"numBookmarks":{"type":"number"},"numBookmarksByAttachedType":{"type":"object","properties":{"ai":{"type":"number"},"human":{"type":"number"}}}},"required":["id","name","numBookmarks","numBookmarksByAttachedType"],"title":"Tag"}},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for the next page, or null if no more results."}},"required":["tags","nextCursor"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/remove-a-bookmark-from-a-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/remove-a-bookmark-from-a-list.api.mdx
deleted file mode 100644
index aa3dc73e..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/remove-a-bookmark-from-a-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: remove-a-bookmark-from-a-list
-title: "Remove a bookmark from a list"
-description: "Remove the bookmarks from a list"
-sidebar_label: "Remove a bookmark from a list"
-hide_title: true
-hide_table_of_contents: true
-api: eJzNVMFu2zAM/RWBpw3Q4nTosMK3DOuAbsVQdBl2CHJgbCZWY1uqJKfJDP37QNmNkzYrdhiGnWzLj+Lj4yNbyMllVhmvdA0p3FKlNyR8QWKh9bpCu3ZiaXUlUJTKeZDgceUgncG1ct7BXIKjrLHK7yCdtbAgtGQnjS8gnc3DXIJBixV5si4CXFZQhZC24HeGIAXnrapXIIG2WJmSjxSpvNzuVtXD3cV7vf35rth6r7MLzq58hHD2qxyCBEv3jbKUQ+ptQxJqrBhQdgAJiusy6AsI8q+l/9CL8yKFxQA6ojHnCGd07cgxk7fjc34cd+KrFpmuPdVevDnqh3hAJzDPKaY+H4+fxz6yE1hawnwnau2Fqh872N/LcWhMqTLkuOTOcfAJifTijjIONFYbsl51tDOd03Mhg4SKnMPVqX9HWs26Gwb8PIQQSzohB/dbaDuowCUtdVPn/3tBMd4XOocUcirJMyIaIYWEO+KStjNrSPYzl7SDeQLwjNnN4wQ1toQUWsxzS86FBI1KNmcgYYNW4aLsiul/d0ousSk9pFB4b1yaJN7uRmu0uCYyIzQG5BO5pwWJ/gahl9F/X3q86LhACOFg+L+xxl3mwxWwF4wzcx0RxrMRQSD7l0/aVsgMP/+YRlVVvdQczlV3lM5G49H4YAT3fCY3Vyf5T26uxFLbY/JcbJBgtPMVRnf0w9pvPhwcdrz2ju5vB8v90crsNPC09YkpUdVMIbax7Z0wi/vKgYR0v7j2t/HpwS6ZSyi08xzUtgt09N2WIfDxfUOW1/B88EJ0TK4cv+eQLrF09EIxr257N78Wv+PdH2K9i5YrG/4CCWvaDWuXV+0/zHqgTpgHCQVhTjbW3gEmWUbGH4Q+2xNs5v2cfry8vpxeggQ8dvET18YEJ5m1bYeY6jXVIeyJev5mjiH8AkTPj4c=
-sidebar_class_name: "delete api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Remove a bookmark from a list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"delete"}
- path={"/lists/{listId}/bookmarks/{bookmarkId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Remove the bookmarks from a list
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - the bookmark was added"},"400":{"description":"Bookmark already not in list","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}},"404":{"description":"List or bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/remove-bookmark-from-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/remove-bookmark-from-list.api.mdx
new file mode 100644
index 00000000..fd2dc039
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/remove-bookmark-from-list.api.mdx
@@ -0,0 +1,71 @@
+---
+id: remove-bookmark-from-list
+title: "Remove a bookmark from a list"
+description: "Remove a bookmark from a manual list."
+sidebar_label: "Remove a bookmark from a list"
+hide_title: true
+hide_table_of_contents: true
+api: eJzlVtuKG0cQ/ZWi/WKLWWkdHGLmISDHa9jYBGPvEsJaoNJMSdNWT3e7L1rJYiAfkS/Ml4TquUjaXTsOhLzkabU9dTl1O1V7YSw5DNLoy1LkwlFtNvTCmHWNb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7cd5StJcyVqGOXyK5HZwuCW4GAT9cgOpCxVL4srONW3DT52JpSTV0ianBWQA9G1eeieDSa7kkkJRpe9shIHRGKYw11GpOWxQRYKlcac+pC65RpQMcz0cgTZQG5cARhV8n5thHV7tLHl+7F98qsaCwGhqx8sRAU+Kzz/oMxiNlNTr0SjFMoXrd2+OlrQMFZjU56igcHirqISaApYYcNyqM+8P6on/gZ+YpKkTSc3Zy2iIVhksefFLRfBY1tzkxsHbl6+eJA61xocaE313d8gXb0j1wMW5P+yEbz8+W+o4WmJN1rLfviPQm3TGeZGJfLjnhsnk16NbaZYJpgBW2u+5F6+dahp+Tu3GF+yBQhPRltLz71LkS1SevhLR43fdUngCX8LdPaLeJaZWkf8TmVjT7nCN8gX6H3o9yk4zazLR8kWKvRWYFgXZcKR6b5vzDhjW28uLNxdXFyITeEr+d8g+OXgQ2X7fSlwxuTXNADSRHWNsmr8ApAaEbg==
+sidebar_class_name: "delete api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Remove a bookmark from a list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"delete"}
+ path={"/lists/{listId}/bookmarks/{bookmarkId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Remove a bookmark from a manual list.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the list.","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"},{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — the bookmark was removed from the list successfully."},"400":{"description":"Bookmark is not in the list.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"List or bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/replace-asset-on-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/replace-asset-on-bookmark.api.mdx
new file mode 100644
index 00000000..f863c695
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/replace-asset-on-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: replace-asset-on-bookmark
+title: "Replace asset on a bookmark"
+description: "Replace an existing asset on a bookmark with a different previously uploaded asset."
+sidebar_label: "Replace asset on a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJy9VttuGzcQ/ZUB+5IIa8kpUjTYhwLKDXATtIZjoygcARrtzmoZcUmG5FpShAX6Ef3Cfkkx3Isky0lT9PJiyNy5nLmdmZ0wlhwGafRFLlLhyCrMaOo9hZ/1c2NWFbqVSEROPnPSsqBIxVUrBqiBNtIHqZeArANGA8Ki04O1DCUg5LIoyJEOYB3dSVN7tYXaKoM55a3iWCQi4NKL9Fb0br2YJcJTVjsZtiK93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h481uS3sTwcuBkFP2iB1puqcuLJzTZvwojNRSFItyXJaQAZeDDEvvZPBJFeyoJCV3ULZBAZGY5jCXNdKzeEOVU1QGHfsQ+qca0TRMNfDEWgDlXERYK2C73MzEOr11pLnx+FwitVYEK/TdhgdEfBc+fS9PoPRSEm9Go1iLFO4uXp772Qzsc9RQeZwrSiHigLmGHDcqvOWGNTjtgB+YkanTiQ2Zy+j99deIRXBI1lxkxsHly9fP46Ea40PFUau7w6O4cg8PSzvz+Nuvz7+q9u0JaWD9dgkLa/uOnK+HS47LxKRHp157aTy83AoJIIJg9V2O+7cG6eahp9jc/J5u6fnSOK59Pw7F2mBytMXMvDoqts3j+FzyLtH1Nu4BVTN/4lErGh7fKLyWfo/eu7T08yaRLT0EoNvv75oHZ1xwx9on9wLDLrVmGYZ2XAgewhmdrBmL2+uebV0R2wVrwjhcC2S+DdCbKcibqz4thMK9bKOZ4JoHfMiwuM9dm9vxXAeTMJu10pcM/M2zZCTyMSckab5E6WWyl4=
+sidebar_class_name: "put api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Replace asset on a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"put"}
+ path={"/bookmarks/{bookmarkId}/assets/{assetId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Replace an existing asset on a bookmark with a different previously uploaded asset.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"string","description":"The unique identifier of the asset.","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The ID of the new asset to replace the existing one.","content":{"application/json":{"schema":{"type":"object","properties":{"assetId":{"type":"string","description":"The ID of the new asset to use as a replacement."}},"required":["assetId"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"204":{"description":"No content — asset was replaced successfully."},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark or asset not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/replace-asset.api.mdx b/docs/versioned_docs/version-v0.31.0/api/replace-asset.api.mdx
deleted file mode 100644
index 53865886..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/replace-asset.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: replace-asset
-title: "Replace asset"
-description: "Replace an existing asset with a new one"
-sidebar_label: "Replace asset"
-hide_title: true
-hide_table_of_contents: true
-api: eJy9VE2P4zYM/SsCT11AO54ttujCt2yxBaYFisE0ix6CHBibiTWxJa1EzyQ19N8Lys7XTDpAgUUvgSOR1HuPjxygplgF49k4CyU8kG+xIoVW0c5ENnajMEZi9Wy4UagsPStnCTQwbiKUC/js3LbDsI2w1BCp6oPhPZSLAVaEgcKs5wbKxTItNXgM2BFTiDkgVg11COUAvPcEJUQOxm5AA+2w860cGTJ1u9tvuufHTz+73d8/NTtmV30SBIZzyAHBXQ1JQ6BvvQlUQ8mhJw0WOwlanYI0GOHqkRtI+rvBmIlOb2LAKeICwHIMp8ifXb0XFJctmTeUVR/bwE6FqUfSEdBQOctkWRLR+9ZUKInFY5TsK+Tc6pEqBg0+OE+BDcWcO2F7pUK64LM4Bi5TGq+idzaORX68/fiawB9OTRjV+4OZMB5o1Cr2VUUxrvu23Yt4H68VOfRYWcdq7Xpbfz/qlavpCm8NHcWIm2t3LzTJFU7xWZqcz42rpdN9flX6XUJxsGIshpMrU5GlicUwCZxAxik8HYalDy2UMGBdB4oxFehN8fQBNDxhMLhqpzaO16OAa+xbhhIaZh/LouCwv9liwC2Rv0HvQV/x2lRBubXihtTvU7wasUBK6WzO/xSJx5fPp/2ol7wsPHKYTGEOAj19/OpCh4Lwt7/mWVRp3cNpGr4c5u/Mn2f9MXbt5E40Ggl8uLm9uT2bySP62f3dVbaz+zu1duGSqkiTNHgXucNspWmAj+tRwLysN5z8+J/26KgU044L36Kx8nRu9jA5ZnFcXhE0lBebbDSNHB/nUkPjIkvaMKww0tfQpiTH33oKspmXJ89kZ9UmyncN5RrbSG/Q+uFhMv079W/Ip0O0+2zNtpd/oGFL+8stLJv3f3z5IE9aJg0NYU0hkx9vfxkfej+XGqfsV1tFQI8Zs6oiz2/GLs82wP3Xubh+2vBd3jgQ8Bl0/s1AXeadhymfDdCi3fR5A8FYUmYEL0fsxUhlUlelGIYxYu62ZFM6KsPyX3RJ6R8BPcUh
-sidebar_class_name: "put api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Replace asset"}
->
-</Heading>
-
-<MethodEndpoint
- method={"put"}
- path={"/bookmarks/{bookmarkId}/assets/{assetId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Replace an existing asset with a new one
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"},{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"AssetId"},"required":true,"name":"assetId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The new asset to replace with","content":{"application/json":{"schema":{"type":"object","properties":{"assetId":{"type":"string"}},"required":["assetId"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"204":{"description":"No content - asset was replaced successfully"},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/search-bookmarks.api.mdx b/docs/versioned_docs/version-v0.31.0/api/search-bookmarks.api.mdx
index e7491d34..f4ac5574 100644
--- a/docs/versioned_docs/version-v0.31.0/api/search-bookmarks.api.mdx
+++ b/docs/versioned_docs/version-v0.31.0/api/search-bookmarks.api.mdx
@@ -1,11 +1,11 @@
---
id: search-bookmarks
title: "Search bookmarks"
-description: "Search bookmarks"
+description: "Full-text search across all bookmarks. Searches bookmark titles, content, descriptions, and notes. Results default to relevance sorting."
sidebar_label: "Search bookmarks"
hide_title: true
hide_table_of_contents: true
-api: eJzNWEtv4zYQ/ivCXNoCQpzt0Tdv0EdadBM0WfQQ6DCWRhbXFKmQlBOvof9eDClLsiMn8m6A9hRHnMc3Dw5nZgcZ2dSIygmtYA53hCYtoqXW6xLN2kIMDlcW5g/wsfuWxGAprY1wW5g/7GBJaMg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8BzU6nQw==
sidebar_class_name: "get api-method"
info_path: api/karakeep-api
custom_edit_url: null
@@ -36,7 +36,7 @@ import Heading from "@theme/Heading";
-Search bookmarks
+Full-text search across all bookmarks. Searches bookmark titles, content, descriptions, and notes. Results default to relevance sorting.
<Heading
id={"request"}
@@ -47,7 +47,7 @@ Search bookmarks
</Heading>
<ParamsDetails
- parameters={[{"schema":{"type":"string"},"required":true,"name":"q","in":"query"},{"schema":{"type":"string","enum":["asc","desc","relevance"],"default":"relevance"},"required":false,"name":"sortOrder","in":"query"},{"schema":{"type":"number"},"required":false,"name":"limit","in":"query"},{"schema":{"type":"string","title":"Cursor"},"required":false,"name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."},"required":false,"description":"If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.","name":"includeContent","in":"query"}]}
+ parameters={[{"schema":{"type":"string","description":"The search query string."},"required":true,"description":"The search query string.","name":"q","in":"query"},{"schema":{"type":"string","enum":["asc","desc","relevance"],"default":"relevance","description":"Sort order for results. Defaults to 'relevance'. Use 'asc' or 'desc' for date-based sorting."},"required":false,"description":"Sort order for results. Defaults to 'relevance'. Use 'asc' or 'desc' for date-based sorting.","name":"sortOrder","in":"query"},{"schema":{"type":"number","description":"Maximum number of items to return per page."},"required":false,"description":"Maximum number of items to return per page.","name":"limit","in":"query"},{"schema":{"type":"string","description":"Cursor from a previous response to fetch the next page.","title":"Cursor"},"required":false,"description":"Cursor from a previous response to fetch the next page.","name":"cursor","in":"query"},{"schema":{"type":"boolean","default":true,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."},"required":false,"description":"If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.","name":"includeContent","in":"query"}]}
>
</ParamsDetails>
@@ -62,7 +62,7 @@ Search bookmarks
<StatusCodes
id={undefined}
label={undefined}
- responses={{"200":{"description":"Object with the search results.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}}}}
+ responses={{"200":{"description":"A paginated list of bookmarks matching the search query.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"attachedBy":{"type":"string","enum":["ai","human"]}},"required":["id","name","attachedBy"]}},"content":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["link"]},"url":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"imageAssetId":{"type":"string","nullable":true},"screenshotAssetId":{"type":"string","nullable":true},"pdfAssetId":{"type":"string","nullable":true},"fullPageArchiveAssetId":{"type":"string","nullable":true},"precrawledArchiveAssetId":{"type":"string","nullable":true},"videoAssetId":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"htmlContent":{"type":"string","nullable":true},"contentAssetId":{"type":"string","nullable":true},"crawledAt":{"type":"string","nullable":true},"crawlStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true}},"required":["type","url"]},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"text":{"type":"string"},"sourceUrl":{"type":"string","nullable":true}},"required":["type","text"]},{"type":"object","properties":{"type":{"type":"string","enum":["asset"]},"assetType":{"type":"string","enum":["image","pdf"]},"assetId":{"type":"string"},"fileName":{"type":"string","nullable":true},"sourceUrl":{"type":"string","nullable":true},"size":{"type":"number","nullable":true},"content":{"type":"string","nullable":true}},"required":["type","assetType","assetId"]},{"type":"object","properties":{"type":{"type":"string","enum":["unknown"]}},"required":["type"]}]},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"assetType":{"type":"string","enum":["linkHtmlContent","screenshot","pdf","assetScreenshot","bannerImage","fullPageArchive","video","bookmarkAsset","precrawledArchive","userUploaded","avatar","unknown"]},"fileName":{"type":"string","nullable":true}},"required":["id","assetType"]}}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId","tags","content","assets"],"title":"Bookmark"}},"nextCursor":{"type":"string","nullable":true,"description":"Cursor for the next page, or null if no more results."}},"required":["bookmarks","nextCursor"],"title":"PaginatedBookmarks"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
>
</StatusCodes>
diff --git a/docs/versioned_docs/version-v0.31.0/api/sidebar.ts b/docs/versioned_docs/version-v0.31.0/api/sidebar.ts
index 0b9c7fb6..4a832954 100644
--- a/docs/versioned_docs/version-v0.31.0/api/sidebar.ts
+++ b/docs/versioned_docs/version-v0.31.0/api/sidebar.ts
@@ -12,13 +12,13 @@ const sidebar: SidebarsConfig = {
items: [
{
type: "doc",
- id: "api/get-all-bookmarks",
+ id: "api/list-bookmarks",
label: "Get all bookmarks",
className: "api-method get",
},
{
type: "doc",
- id: "api/create-a-new-bookmark",
+ id: "api/create-bookmark",
label: "Create a new bookmark",
className: "api-method post",
},
@@ -30,68 +30,74 @@ const sidebar: SidebarsConfig = {
},
{
type: "doc",
- id: "api/get-a-single-bookmark",
+ id: "api/check-bookmark-url",
+ label: "Check if a URL exists in bookmarks",
+ className: "api-method get",
+ },
+ {
+ type: "doc",
+ id: "api/get-bookmark",
label: "Get a single bookmark",
className: "api-method get",
},
{
type: "doc",
- id: "api/delete-a-bookmark",
+ id: "api/delete-bookmark",
label: "Delete a bookmark",
className: "api-method delete",
},
{
type: "doc",
- id: "api/update-a-bookmark",
+ id: "api/update-bookmark",
label: "Update a bookmark",
className: "api-method patch",
},
{
type: "doc",
- id: "api/summarize-a-bookmark",
+ id: "api/summarize-bookmark",
label: "Summarize a bookmark",
className: "api-method post",
},
{
type: "doc",
- id: "api/attach-tags-to-a-bookmark",
+ id: "api/attach-tags-to-bookmark",
label: "Attach tags to a bookmark",
className: "api-method post",
},
{
type: "doc",
- id: "api/detach-tags-from-a-bookmark",
+ id: "api/detach-tags-from-bookmark",
label: "Detach tags from a bookmark",
className: "api-method delete",
},
{
type: "doc",
- id: "api/get-lists-of-a-bookmark",
+ id: "api/get-bookmark-lists",
label: "Get lists of a bookmark",
className: "api-method get",
},
{
type: "doc",
- id: "api/get-highlights-of-a-bookmark",
+ id: "api/get-bookmark-highlights",
label: "Get highlights of a bookmark",
className: "api-method get",
},
{
type: "doc",
- id: "api/attach-asset",
- label: "Attach asset",
+ id: "api/attach-asset-to-bookmark",
+ label: "Attach asset to a bookmark",
className: "api-method post",
},
{
type: "doc",
- id: "api/replace-asset",
- label: "Replace asset",
+ id: "api/replace-asset-on-bookmark",
+ label: "Replace asset on a bookmark",
className: "api-method put",
},
{
type: "doc",
- id: "api/detach-asset",
- label: "Detach asset",
+ id: "api/detach-asset-from-bookmark",
+ label: "Detach asset from a bookmark",
className: "api-method delete",
},
],
@@ -102,49 +108,49 @@ const sidebar: SidebarsConfig = {
items: [
{
type: "doc",
- id: "api/get-all-lists",
+ id: "api/list-lists",
label: "Get all lists",
className: "api-method get",
},
{
type: "doc",
- id: "api/create-a-new-list",
+ id: "api/create-list",
label: "Create a new list",
className: "api-method post",
},
{
type: "doc",
- id: "api/get-a-single-list",
+ id: "api/get-list",
label: "Get a single list",
className: "api-method get",
},
{
type: "doc",
- id: "api/delete-a-list",
+ id: "api/delete-list",
label: "Delete a list",
className: "api-method delete",
},
{
type: "doc",
- id: "api/update-a-list",
+ id: "api/update-list",
label: "Update a list",
className: "api-method patch",
},
{
type: "doc",
- id: "api/get-bookmarks-in-the-list",
- label: "Get bookmarks in the list",
+ id: "api/get-list-bookmarks",
+ label: "Get bookmarks in a list",
className: "api-method get",
},
{
type: "doc",
- id: "api/add-a-bookmark-to-a-list",
+ id: "api/add-bookmark-to-list",
label: "Add a bookmark to a list",
className: "api-method put",
},
{
type: "doc",
- id: "api/remove-a-bookmark-from-a-list",
+ id: "api/remove-bookmark-from-list",
label: "Remove a bookmark from a list",
className: "api-method delete",
},
@@ -156,38 +162,38 @@ const sidebar: SidebarsConfig = {
items: [
{
type: "doc",
- id: "api/get-all-tags",
+ id: "api/list-tags",
label: "Get all tags",
className: "api-method get",
},
{
type: "doc",
- id: "api/create-a-new-tag",
+ id: "api/create-tag",
label: "Create a new tag",
className: "api-method post",
},
{
type: "doc",
- id: "api/get-a-single-tag",
+ id: "api/get-tag",
label: "Get a single tag",
className: "api-method get",
},
{
type: "doc",
- id: "api/delete-a-tag",
+ id: "api/delete-tag",
label: "Delete a tag",
className: "api-method delete",
},
{
type: "doc",
- id: "api/update-a-tag",
+ id: "api/update-tag",
label: "Update a tag",
className: "api-method patch",
},
{
type: "doc",
- id: "api/get-bookmarks-with-the-tag",
- label: "Get bookmarks with the tag",
+ id: "api/get-tag-bookmarks",
+ label: "Get bookmarks with a tag",
className: "api-method get",
},
],
@@ -198,31 +204,31 @@ const sidebar: SidebarsConfig = {
items: [
{
type: "doc",
- id: "api/get-all-highlights",
+ id: "api/list-highlights",
label: "Get all highlights",
className: "api-method get",
},
{
type: "doc",
- id: "api/create-a-new-highlight",
+ id: "api/create-highlight",
label: "Create a new highlight",
className: "api-method post",
},
{
type: "doc",
- id: "api/get-a-single-highlight",
+ id: "api/get-highlight",
label: "Get a single highlight",
className: "api-method get",
},
{
type: "doc",
- id: "api/delete-a-highlight",
+ id: "api/delete-highlight",
label: "Delete a highlight",
className: "api-method delete",
},
{
type: "doc",
- id: "api/update-a-highlight",
+ id: "api/update-highlight",
label: "Update a highlight",
className: "api-method patch",
},
@@ -230,36 +236,36 @@ const sidebar: SidebarsConfig = {
},
{
type: "category",
- label: "Users",
+ label: "Assets",
items: [
{
type: "doc",
- id: "api/get-current-user-info",
- label: "Get current user info",
- className: "api-method get",
+ id: "api/upload-asset",
+ label: "Upload a new asset",
+ className: "api-method post",
},
{
type: "doc",
- id: "api/get-current-user-stats",
- label: "Get current user stats",
+ id: "api/get-asset",
+ label: "Get a single asset",
className: "api-method get",
},
],
},
{
type: "category",
- label: "Assets",
+ label: "Users",
items: [
{
type: "doc",
- id: "api/upload-a-new-asset",
- label: "Upload a new asset",
- className: "api-method post",
+ id: "api/get-current-user",
+ label: "Get current user info",
+ className: "api-method get",
},
{
type: "doc",
- id: "api/get-a-single-asset",
- label: "Get a single asset",
+ id: "api/get-current-user-stats",
+ label: "Get current user stats",
className: "api-method get",
},
],
@@ -270,8 +276,8 @@ const sidebar: SidebarsConfig = {
items: [
{
type: "doc",
- id: "api/update-user",
- label: "Update user",
+ id: "api/admin-update-user",
+ label: "Update a user (admin)",
className: "api-method put",
},
],
@@ -282,31 +288,31 @@ const sidebar: SidebarsConfig = {
items: [
{
type: "doc",
- id: "api/get-all-backups",
+ id: "api/list-backups",
label: "Get all backups",
className: "api-method get",
},
{
type: "doc",
- id: "api/trigger-a-new-backup",
+ id: "api/create-backup",
label: "Trigger a new backup",
className: "api-method post",
},
{
type: "doc",
- id: "api/get-a-single-backup",
+ id: "api/get-backup",
label: "Get a single backup",
className: "api-method get",
},
{
type: "doc",
- id: "api/delete-a-backup",
+ id: "api/delete-backup",
label: "Delete a backup",
className: "api-method delete",
},
{
type: "doc",
- id: "api/download-a-backup",
+ id: "api/download-backup",
label: "Download a backup",
className: "api-method get",
},
diff --git a/docs/versioned_docs/version-v0.31.0/api/summarize-a-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/summarize-a-bookmark.api.mdx
deleted file mode 100644
index 05396a02..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/summarize-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: summarize-a-bookmark
-title: "Summarize a bookmark"
-description: "Attaches a summary to the bookmark and returns the updated record."
-sidebar_label: "Summarize a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVU2P2zYQ/SvCnFKAsJ0iRQLd3EOBbQ9ddLfIwfBhLI0triWSIYdeOwL/ezCUP3eVdg97skwOZ948vnnsoaZQee1YWwMlzJmxaigUWITYdegPBduCGypW1m479NsCTV144uhNyBvR1cgka5X19QQUMG4ClAv4/XgkwFJBoCp6zQcoFz2sCD35eeQGysUyLRU49NgRkw85IFQNdQhlD3xwBCUE9tpsQAHtsXOtLGnSdbs/bLrnpy+f7f77b82e2VZfBIHmHHJCcFdDUuDpW9SeaijZR1JgsJOg1SVIgRYWHHIDgspTcNYECoLk19lMfm4Je7xi4EzRs+bmxB8oqKxhMiyH0blWVyiHp09BMoz0aldPVDEocN468qyH+rp+zUdSUHmS6nMe3e1srdd6fFuBiW2LK6FKGEln4t4Qib5q9I6uMa2sbQmNlF3jzsp1/2yfcbPRZvPAyDH8fz0FZGInmgqxqigEkBK6jZ6EJjK1nFomBQPr+num+P3TG8tvo+d0+2+KtdFXb0h7gYlOg4JnWom6Wvnu7Eq3lOeDyQQRp4Kgzaal9bDhc1u6c9Zz7iUG8ndjmroZlYXo7lplN5q60sHNpb+84fGLOWNYpiRVP80+vZ6w0wwXxnKxttHU7zdSla1HeJexoRBwM7b3gpyc4RKfG8nnubG1WIkNuaw4SgnTk0WEaX+xnTQ9kSOpAvndyQajb6GEHuvaUwhpik5Pdx9BwQ69FmHkLo7bA3VrjC1DCQ2zC+V0yv4w2aLHLZGboHOgRhzsmKGw62zpfx3jiwELpJSuHPxByB0qX/v4mSmpLH3kMBn7HATq+PGH9R0Kwj+/PmY6tVlbOS5dD5A+TmaT2ZWNn/HM7+9G8c/v74q19bfgpdmk8g10mGVxNPyHE9sFnj37Zdr+IrF3ehQHcpj2PHUt6myD+X77ozoW55dIJqO8eZYuAlkqaERT5QL6foWB/vVtSrL8LZIYzmJ5kUcWUa2DfNdQrrEN9B+NfvjnqOxfip8hPi6iOWQVtlH+gYItHW6f0iQW0xDW5DOKIWBeVeT46uir6RWlnafn/u+HR/GYW4G9EFROP4qr74eIR7slk9IZJst/QZjSD3WCHTs=
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Summarize a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/bookmarks/{bookmarkId}/summarize"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Attaches a summary to the bookmark and returns the updated record.
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The updated bookmark with summary","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/summarize-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/summarize-bookmark.api.mdx
new file mode 100644
index 00000000..7c914a57
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/summarize-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: summarize-bookmark
+title: "Summarize a bookmark"
+description: "Trigger AI summarization for a bookmark. The summary is generated asynchronously and attached to the bookmark. Returns the updated bookmark record."
+sidebar_label: "Summarize a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJzNV9tuGzcQ/ZUB85IIa8kpUjTQQwGlbQA3AWrENorCMaDRcrTLiEtueJGtCAv0I/qF/ZJiuBdJltIaaB/6pDU5nDlzOzPeCluTw6CsuZBiKnysKnTqC72xdlWhW4lMSPK5UzXLiKm4dqooyMH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bOFw6rCoHLUejP+aD6aZ8+Aw8ULQNsifDjTGsjI2ioTPHTlBnjY/zXbkKBMStF81jVrUjKHklCSG8NvNkKOZtibAE3ybEUbWDpbHeb3nhZwcwHRSHIwGl1RCMoUHr5Pb97Rxo9GPexLLJQZIL9XPuxh9rFmxoU8Om/d2QIZaj28gLVCmLeX8xSkuVaVCnP4HMltYLdTtQtgv5aAMrmOkjizc0MP4YdOxVKRbnmSwwIqALbL3mBkUMmZXFLI28WFlTAwGsMM5jx55rBGHSktogc2lJGcI0qKOR+OwFiorEsAow6+j83AidebmjwfDhtlysaCwBpq28sRAXeKn340ZzAaaWVWo1HyZQY3H94/2rZsqnPUkDu81yShooASA47b50z0w/NE+MBHzM7UiaTi7GUMxFpblCSBRyY8VxUXuXVw+ePbF4k8mbMqTLzdbZBXPT/treqPG3G7mwH/122/5ae90cj7AVPstiPo22FX5rE9PVicdxx9lwlmGBbfbrnUb5xuGj5O1cz/KOwYOvG4VJ6/pZguUXv6m8g9/9ANmxfwNcTdIZpNGgQ68l8iEyvaHC77De8/LTEkFK3ALM+pDntPj+Y1k/0wwC5/ubrmBeiQ4x9xelJ/Etd220pcM4c1zQAzcRojbJq/ACkPBf8=
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Summarize a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/bookmarks/{bookmarkId}/summarize"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Trigger AI summarization for a bookmark. The summary is generated asynchronously and attached to the bookmark. Returns the updated bookmark record.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={undefined}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The bookmark with the updated summary.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/trigger-a-new-backup.api.mdx b/docs/versioned_docs/version-v0.31.0/api/trigger-a-new-backup.api.mdx
deleted file mode 100644
index d4eabb18..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/trigger-a-new-backup.api.mdx
+++ /dev/null
@@ -1,63 +0,0 @@
----
-id: trigger-a-new-backup
-title: "Trigger a new backup"
-description: "Trigger a new backup"
-sidebar_label: "Trigger a new backup"
-hide_title: true
-hide_table_of_contents: true
-api: eJyNVE1v2zAM/SsGz0Lc7qhbNmBANwwr0Aw7BDnQNhOrtiWVkrplhv77QNvIR5cC88W2SJGPfI8coaFQs/HROAsaNmwOB+ICC0u/igrrLnlQEPEQQG/h43QQYKcgUJ3YxCPo7QgVIROvU2xBb3d5p4ApeGcDBdAjfLi7l9d1qjlWUTNhpKYIqa4phH3q+yMoqJ2NZKNcQ+97U6NcK5+D3B0h1C0NKF/x6Ak0uOqZ6ggKPDtPHM2c2TQXPiGysQfIClIgfrhtwhAo3rIpsKnvseoJdOREWcGCfR1vRgrmD10YbBoqYjFUznUDcvfJJRtveoSIMYVbGMimQZjwZJv5ZGkcKNij6RMT7LICYnb8jULAA/1HLVkYe0mGqZHopoFTk84tuSx4Ke9tMSfouyyPgoFi6xrQ4F2Y6EHRCJTVoiQREr8Sh0lHiXvQMGLTMIWQS/SmfL0HBa/IRuBOPVnMs6T2mPoIGtoYfdBlGfm46pCxI/Ir9KLeNxJvqVgiFG5fxJaKr4t/MWOBnPOFwp9Ea3PmS52feiqZpY7JDfTiJK2ZPj47HlAQfvm5AWmJsXsn16XqGdL96m51J2NmojACJzzrx4eb+NePD8Xe8TV4KTarqdEDTlNicQL0zlBfhR3PE/fuEpjLjfQ7lr5HY6dJEsbGhdYtVOcF0QrhegvjWGGgH9znLMcviViWxu5M6rQzFLSEDfGkg46OoGFd1+TjxH6fJPU/m0BoOins8fvTRtR6zc4bNqbwiwnt8SL4OM4eG9eRzRnUgiLKP2QR9F+uE8Zd
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Trigger a new backup"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/backups"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Trigger a new backup
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={undefined}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"201":{"description":"Backup created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"assetId":{"type":"string","nullable":true},"createdAt":{"type":"string"},"size":{"type":"number"},"bookmarkCount":{"type":"number"},"status":{"type":"string","enum":["pending","success","failure"]},"errorMessage":{"type":"string","nullable":true}},"required":["id","userId","assetId","createdAt","size","bookmarkCount","status"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/update-a-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/update-a-bookmark.api.mdx
deleted file mode 100644
index 5536c01c..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/update-a-bookmark.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: update-a-bookmark
-title: "Update a bookmark"
-description: "Update bookmark by its id"
-sidebar_label: "Update a bookmark"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVtuO2zYQ/RVhnlpAtb1FigZ6c4IW3V7QRbJBHww/jMSRxbVEKrx47Rj692IoWZddZeOiqyeRHJLDM+fMzBkE2czI2kmtIIFPtUBHUar1vkKzj9JTJJ2NpIAYHO4sJBt41y1a2MZgKfNGuhMkmzOkhIbM2rsCks222cZQo8GKHBkbDGxWUIWQnMGdaoIErDNS7SAGOmJVlzwlSYryeNpVjw9vf9bHLz8VR+d09pY9kC6YXDy4FdDEYOizl4YEJM54ikFhxUbpYBSD5MfV6Apgr3gHWfdOixP7MoXgvqBIoMPI6cgHO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PxRueNYvH+dxa3Os9qabp4XE8ZmSa5l9CRZNh
-sidebar_class_name: "patch api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Update a bookmark"}
->
-</Heading>
-
-<MethodEndpoint
- method={"patch"}
- path={"/bookmarks/{bookmarkId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Update bookmark by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The data to update. Only the fields you want to update need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"summary":{"type":"string","nullable":true},"note":{"type":"string"},"title":{"type":"string","nullable":true,"maxLength":1000},"createdAt":{"type":"string","nullable":true},"url":{"type":"string","format":"uri"},"description":{"type":"string","nullable":true},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true},"text":{"type":"string","nullable":true},"assetContent":{"type":"string","nullable":true}}}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The updated bookmark","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId"]}}}},"404":{"description":"Bookmark not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/update-a-highlight.api.mdx b/docs/versioned_docs/version-v0.31.0/api/update-a-highlight.api.mdx
deleted file mode 100644
index c8b25624..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/update-a-highlight.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: update-a-highlight
-title: "Update a highlight"
-description: "Update highlight by its id"
-sidebar_label: "Update a highlight"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVcGO2zYQ/RViTg3A2E6QooFubtAimx6ySBzkYPhAi2OLa4lkyNGuVUH/Xgwl2/Kusg2Q+CSLT5yZN+/NtKAx5sF4Ms5CBl+8VoSiMPuiNPuCxLYRhqIwGiSQ2kfI1vD+dBphIyFiXgdDDWTrFraoAoZlTQVk6023keBVUBUShpgAMS+wUpC1QI1HyCBSMHYPEvCoKl/yK4NGl8dmXz3cvf3DHf/9vTgSufwtp2AoQc4p3GjoJAT8VpuAGjIKNUqwqmJUMUJJMFygV1QA58WfYKQ/nW44m2saVgUKrUgJcqJOlMzER1s2ggoUO4OljqJxtXhQli4YYRE1/92i8MHdG416BhJyZwktcRjlfWlyxWHmd5FjTVDitneYE0jwwXkMZDDyae5KFyaZs3XFfWmwLN0DcG1c7z4gWpCwLWuETSfBOsKp721dlmrLvDJ7XfrxJdE7G/vYrxeLaZb6yvVFMb+u3q1zh0qFw41+mnQnIZIK9HG3i0ijc1tXWwx8jlY/c/pzZErQuFN1SZCdgJ0EwiP9AL8/3AgJZrr0OmL4Dit5QO7HciKR7soo6zG/12yOuRuqGnJOGZ3jj6NtJrwJvZDeLN481c4ZJKwjsXO11b/SKXqC305ChTGq/dTZI27SDRf8ZvBEhVQ43Y+RvOC4PE4ymJ/lH+ftaOp0zCyG+9P0q0MJGbRK64AxdnPlzfz+FUi4V8Fw51P6w3FP2klmBZGP2XxOoZkdVFAHRD9T3oOccOVwg3C7NLH+GfCiz4X7Mhrcn5nVwXKj8X2miCNzHQkG2QBiL6SHv12oFGf44esq8cjd+nSZrn+d5vp5gl281Rth1CBjd46RzFhfzqvZYrYYTf5zLcvbm8nal7c3YufCdeFMVCfBu0iVSloaVsSw8NTVALu6tL2o8n/WY08X+2XuS2Vssip3vB10sr5spAgSsvF+2kgoXCQGte1WRfwSyq7j199qDLxdNxeZJDFpE/lZQ7ZTZcRn0v7t0yDtF+J7eQ4vlW2SGnnKZQASDtg8WqQdr5IClcaQ0ugR7/pgL1d8z+WGJy7u5OmLZZ6jp2exm5Hjbperd+9ZdMPCrpLHIag0o9VDn65L1Sctp3ctlMru6+R56C9liaprhT9SdCprkpC27RErd0DbdWd+iP8zM133H3AUMso=
-sidebar_class_name: "patch api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Update a highlight"}
->
-</Heading>
-
-<MethodEndpoint
- method={"patch"}
- path={"/highlights/{highlightId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Update highlight by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"HighlightId"},"required":true,"name":"highlightId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The data to update. Only the fields you want to update need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"color":{"type":"string","enum":["yellow","red","green","blue"]},"note":{"type":"string","nullable":true}}}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The updated highlight","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"404":{"description":"Highlight not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/update-a-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/update-a-list.api.mdx
deleted file mode 100644
index a6d82888..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/update-a-list.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: update-a-list
-title: "Update a list"
-description: "Update list by its id"
-sidebar_label: "Update a list"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVk1v4zYQ/SvEnFqAtZ1iF13o5gYtmnaBBqkXPRg6jMWxxUQitSQVWxX03xdDyZYdK1kUiA+GSI7m4817Q7WgyGdOV0FbAwl8qRQGEoX2QWwaoYMXWoGEgDsPyRo+ax88p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N0JmsBrRqbrvgEFSoAx
-sidebar_class_name: "patch api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Update a list"}
->
-</Heading>
-
-<MethodEndpoint
- method={"patch"}
- path={"/lists/{listId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Update list by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The data to update. Only the fields you want to update need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","nullable":true,"minLength":0,"maxLength":500},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"query":{"type":"string","minLength":1},"public":{"type":"boolean"}}}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The updated list","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}}},"404":{"description":"List not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/update-a-tag.api.mdx b/docs/versioned_docs/version-v0.31.0/api/update-a-tag.api.mdx
deleted file mode 100644
index 73362456..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/update-a-tag.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: update-a-tag
-title: "Update a tag"
-description: "Update tag by its id"
-sidebar_label: "Update a tag"
-hide_title: true
-hide_table_of_contents: true
-api: eJytVMGO2zYQ/RViTgnA2k6RooFubpCg2x66SB3kYOgwFscWdyWRIUe7VgX9ezCkdu3deoMc4oNtcZ44b2bemxEMxSpYz9Z1UMBnb5BJMR7UblCWo7IGNDAeIhRb2MhvqSFS1QfLAxTbEXaEgcK65xqKbTmVGjwGbIkpxASIVU0tQjECD56ggMjBdgfQQEdsfSNHlqxpjsOhvb9597s7/vdbfWR21TtJbjlBNni4MjBpCPS1t4EMFBx60tBhK3FOcQ1WCvHINQgXAVPkP5wZhMHTcjc1KYOMip3qU+kL9U/XDIprUntLjYlqcL26x45PGNURGXnckfLB3VlDZgEaKtcxdSxp0PvGVihpljdRcl1og9vdUMWgwQfnKbClKNFczvNmTekj9UTvupihv65Wl4vKRI0M8ucRs+YCLf0i3/NBbSHpKEHLXMjb1dsL3PGgOsdq7/rO/DzmlTOXKGpoKUY8/AD9dMMJX87TaIlrZ7Leqlryiu4KWIpjlmOS5ARimHD3YIc+NFDAiMYEinFaorfLuzeg4Q6DxV2TKc/h3KI99g1DATWzj8VyyWFY3GLAWyK/QO9BX9DAfINy+yTnv2e8ylxEUGdO/lc6mTOf+/mxLZJZ6kgwKGYQ6PnPRxdaFIZ/fdmk3smEPp2s9+HB6A/yPpuB7fZOAtKgzP7NYrVYnTn/kfr6+upiqevrK7V34Wmd0pdJg3eRW+zOUs9LDmd3PLluPEnuxWWYO8J05KVv0HaSJQ11nMe/zQtTQ5F3UqmhdpElMI47jPQ5NNMkx197CrJFy9P0k0aMjfLfQLHHJtJ3SL76NKv0tXqJ23yI3ZBE1vTyBBpuaXhcm1M5aagJDYVEIMfe5zS/bOSG07v/s+KkH95YVxV5/i62PLPN9Xrz/k9R0bye22RUCHgPOn0noi7VncSZzkZosDv0ybiQLxXN4VPJPpNoKutiK8YxIzbulrppOnVGnqUz0/QN/t1xKA==
-sidebar_class_name: "patch api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Update a tag"}
->
-</Heading>
-
-<MethodEndpoint
- method={"patch"}
- path={"/tags/{tagId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Update tag by its id
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The data to update. Only the fields you want to update need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"The updated tag","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}}}},"404":{"description":"Tag not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/update-bookmark.api.mdx b/docs/versioned_docs/version-v0.31.0/api/update-bookmark.api.mdx
new file mode 100644
index 00000000..e5666d4e
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/update-bookmark.api.mdx
@@ -0,0 +1,71 @@
+---
+id: update-bookmark
+title: "Update a bookmark"
+description: "Partially update a bookmark. Only the fields provided in the request body will be updated. Supports updating common fields (title, note, archived, favourited) as well as type-specific fields."
+sidebar_label: "Update a bookmark"
+hide_title: true
+hide_table_of_contents: true
+api: eJzdWNuOG8cR/ZVC+0VazHJXhgMbfAhAKTaytgIvpF0EwWoBFqeLMy32dI/6Qi5FEPBH5AvzJUn1XLmkZQbRU/hCsqequi6nbrMTtiaHQVlzI8VUxFpioNfWrip0K5EJST53qmYCMRW36IJCrbfQEALCoqWdwK9GbyGUBEtFWnqonV0rSRKUSceOPkXyARZWbmGjtIYFtXLkBN7HurYu+OZEmQJyW1XWdNJeBBU0ZWBsoAzQ5aVak8xgiWsbnQokXwJ62JDW/B22NV36mnK1VHkrYyIyEbDwYvogOhO9eMyEp5xFbMX0YScWhI7cLIZSTB8e94+ZqNFhRYGcTwQ+L6lCMd0JvkRMhQ9OmeLIWXclQTTqUyRQkkxQS0UO7DI5o3ebyAQ9YVVrlqRISf20LarNxx++t0+f/1Q+hWDzH1hxNl9Me8VvpNhngn2qHEkxDS5SJgxWTLQYiDKhWJkaQynYmDYKr63csgnHKrf+DraNzXFgtzbCBk1gmrxEUxAYIsl/F9SHnS3LrQlkAl+Eda1VnpB29dHzbSc8aRcfKQ8iE7VjXAZFPvG20R5RLqzVhIZ9MCDg9HMfqwrd9lTATNQaF+xXdt8+E4yuY8J97/4/EpGJCp/ekikYPa+ur6/3mcgdMcRn4SwNotOn6JbWVRg4Q51ifQ7idoZYjKG07izSOi608iWdR80QuW055Nkcf7OS0+E8hkBP5/kOvafwZsDcHzCkD2eEr63xDdS+vb4+nR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ScGog+9807eNu21Nng/7rTNFY0FgDTWlyBGlndVPP5hLuLjQyqwuLpItM7h/97bHG2xUKMEmnKOG3OFGk4SKAkoMOGnYOc169tQTgY/S9tySJHB2NAZirS3yts5TBbxQFYPcOrj9y08vU3+prQ8VptbWbpn3z98BPM/C3dAj/x9eHTRFfzRmDOta0+se+sWbR6DpaAt/zASXHybZ7TgP7p3e7/k4QZ3fNAytLjVEqTz/lmK6RO3pC5598a5t1i/h97RsD9FsU0fVkf+JTKxoe/i2YM/zY1M1khYNQVufLxnHIwFHU88+6zhmeU51+CLt42hkuJ3dvfkr9832rUSVZiLhcMPzLW4abRvQp3acznZCoyliGnpEI3Tfrrrj5eSwKSezTvpjt2so7riw7ve9e1KhZc/s9/8GMwq28A==
+sidebar_class_name: "patch api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Update a bookmark"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"patch"}
+ path={"/bookmarks/{bookmarkId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Partially update a bookmark. Only the fields provided in the request body will be updated. Supports updating common fields (title, note, archived, favourited) as well as type-specific fields.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the bookmark.","example":"ieidlxygmwj87oxz5hxttoc8","title":"BookmarkId"},"required":true,"name":"bookmarkId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The fields to update. Only the fields you want to change need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"summary":{"type":"string","nullable":true},"note":{"type":"string"},"title":{"type":"string","nullable":true,"maxLength":1000},"createdAt":{"type":"string","nullable":true},"url":{"type":"string","format":"uri"},"description":{"type":"string","nullable":true},"author":{"type":"string","nullable":true},"publisher":{"type":"string","nullable":true},"datePublished":{"type":"string","nullable":true},"dateModified":{"type":"string","nullable":true},"text":{"type":"string","nullable":true},"assetContent":{"type":"string","nullable":true}}}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The updated bookmark.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"modifiedAt":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"archived":{"type":"boolean"},"favourited":{"type":"boolean"},"taggingStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"summarizationStatus":{"type":"string","nullable":true,"enum":["success","failure","pending"]},"note":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"source":{"type":"string","nullable":true,"enum":["api","web","cli","mobile","extension","singlefile","rss","import"]},"userId":{"type":"string"}},"required":["id","createdAt","modifiedAt","archived","favourited","taggingStatus","summarizationStatus","userId"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Bookmark not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/update-highlight.api.mdx b/docs/versioned_docs/version-v0.31.0/api/update-highlight.api.mdx
new file mode 100644
index 00000000..77e14fd1
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/update-highlight.api.mdx
@@ -0,0 +1,71 @@
+---
+id: update-highlight
+title: "Update a highlight"
+description: "Partially update a highlight. Supports changing the color or note."
+sidebar_label: "Update a highlight"
+hide_title: true
+hide_table_of_contents: true
+api: eJytV+Fu2zYQfpUD+6c1FDsdOqzQjwFu16JZCyxoEwxDGsBn8SyxpkiVpOKohoA9xJ5wTzIcJcty7BYFVv+xQx6P3313/O6yFbYih0FZcyFFKupKYqA3Ki+0yosgEiHJZ05VbCFScYkuKNS6gc4SEIqd8RQ+1FVlXfCQFWhyZXIIBUFmtXVgHRgbaCoSETD3Ir0RwzVe3CbCU1Y7FRqR3mzFktCRm9ehEOnNbXubiAodlhTI+Wjgs4JKFOlWhKYikQofnDL5EeCrgqA26nNNoCSZoFaKHNhVRLaHLhJB91hWml0pUlLfN3m5+fT8F3v/5efiPgSbPWfoKkSTAfqFFG0iHH2ulSMp0uBqSoTBkq2KkVUiFOOpMBSC4+Ej5MMLKxuO4hj1SpGWHoLtqZ7CH0Y3EXe/1dgaNmgC20TGCQyR5D+XBJWzd0qS5NgyawKZwBdhVWmVxYzPPnm+7QSZdvmJMs5+5bg+giLPuzGTpzgnU5ec0Ya0thvB0XHEuSMyIhFLXZO4bRPBFXDqvKm1xiUzy/y18cNOfGWN7+7+6fz8NE8dO/IwmT8o4KW16xLdmt/GQ9RtInxAF/5YrTyF0b6pyyU53icjv7H7/9jkQl9hrYNId4ZtIgLdh+8g+LszkQh1OvTak/sKK5kjTsj8BJD24K3cjPk9ZHPMXR9VjzkiGu4f33Z74nmKrpKenT89Lp5rg3UorFNfSMK/f/8Tn9aLKDwQ7JoMKA+l8l6ZPAFl7lArmbCQ0X3FETwoNEY5qzSq0yW2T+8gNGMEA9Jnx0iHcFhCYWVr82NftTxZCocY5lBiVihDZ45QcokAOWcd8PEp570k7zH/LldFXaJ56Kg/Pz2qkghw73+U51d8UPRyUVIorOw0Nis4TNbaVMwGZfCz7UiSW645cne7llI7LVKxRSkded/OsFKzu6ciEXfoFOOMbPXbXZJ2D7AIofLpbBZcM12jwzVRNcWqOtmOeg+7JvS2t4cOC0cz6oYfOIm9GI164kAx38xxRDOR9kasEvHHa+tKZIS//3kVeeXieL9vPa92tTiI+151OokYPWxlVpYtmbEunKfT8+n5qC0OscwvL45iHzaVBwRPenVWWB9iBeyEgGcGNBK4NM5UONMYyEVmVEZTuCqUZ9+AjLHrgMFCiQbzvROfgFY++AR40kj2ncEngN5T/DYSlpit68pzp8wdliUGlfFsM/1oPppHj4Cp5pGhe1e8ONcayMjKKhM89DUKeKgaFd8hQZmY3sW8f+LRyQIKQkluCn/ZGjI0kJPhAYwATYxsTQ2snC0Pa2NDS7i+gNpIcjCZfKAQlMk9/BrPvKXGTyY72JeYKzNAfqd8GGH23YgGWe28dWdLZKjVcALuFMKi21xEkhZalSos4HNNroH9FMbJINi1aFAm07UkzuzC0H142buIo0pUV6YFVAD0HS+7SwaXnMkVhayI++yEgdEU5rDgtrSAO9Q1wcq6wzuUkZwjio45H47AWCitiwBrHfyOmxd9icBVU5Hnxd2Kj9lYElhD3dN0RMCvzKcfzRlMJlqZ9WQSY5nD9ft3Q73BRoUCbKxz1JA53GiSUFJAiQGn3XFuD8Px2CaAl7qpuDOJxbmzMVBX2qIkCSulCR6rkovcOrj87fWTqLiV9aHEKPb9xHl9NJU/fIbbfdv4QdN8J0Sj7sfjAWvptlfgm/0g7EUi0vFYfJsIFgE22m65Gq+dbltejgXH0/9egKNMS+X5txTpCrWnb4T3+H3fRJ7A13D2i2iaqPM8WaVCJGJNzYP5veX5tXu8EUZn8bK77IzLaeThqB23ye7EPMuoCt+0vR31ssv51cs3LOf9/wllbNbCYZwLcdPB7Wovdom4thUaTV7Hbiw6pyz+eNg7HvSKGNZJQrbbzuKK9a1tB36i3jEzbfsf6cH7pg==
+sidebar_class_name: "patch api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Update a highlight"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"patch"}
+ path={"/highlights/{highlightId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Partially update a highlight. Supports changing the color or note.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the highlight.","example":"ieidlxygmwj87oxz5hxttoc8","title":"HighlightId"},"required":true,"name":"highlightId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The fields to update. Only the fields you want to change need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"color":{"type":"string","enum":["yellow","red","green","blue"]},"note":{"type":"string","nullable":true}}}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The updated highlight.","content":{"application/json":{"schema":{"type":"object","properties":{"bookmarkId":{"type":"string"},"startOffset":{"type":"number"},"endOffset":{"type":"number"},"color":{"type":"string","enum":["yellow","red","green","blue"],"default":"yellow"},"text":{"type":"string","nullable":true},"note":{"type":"string","nullable":true},"id":{"type":"string"},"userId":{"type":"string"},"createdAt":{"type":"string"}},"required":["bookmarkId","startOffset","endOffset","text","note","id","userId","createdAt"],"title":"Highlight"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Highlight not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/update-list.api.mdx b/docs/versioned_docs/version-v0.31.0/api/update-list.api.mdx
new file mode 100644
index 00000000..9075e140
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/update-list.api.mdx
@@ -0,0 +1,71 @@
+---
+id: update-list
+title: "Update a list"
+description: "Partially update a list. Only the fields provided in the request body will be updated."
+sidebar_label: "Update a list"
+hide_title: true
+hide_table_of_contents: true
+api: eJy1V+9u2zYQf5UD+6U1FNsZWqzwhwFu1mJZCyxIEwxDasBn8SyxpkiVpGK7hoA9xJ5wTzIcJct27KQb0PVDapHH+/vj744bYUtyGJQ1l1KMRFVKDPRB+SASIcmnTpW8KUbiCl1QqPUaGiFA0MqHPvxm9BpCTjBXpKWH0tl7JUmCMnHZ0ZeKfICZlWtYKq1hRq0O2ReJCJh5MboTbNWLSSI8pZVTYS1GdxsxI3TkxlXIxehuUk8SUaLDggI5HwV8mlOBYrQRYV2SGAkfnDLZkf83OUFl1JeKQEkyQc0VObDz6GOMRCSCVliUmrUoUlKv1lmx/Pz6R7v6+ipfhWDT1+ywClGEHb6Uok4Eh6gcSTEKrqJEGCxYQDcCiVDsQIkhFxxAm5A3Vq7Z7WM320QG26bpOMdrW8ESTWCZNEeTERgiyZ8z6irAEaXWBDKBDWFZapXGYg8+e7Z2Int29plSrn7pGBpBkefdJqLjHBfKfCCTcXXOE1HgqvsaDusHJTg+bSqtccbJbPK2p214oO1V1KbSU2rqCAkynOpv2qgT8aUit/5WLKy0mmmV7gnOrNWERtTxH9fRl9b4JkE/DIeni9kivYPYdyqIOhFsnTxSp/9aie+W60bgWJBMVfCdL9BUqEUifIEu8OWXNMdKBzHa7j1VsSN7j9csETn6C8vy1mGwzp+Wqjy5a6uf9NouDTn+lipY/nGvaBlXWvuT+oAU7rhabW3azO7lsTt1wsU9fyaHxCMaDL4cnh/D7tZgFXLr1FeS8Peff0XmeBOJFIJdkAHloV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5PtiXGaUhmelJ3stcKr8c3FL9wX2gdUEXu9cLgUSfwbPW2wF9tNXNsIjSarYjMXjVLuInjYhB40nRjWyVxsNo3EDfNbXXepiXzHmanrfwD1Vlbw
+sidebar_class_name: "patch api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Update a list"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"patch"}
+ path={"/lists/{listId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Partially update a list. Only the fields provided in the request body will be updated.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the list.","example":"ieidlxygmwj87oxz5hxttoc8","title":"ListId"},"required":true,"name":"listId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The fields to update. Only the fields you want to change need to be provided.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":100},"description":{"type":"string","nullable":true,"minLength":0,"maxLength":500},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"query":{"type":"string","minLength":1},"public":{"type":"boolean"}}}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The updated list.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"icon":{"type":"string"},"parentId":{"type":"string","nullable":true},"type":{"type":"string","enum":["manual","smart"],"default":"manual"},"query":{"type":"string","nullable":true},"public":{"type":"boolean"},"hasCollaborators":{"type":"boolean"},"userRole":{"type":"string","enum":["owner","editor","viewer","public"]}},"required":["id","name","icon","parentId","public","hasCollaborators","userRole"],"title":"List"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"List not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/update-tag.api.mdx b/docs/versioned_docs/version-v0.31.0/api/update-tag.api.mdx
new file mode 100644
index 00000000..a0152753
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/update-tag.api.mdx
@@ -0,0 +1,71 @@
+---
+id: update-tag
+title: "Update a tag"
+description: "Rename a tag. The new name will be normalized and trimmed."
+sidebar_label: "Update a tag"
+hide_title: true
+hide_table_of_contents: true
+api: eJytVttuGzcQ/ZUB85IIa8kpUiTYhwJKmqBu8mA4MorCEaDRcrTLiEsyJNeSIizQj+gX9kuK4a4ulpWgQOoHSyKHwzNnZs5wK6wjj1FZcyVFLhonMdIES5EJSaHwyvGeyMUNGawJECKWQ5hUBIZWkNZWSmuYExjra9TqK0lAIyF6VdckhyITEcsg8jsx4c9pJgIVjVdxI/K7rZgTevLjJlYiv5u200w49FhTJB+SQSgqqlHkWxE3jkQuQvTKPIbIoBqjvjQESpKJaqHIg11ArCjBFpmgNdZOsxNFSur1pqxXn1+9tOuvP1frGG3xiuGqmEwmWF5J0WbC05dGeZIij76hTHDYIuewrqTIhOLbHcZKMHo2phBfW7lhzI8xMnERy0QeYyqsiWQiG6NzWhUpH6PPgU+cCd/OP1MRRSac5+xFRYF3O1CnJLXpj1EFZ03oTH+6vDwPrcu/3LH1PyFT8gyu7JuAj/m+48O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+10zYTXXMmAN3em+6aCy6Xo7OPJmqb7U6Mi4Jc/K7t9GgcXY8nb35jde7fdXWat8LjSmTpfwLa1VYS/bS2FRpN2aSBKjqnrOX4cBScSH8K6ywV221nMWH9atsDM/ybmWnbfwG89Bx+
+sidebar_class_name: "patch api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Update a tag"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"patch"}
+ path={"/tags/{tagId}"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Rename a tag. The new name will be normalized and trimmed.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={[{"schema":{"type":"string","description":"The unique identifier of the tag.","example":"ieidlxygmwj87oxz5hxttoc8","title":"TagId"},"required":true,"name":"tagId","in":"path"}]}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The new tag name.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The updated tag.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}},"404":{"description":"Tag not found.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","description":"A machine-readable error code."},"message":{"type":"string","description":"A human-readable error message."}},"required":["code","message"],"title":"Error"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/update-user.api.mdx b/docs/versioned_docs/version-v0.31.0/api/update-user.api.mdx
deleted file mode 100644
index 0767763f..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/update-user.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: update-user
-title: "Update user"
-description: "Update a user's role, bookmark quota, or storage quota. Admin access required."
-sidebar_label: "Update user"
-hide_title: true
-hide_table_of_contents: true
-api: eJzFVk1v4zYQ/SvEXNoCjD92txfdvF+A20u6TdCDYRRjcWxxLZEMSSXrCvzvi6Fkx7GdPRRZRAdbIofDN28eZ9iBolB67aK2Bgq4dQojCRRtIP9LEN7WJMXK2m2DfivuWhtRCutFiNbjhvqRkZipRhuBZUkhCE93rfakRiAh4iZAsYBsAEsJgcrW67iDYtHBitCTn7WxgmKxTEsJDj02FMmHbBDKihqEooO4cwQFhOi12YA8wX1TkZh/FHYtYkUZvIhWtDkakEDfsHE1r+epf6dv3kKSsMcJRfQtSTDY7E3mCiRo9uwwVsDI2JpCfG/VjvGU1kQykV/RuVqXyFDGXwPjuQDcrr5SGUGC89aRj5oCzzLBl8Ij0zbMG4MBCdjTlyTsc/EXE3+0UptIm2xr2rrGFbvtw2q00Q17myQJQ97+5+qVtw+B/AePD7U2m0+GLdWRn5W1NaE585PSacZuOUd9goTCiMdZ2tMyhH0W9HQymZyG8vtk/yR+OF/BWRN6mt9MJvz3LAQlQpvFu27regfypdI7eL3AUHoiwMXBctmjf3cJ8HtUYpChuBJzc4+1VkIb18bMIR/MEo2xcc+sfTBikNALRUTeW3+u2NNwerNDMNML7BtsY2W9/o+UuBJcBMjEAdahhrw28LfnwD9bv9JKkWHUl+rea2N+94zUWRdr25pXBZgkNBQrq7i2ttkjV9gCxvmwj1mtYdz1RTgBNwx/v28Hra+hgA6V8hRCGqPT4/spSLhHr7naZFDDdM/CGts6QgFVjC4U43H0u9EWPW6J3Aidu9hKBg/7fvLnYC96LJBSOupkfzNX/c7H/ezACe/McWQzrgDZiKtafvlsfYOM8I9/bjJxnIMvj83m0wtVRe5na8tumM4+1uloMppwl9Yxez4EOrueXyRmdj0Xa+ufssIsJgnOhthgls/QSYfbxFCAnng7aqA/4dLREx/pWxy7GrVheFk73aC2xYHErDeQUAxtfymhsiGySdetMNCtr1Pi4buWPF9blo9yy6JUOgxtcI11oB8E+uuXAeRv4jmUwyCaXVZ13fIXSNjS7vFqkvgiUBEq8hlBP/mh3+fqhl08Lj473knuV8zKklz8oe3y6Lhe395k1fUXoMYqXuLxAWT+zThtDru/2vBYBzWaTYsbtu1dssbx6RE5ORI5qItMdF1vcWO3ZFI6EBP5m3lJ6Tty27rt
-sidebar_class_name: "put api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Update user"}
->
-</Heading>
-
-<MethodEndpoint
- method={"put"}
- path={"/admin/users/{userId}"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Update a user's role, bookmark quota, or storage quota. Admin access required.
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={[{"schema":{"type":"string","description":"The ID of the user to update","example":"user_123"},"required":true,"name":"userId","in":"path"}]}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"content":{"application/json":{"schema":{"type":"object","properties":{"role":{"type":"string","enum":["user","admin"]},"bookmarkQuota":{"type":"integer","nullable":true,"minimum":0},"storageQuota":{"type":"integer","nullable":true,"minimum":0},"browserCrawlingEnabled":{"type":"boolean","nullable":true}},"description":"User update data","example":{"role":"admin","bookmarkQuota":1000,"storageQuota":5000000000}}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"User updated successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]}}}},"400":{"description":"Bad request - Invalid input data or cannot update own user","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"401":{"description":"Unauthorized - Authentication required","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"403":{"description":"Forbidden - Admin access required","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"404":{"description":"User not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/upload-a-new-asset.api.mdx b/docs/versioned_docs/version-v0.31.0/api/upload-a-new-asset.api.mdx
deleted file mode 100644
index 5d2f6b37..00000000
--- a/docs/versioned_docs/version-v0.31.0/api/upload-a-new-asset.api.mdx
+++ /dev/null
@@ -1,71 +0,0 @@
----
-id: upload-a-new-asset
-title: "Upload a new asset"
-description: "Upload a new asset"
-sidebar_label: "Upload a new asset"
-hide_title: true
-hide_table_of_contents: true
-api: eJyNVE1v2zAM/SsGz26c7uhbtqFANmAL0BQ7BDnQNlOrsS1VotNlhv77QMlNnDQDdpMlfrzH98wBKnKlVYaV7iCHJ9NorBJMOnpL0DliSIHx2UG+gYV8O9im4KjsreIj5JsBCkJLdtFzDflm67cpWHrtyfFnXR0hH65arGtKKmRMWCelJWRKuKbYLHlTXM8ghVJ3TB1Ldts3rAxaznbatneSKteurKkNJz4aghx08UKlwDVWG7KsyMnrTjUUohTLAR5UQ9K6oKQPZKkC7yNmZakSoiFn6328d0Z3Lhb7NJ9/JPSVGFXjEix0z4FLpFWdBjhhg8Y0qkRJzV6c5P8/lVBuWU0CHVvVPYM/tViH+xvvTv2ZPnR9W5CVB+H6A9tbWVdTeW9/2WwsPSm0TU/DDo4BHyfZEte6ghyMdoEcimMgw2grcZU9kHXBVL1tIIcBq8qScz5Do7LDPaRwQKuwaMaJxOeoyQ77hiGHmtm4PMvYHmd7tLgnMjM0BtIbThwrJHoXlPs+xicRi0Cf2P1RhIqdp6Y/DU46C48QBvkYBOl4eNC2RUH47dc6TFd1Oy3pwjpCup/NZ3M4D/CEZ7Fa3sS/WC2TnbaX4IWsT8OcWwwW64LCt3/vi6LD2az/WAaRKtNvzkyDqpNOQa1hVHR0SlgUtUidb2AYCnT0ZBvv5fq1JyvLY3vWM+yOFGrCimywwJ6OkMOXCOduNNsBm17639oKPn1PWpQlGZ6Ef/jtRNaTIVc/H9ei0rivWl1JjhQOddPzMYLES9mvZA7gxyfsjhMUwxAj1npPnfeQjnBZvsHLxvkLeuzpPg==
-sidebar_class_name: "post api-method"
-info_path: api/karakeep-api
-custom_edit_url: null
----
-
-import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
-import ParamsDetails from "@theme/ParamsDetails";
-import RequestSchema from "@theme/RequestSchema";
-import StatusCodes from "@theme/StatusCodes";
-import OperationTabs from "@theme/OperationTabs";
-import TabItem from "@theme/TabItem";
-import Heading from "@theme/Heading";
-
-<Heading
- as={"h1"}
- className={"openapi__heading"}
- children={"Upload a new asset"}
->
-</Heading>
-
-<MethodEndpoint
- method={"post"}
- path={"/assets"}
- context={"endpoint"}
->
-
-</MethodEndpoint>
-
-
-
-Upload a new asset
-
-<Heading
- id={"request"}
- as={"h2"}
- className={"openapi-tabs__heading"}
- children={"Request"}
->
-</Heading>
-
-<ParamsDetails
- parameters={undefined}
->
-
-</ParamsDetails>
-
-<RequestSchema
- title={"Body"}
- body={{"description":"The data to create the asset with.","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"title":"File to be uploaded"}},"required":["file"]}}}}}
->
-
-</RequestSchema>
-
-<StatusCodes
- id={undefined}
- label={undefined}
- responses={{"200":{"description":"Details about the created asset","content":{"application/json":{"schema":{"type":"object","properties":{"assetId":{"type":"string"},"contentType":{"type":"string"},"size":{"type":"number"},"fileName":{"type":"string"}},"required":["assetId","contentType","size","fileName"],"title":"Asset"}}}}}}
->
-
-</StatusCodes>
-
-
-
\ No newline at end of file
diff --git a/docs/versioned_docs/version-v0.31.0/api/upload-asset.api.mdx b/docs/versioned_docs/version-v0.31.0/api/upload-asset.api.mdx
new file mode 100644
index 00000000..138b7951
--- /dev/null
+++ b/docs/versioned_docs/version-v0.31.0/api/upload-asset.api.mdx
@@ -0,0 +1,71 @@
+---
+id: upload-asset
+title: "Upload a new asset"
+description: "Upload a binary file as a new asset. The uploaded asset can then be attached to a bookmark via the POST /bookmarks/{bookmarkId}/assets endpoint."
+sidebar_label: "Upload a new asset"
+hide_title: true
+hide_table_of_contents: true
+api: eJzNVttuGzcQ/ZUB89IKK8kp+rQPBZS0AdwkrRHbKIrYgGZ3R1pGXJIhubY3wgL9iH5hv6QYcrW6WAX82DeCHB6eufDMbIWx5DBIoy8rkYvWKoPVwnsKIhMV+dJJy6ciF7fxDBAKqdF1sJKKAD0gaHoE5DszuKkJEghVaQ9K1BBq0lAQYAhY1lRBMAxkzKZBt4EHiWwCV79f38B8t+3n293ysurnEc0D6coaqcNMZCLg2ov8s4iEvbjPhKeydTJ0Iv+8FQWhI7doQy3yz/f9fSYcfW3Jhzem6kS+PXGQuUenghl8YPeaVgVp0YX5yrhmWmFAfro0OpAOjHLGgrd9WVMTV6GzJHJhii9Uclyt46gHSZ5P+cloJQMvxLuBQrGPpOj7xF06qtjheOe+79O+t0b7BPbDxcV5x1IuHtHv0+PbsiTvV61S3Qw+UWid9tBQQHYBsDBtiGk5TuiJ92itkmUsofkXz++93PWIx4U3GvrgpF4/q71YVlp+bQlkRTrIlSTHdORap2o6x7Mfid5E9Je88vHy4y/AZmBWx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S+ygW6UJdHzyPcva0od9w==
+sidebar_class_name: "post api-method"
+info_path: api/karakeep-api
+custom_edit_url: null
+---
+
+import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
+import ParamsDetails from "@theme/ParamsDetails";
+import RequestSchema from "@theme/RequestSchema";
+import StatusCodes from "@theme/StatusCodes";
+import OperationTabs from "@theme/OperationTabs";
+import TabItem from "@theme/TabItem";
+import Heading from "@theme/Heading";
+
+<Heading
+ as={"h1"}
+ className={"openapi__heading"}
+ children={"Upload a new asset"}
+>
+</Heading>
+
+<MethodEndpoint
+ method={"post"}
+ path={"/assets"}
+ context={"endpoint"}
+>
+
+</MethodEndpoint>
+
+
+
+Upload a binary file as a new asset. The uploaded asset can then be attached to a bookmark via the POST /bookmarks/\{bookmarkId\}/assets endpoint.
+
+<Heading
+ id={"request"}
+ as={"h2"}
+ className={"openapi-tabs__heading"}
+ children={"Request"}
+>
+</Heading>
+
+<ParamsDetails
+ parameters={undefined}
+>
+
+</ParamsDetails>
+
+<RequestSchema
+ title={"Body"}
+ body={{"description":"The file to upload as multipart/form-data.","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"title":"File to be uploaded"}},"required":["file"]}}}}}
+>
+
+</RequestSchema>
+
+<StatusCodes
+ id={undefined}
+ label={undefined}
+ responses={{"200":{"description":"The asset was uploaded successfully. Returns metadata about the uploaded asset.","content":{"application/json":{"schema":{"type":"object","properties":{"assetId":{"type":"string","description":"The unique identifier assigned to the uploaded asset."},"contentType":{"type":"string","description":"The MIME type of the uploaded file."},"size":{"type":"number","description":"The size of the uploaded file in bytes."},"fileName":{"type":"string","description":"The original file name of the uploaded file."}},"required":["assetId","contentType","size","fileName"],"title":"UploadedAsset"}}}},"401":{"description":"Unauthorized — the Bearer token is missing, invalid, or expired.","content":{"text/plain":{"schema":{"type":"string","example":"Unauthorized"}}}}}}
+>
+
+</StatusCodes>
+
+
+
\ No newline at end of file
diff --git a/docs/versioned_sidebars/version-v0.31.0-sidebars.json b/docs/versioned_sidebars/version-v0.31.0-sidebars.json
index 40971125..c00e0de0 100644
--- a/docs/versioned_sidebars/version-v0.31.0-sidebars.json
+++ b/docs/versioned_sidebars/version-v0.31.0-sidebars.json
@@ -18,13 +18,13 @@
"items": [
{
"type": "doc",
- "id": "api/get-all-bookmarks",
+ "id": "api/list-bookmarks",
"label": "Get all bookmarks",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/create-a-new-bookmark",
+ "id": "api/create-bookmark",
"label": "Create a new bookmark",
"className": "api-method post"
},
@@ -36,68 +36,74 @@
},
{
"type": "doc",
- "id": "api/get-a-single-bookmark",
+ "id": "api/check-bookmark-url",
+ "label": "Check if a URL exists in bookmarks",
+ "className": "api-method get"
+ },
+ {
+ "type": "doc",
+ "id": "api/get-bookmark",
"label": "Get a single bookmark",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/delete-a-bookmark",
+ "id": "api/delete-bookmark",
"label": "Delete a bookmark",
"className": "api-method delete"
},
{
"type": "doc",
- "id": "api/update-a-bookmark",
+ "id": "api/update-bookmark",
"label": "Update a bookmark",
"className": "api-method patch"
},
{
"type": "doc",
- "id": "api/summarize-a-bookmark",
+ "id": "api/summarize-bookmark",
"label": "Summarize a bookmark",
"className": "api-method post"
},
{
"type": "doc",
- "id": "api/attach-tags-to-a-bookmark",
+ "id": "api/attach-tags-to-bookmark",
"label": "Attach tags to a bookmark",
"className": "api-method post"
},
{
"type": "doc",
- "id": "api/detach-tags-from-a-bookmark",
+ "id": "api/detach-tags-from-bookmark",
"label": "Detach tags from a bookmark",
"className": "api-method delete"
},
{
"type": "doc",
- "id": "api/get-lists-of-a-bookmark",
+ "id": "api/get-bookmark-lists",
"label": "Get lists of a bookmark",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/get-highlights-of-a-bookmark",
+ "id": "api/get-bookmark-highlights",
"label": "Get highlights of a bookmark",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/attach-asset",
- "label": "Attach asset",
+ "id": "api/attach-asset-to-bookmark",
+ "label": "Attach asset to a bookmark",
"className": "api-method post"
},
{
"type": "doc",
- "id": "api/replace-asset",
- "label": "Replace asset",
+ "id": "api/replace-asset-on-bookmark",
+ "label": "Replace asset on a bookmark",
"className": "api-method put"
},
{
"type": "doc",
- "id": "api/detach-asset",
- "label": "Detach asset",
+ "id": "api/detach-asset-from-bookmark",
+ "label": "Detach asset from a bookmark",
"className": "api-method delete"
}
]
@@ -108,49 +114,49 @@
"items": [
{
"type": "doc",
- "id": "api/get-all-lists",
+ "id": "api/list-lists",
"label": "Get all lists",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/create-a-new-list",
+ "id": "api/create-list",
"label": "Create a new list",
"className": "api-method post"
},
{
"type": "doc",
- "id": "api/get-a-single-list",
+ "id": "api/get-list",
"label": "Get a single list",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/delete-a-list",
+ "id": "api/delete-list",
"label": "Delete a list",
"className": "api-method delete"
},
{
"type": "doc",
- "id": "api/update-a-list",
+ "id": "api/update-list",
"label": "Update a list",
"className": "api-method patch"
},
{
"type": "doc",
- "id": "api/get-bookmarks-in-the-list",
- "label": "Get bookmarks in the list",
+ "id": "api/get-list-bookmarks",
+ "label": "Get bookmarks in a list",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/add-a-bookmark-to-a-list",
+ "id": "api/add-bookmark-to-list",
"label": "Add a bookmark to a list",
"className": "api-method put"
},
{
"type": "doc",
- "id": "api/remove-a-bookmark-from-a-list",
+ "id": "api/remove-bookmark-from-list",
"label": "Remove a bookmark from a list",
"className": "api-method delete"
}
@@ -162,38 +168,38 @@
"items": [
{
"type": "doc",
- "id": "api/get-all-tags",
+ "id": "api/list-tags",
"label": "Get all tags",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/create-a-new-tag",
+ "id": "api/create-tag",
"label": "Create a new tag",
"className": "api-method post"
},
{
"type": "doc",
- "id": "api/get-a-single-tag",
+ "id": "api/get-tag",
"label": "Get a single tag",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/delete-a-tag",
+ "id": "api/delete-tag",
"label": "Delete a tag",
"className": "api-method delete"
},
{
"type": "doc",
- "id": "api/update-a-tag",
+ "id": "api/update-tag",
"label": "Update a tag",
"className": "api-method patch"
},
{
"type": "doc",
- "id": "api/get-bookmarks-with-the-tag",
- "label": "Get bookmarks with the tag",
+ "id": "api/get-tag-bookmarks",
+ "label": "Get bookmarks with a tag",
"className": "api-method get"
}
]
@@ -204,31 +210,31 @@
"items": [
{
"type": "doc",
- "id": "api/get-all-highlights",
+ "id": "api/list-highlights",
"label": "Get all highlights",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/create-a-new-highlight",
+ "id": "api/create-highlight",
"label": "Create a new highlight",
"className": "api-method post"
},
{
"type": "doc",
- "id": "api/get-a-single-highlight",
+ "id": "api/get-highlight",
"label": "Get a single highlight",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/delete-a-highlight",
+ "id": "api/delete-highlight",
"label": "Delete a highlight",
"className": "api-method delete"
},
{
"type": "doc",
- "id": "api/update-a-highlight",
+ "id": "api/update-highlight",
"label": "Update a highlight",
"className": "api-method patch"
}
@@ -236,36 +242,36 @@
},
{
"type": "category",
- "label": "Users",
+ "label": "Assets",
"items": [
{
"type": "doc",
- "id": "api/get-current-user-info",
- "label": "Get current user info",
- "className": "api-method get"
+ "id": "api/upload-asset",
+ "label": "Upload a new asset",
+ "className": "api-method post"
},
{
"type": "doc",
- "id": "api/get-current-user-stats",
- "label": "Get current user stats",
+ "id": "api/get-asset",
+ "label": "Get a single asset",
"className": "api-method get"
}
]
},
{
"type": "category",
- "label": "Assets",
+ "label": "Users",
"items": [
{
"type": "doc",
- "id": "api/upload-a-new-asset",
- "label": "Upload a new asset",
- "className": "api-method post"
+ "id": "api/get-current-user",
+ "label": "Get current user info",
+ "className": "api-method get"
},
{
"type": "doc",
- "id": "api/get-a-single-asset",
- "label": "Get a single asset",
+ "id": "api/get-current-user-stats",
+ "label": "Get current user stats",
"className": "api-method get"
}
]
@@ -276,8 +282,8 @@
"items": [
{
"type": "doc",
- "id": "api/update-user",
- "label": "Update user",
+ "id": "api/admin-update-user",
+ "label": "Update a user (admin)",
"className": "api-method put"
}
]
@@ -288,31 +294,31 @@
"items": [
{
"type": "doc",
- "id": "api/get-all-backups",
+ "id": "api/list-backups",
"label": "Get all backups",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/trigger-a-new-backup",
+ "id": "api/create-backup",
"label": "Trigger a new backup",
"className": "api-method post"
},
{
"type": "doc",
- "id": "api/get-a-single-backup",
+ "id": "api/get-backup",
"label": "Get a single backup",
"className": "api-method get"
},
{
"type": "doc",
- "id": "api/delete-a-backup",
+ "id": "api/delete-backup",
"label": "Delete a backup",
"className": "api-method delete"
},
{
"type": "doc",
- "id": "api/download-a-backup",
+ "id": "api/download-backup",
"label": "Download a backup",
"className": "api-method get"
}
diff --git a/packages/open-api/index.ts b/packages/open-api/index.ts
index 18f3cf75..2bb8ecc7 100644
--- a/packages/open-api/index.ts
+++ b/packages/open-api/index.ts
@@ -35,8 +35,64 @@ function getOpenApiDocumentation() {
info: {
version: "1.0.0",
title: "Karakeep API",
- description: "The API for the Karakeep app",
+ description:
+ "Karakeep is a self-hostable bookmarking and read-it-later service. " +
+ "This API allows you to manage bookmarks, lists, tags, highlights, assets, and backups programmatically.\n\n" +
+ "## Authentication\n\n" +
+ "All endpoints require a Bearer token passed in the `Authorization` header. " +
+ "You can generate an API key from the Karakeep web UI under **Settings > API Keys**.\n\n" +
+ "## Pagination\n\n" +
+ "List endpoints support cursor-based pagination via `cursor` and `limit` query parameters. " +
+ "The response includes a `nextCursor` field — pass it as the `cursor` parameter to fetch the next page. " +
+ "A `null` value for `nextCursor` indicates there are no more results.\n\n" +
+ "## Bookmark Types\n\n" +
+ "Bookmarks can be one of three types:\n" +
+ "- **link** — A URL bookmark with optional crawled metadata.\n" +
+ "- **text** — A plain text note.\n" +
+ "- **asset** — An uploaded file (image or PDF).",
},
+ tags: [
+ {
+ name: "Bookmarks",
+ description:
+ "Manage bookmarks — create, retrieve, update, delete, search, and organize bookmarks with tags, lists, highlights, and assets.",
+ },
+ {
+ name: "Lists",
+ description:
+ "Manage bookmark lists. Lists can be manual (curated) or smart (query-based). Bookmarks can belong to multiple lists.",
+ },
+ {
+ name: "Tags",
+ description:
+ "Manage tags for categorizing bookmarks. Tags can be attached by users or automatically by AI.",
+ },
+ {
+ name: "Highlights",
+ description:
+ "Manage text highlights within bookmarks. Highlights support color coding and optional notes.",
+ },
+ {
+ name: "Assets",
+ description:
+ "Upload and retrieve binary assets (images, PDFs, screenshots) associated with bookmarks.",
+ },
+ {
+ name: "Users",
+ description:
+ "Retrieve information and statistics about the currently authenticated user.",
+ },
+ {
+ name: "Admin",
+ description:
+ "Administrative endpoints for managing users. Requires admin role.",
+ },
+ {
+ name: "Backups",
+ description:
+ "Create and manage full account backups as downloadable zip archives.",
+ },
+ ],
servers: [
{
url: "{address}/api/v1",
diff --git a/packages/open-api/karakeep-openapi-spec.json b/packages/open-api/karakeep-openapi-spec.json
index 8cc3b7ff..48cb185e 100644
--- a/packages/open-api/karakeep-openapi-spec.json
+++ b/packages/open-api/karakeep-openapi-spec.json
@@ -3,8 +3,42 @@
"info": {
"version": "1.0.0",
"title": "Karakeep API",
- "description": "The API for the Karakeep app"
+ "description": "Karakeep is a self-hostable bookmarking and read-it-later service. This API allows you to manage bookmarks, lists, tags, highlights, assets, and backups programmatically.\n\n## Authentication\n\nAll endpoints require a Bearer token passed in the `Authorization` header. You can generate an API key from the Karakeep web UI under **Settings > API Keys**.\n\n## Pagination\n\nList endpoints support cursor-based pagination via `cursor` and `limit` query parameters. The response includes a `nextCursor` field — pass it as the `cursor` parameter to fetch the next page. A `null` value for `nextCursor` indicates there are no more results.\n\n## Bookmark Types\n\nBookmarks can be one of three types:\n- **link** — A URL bookmark with optional crawled metadata.\n- **text** — A plain text note.\n- **asset** — An uploaded file (image or PDF)."
},
+ "tags": [
+ {
+ "name": "Bookmarks",
+ "description": "Manage bookmarks — create, retrieve, update, delete, search, and organize bookmarks with tags, lists, highlights, and assets."
+ },
+ {
+ "name": "Lists",
+ "description": "Manage bookmark lists. Lists can be manual (curated) or smart (query-based). Bookmarks can belong to multiple lists."
+ },
+ {
+ "name": "Tags",
+ "description": "Manage tags for categorizing bookmarks. Tags can be attached by users or automatically by AI."
+ },
+ {
+ "name": "Highlights",
+ "description": "Manage text highlights within bookmarks. Highlights support color coding and optional notes."
+ },
+ {
+ "name": "Assets",
+ "description": "Upload and retrieve binary assets (images, PDFs, screenshots) associated with bookmarks."
+ },
+ {
+ "name": "Users",
+ "description": "Retrieve information and statistics about the currently authenticated user."
+ },
+ {
+ "name": "Admin",
+ "description": "Administrative endpoints for managing users. Requires admin role."
+ },
+ {
+ "name": "Backups",
+ "description": "Create and manage full account backups as downloadable zip archives."
+ }
+ ],
"servers": [
{
"url": "{address}/api/v1",
@@ -27,26 +61,32 @@
"schemas": {
"BookmarkId": {
"type": "string",
+ "description": "The unique identifier of the bookmark.",
"example": "ieidlxygmwj87oxz5hxttoc8"
},
"ListId": {
"type": "string",
+ "description": "The unique identifier of the list.",
"example": "ieidlxygmwj87oxz5hxttoc8"
},
"TagId": {
"type": "string",
+ "description": "The unique identifier of the tag.",
"example": "ieidlxygmwj87oxz5hxttoc8"
},
"HighlightId": {
"type": "string",
+ "description": "The unique identifier of the highlight.",
"example": "ieidlxygmwj87oxz5hxttoc8"
},
"AssetId": {
"type": "string",
+ "description": "The unique identifier of the asset.",
"example": "ieidlxygmwj87oxz5hxttoc8"
},
"BackupId": {
"type": "string",
+ "description": "The unique identifier of the backup.",
"example": "ieidlxygmwj87oxz5hxttoc8"
},
"Bookmark": {
@@ -380,7 +420,8 @@
},
"nextCursor": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "description": "Cursor for the next page, or null if no more results."
}
},
"required": [
@@ -389,7 +430,25 @@
]
},
"Cursor": {
- "type": "string"
+ "type": "string",
+ "description": "Cursor from a previous response to fetch the next page."
+ },
+ "Error": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "A machine-readable error code."
+ },
+ "message": {
+ "type": "string",
+ "description": "A human-readable error message."
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ]
},
"List": {
"type": "object",
@@ -542,7 +601,8 @@
},
"nextCursor": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "description": "Cursor for the next page, or null if no more results."
}
},
"required": [
@@ -550,20 +610,24 @@
"nextCursor"
]
},
- "Asset": {
+ "UploadedAsset": {
"type": "object",
"properties": {
"assetId": {
- "type": "string"
+ "type": "string",
+ "description": "The unique identifier assigned to the uploaded asset."
},
"contentType": {
- "type": "string"
+ "type": "string",
+ "description": "The MIME type of the uploaded file."
},
"size": {
- "type": "number"
+ "type": "number",
+ "description": "The size of the uploaded file in bytes."
},
"fileName": {
- "type": "string"
+ "type": "string",
+ "description": "The original file name of the uploaded file."
}
},
"required": [
@@ -629,7 +693,8 @@
"paths": {
"/bookmarks": {
"get": {
- "description": "Get all bookmarks",
+ "operationId": "listBookmarks",
+ "description": "Retrieve a paginated list of all bookmarks for the authenticated user. Supports filtering by archived/favourited status and sorting by date.",
"summary": "Get all bookmarks",
"tags": [
"Bookmarks"
@@ -642,17 +707,21 @@
"parameters": [
{
"schema": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Filter by archived status."
},
"required": false,
+ "description": "Filter by archived status.",
"name": "archived",
"in": "query"
},
{
"schema": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Filter by favourited status."
},
"required": false,
+ "description": "Filter by favourited status.",
"name": "favourited",
"in": "query"
},
@@ -663,17 +732,21 @@
"asc",
"desc"
],
- "default": "desc"
+ "default": "desc",
+ "description": "Sort order by creation date. Defaults to 'desc'."
},
"required": false,
+ "description": "Sort order by creation date. Defaults to 'desc'.",
"name": "sortOrder",
"in": "query"
},
{
"schema": {
- "type": "number"
+ "type": "number",
+ "description": "Maximum number of items to return per page."
},
"required": false,
+ "description": "Maximum number of items to return per page.",
"name": "limit",
"in": "query"
},
@@ -682,6 +755,7 @@
"$ref": "#/components/schemas/Cursor"
},
"required": false,
+ "description": "Cursor from a previous response to fetch the next page.",
"name": "cursor",
"in": "query"
},
@@ -689,17 +763,17 @@
"schema": {
"type": "boolean",
"default": true,
- "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."
+ "description": "If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."
},
"required": false,
- "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.",
+ "description": "If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.",
"name": "includeContent",
"in": "query"
}
],
"responses": {
"200": {
- "description": "Object with all bookmarks data.",
+ "description": "A paginated list of bookmarks.",
"content": {
"application/json": {
"schema": {
@@ -707,11 +781,23 @@
}
}
}
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
}
}
},
"post": {
- "description": "Create a new bookmark",
+ "operationId": "createBookmark",
+ "description": "Create a new bookmark. The bookmark type (link, text, or asset) is determined by the `type` field in the request body. For link bookmarks, if the URL already exists, the existing bookmark is returned with a 200 status.",
"summary": "Create a new bookmark",
"tags": [
"Bookmarks"
@@ -722,7 +808,7 @@
}
],
"requestBody": {
- "description": "The bookmark to create",
+ "description": "The bookmark to create.",
"content": {
"application/json": {
"schema": {
@@ -862,7 +948,7 @@
},
"responses": {
"200": {
- "description": "The bookmark already exists",
+ "description": "A bookmark with this URL already exists. The existing bookmark is returned.",
"content": {
"application/json": {
"schema": {
@@ -872,7 +958,7 @@
}
},
"201": {
- "description": "The bookmark got created",
+ "description": "The bookmark was created successfully.",
"content": {
"application/json": {
"schema": {
@@ -882,23 +968,22 @@
}
},
"400": {
- "description": "Bad request",
+ "description": "Bad request — invalid input data.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
}
}
}
@@ -908,7 +993,8 @@
},
"/bookmarks/search": {
"get": {
- "description": "Search bookmarks",
+ "operationId": "searchBookmarks",
+ "description": "Full-text search across all bookmarks. Searches bookmark titles, content, descriptions, and notes. Results default to relevance sorting.",
"summary": "Search bookmarks",
"tags": [
"Bookmarks"
@@ -921,9 +1007,11 @@
"parameters": [
{
"schema": {
- "type": "string"
+ "type": "string",
+ "description": "The search query string."
},
"required": true,
+ "description": "The search query string.",
"name": "q",
"in": "query"
},
@@ -935,17 +1023,21 @@
"desc",
"relevance"
],
- "default": "relevance"
+ "default": "relevance",
+ "description": "Sort order for results. Defaults to 'relevance'. Use 'asc' or 'desc' for date-based sorting."
},
"required": false,
+ "description": "Sort order for results. Defaults to 'relevance'. Use 'asc' or 'desc' for date-based sorting.",
"name": "sortOrder",
"in": "query"
},
{
"schema": {
- "type": "number"
+ "type": "number",
+ "description": "Maximum number of items to return per page."
},
"required": false,
+ "description": "Maximum number of items to return per page.",
"name": "limit",
"in": "query"
},
@@ -954,6 +1046,7 @@
"$ref": "#/components/schemas/Cursor"
},
"required": false,
+ "description": "Cursor from a previous response to fetch the next page.",
"name": "cursor",
"in": "query"
},
@@ -961,17 +1054,17 @@
"schema": {
"type": "boolean",
"default": true,
- "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."
+ "description": "If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."
},
"required": false,
- "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.",
+ "description": "If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.",
"name": "includeContent",
"in": "query"
}
],
"responses": {
"200": {
- "description": "Object with the search results.",
+ "description": "A paginated list of bookmarks matching the search query.",
"content": {
"application/json": {
"schema": {
@@ -979,12 +1072,24 @@
}
}
}
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
}
}
}
},
"/bookmarks/check-url": {
"get": {
+ "operationId": "checkBookmarkUrl",
"description": "Check if a URL is already bookmarked. Uses substring matching to find candidates, then normalizes URLs (ignoring hash fragments and trailing slashes) for exact comparison.",
"summary": "Check if a URL exists in bookmarks",
"tags": [
@@ -998,16 +1103,18 @@
"parameters": [
{
"schema": {
- "type": "string"
+ "type": "string",
+ "description": "The URL to check against existing bookmarks."
},
"required": true,
+ "description": "The URL to check against existing bookmarks.",
"name": "url",
"in": "query"
}
],
"responses": {
"200": {
- "description": "Object indicating whether the URL is bookmarked. bookmarkId is null if not found.",
+ "description": "Object indicating whether the URL is bookmarked. `bookmarkId` is `null` if not found.",
"content": {
"application/json": {
"schema": {
@@ -1015,7 +1122,8 @@
"properties": {
"bookmarkId": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "description": "The ID of the existing bookmark, or null if the URL is not bookmarked."
}
},
"required": [
@@ -1024,13 +1132,25 @@
}
}
}
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
}
}
}
},
"/bookmarks/{bookmarkId}": {
"get": {
- "description": "Get bookmark by its id",
+ "operationId": "getBookmark",
+ "description": "Retrieve a single bookmark by its ID, including its tags, content, and assets.",
"summary": "Get a single bookmark",
"tags": [
"Bookmarks"
@@ -1048,17 +1168,17 @@
"schema": {
"type": "boolean",
"default": true,
- "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."
+ "description": "If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."
},
"required": false,
- "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.",
+ "description": "If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.",
"name": "includeContent",
"in": "query"
}
],
"responses": {
"200": {
- "description": "Object with bookmark data.",
+ "description": "The requested bookmark.",
"content": {
"application/json": {
"schema": {
@@ -1067,24 +1187,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Bookmark not found",
+ "description": "Bookmark not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -1092,7 +1211,8 @@
}
},
"delete": {
- "description": "Delete bookmark by its id",
+ "operationId": "deleteBookmark",
+ "description": "Permanently delete a bookmark and all its associated data (tags, highlights, assets).",
"summary": "Delete a bookmark",
"tags": [
"Bookmarks"
@@ -1109,26 +1229,25 @@
],
"responses": {
"204": {
- "description": "No content - the bookmark was deleted"
+ "description": "No content — the bookmark was deleted successfully."
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
},
"404": {
- "description": "Bookmark not found",
+ "description": "Bookmark not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -1136,7 +1255,8 @@
}
},
"patch": {
- "description": "Update bookmark by its id",
+ "operationId": "updateBookmark",
+ "description": "Partially update a bookmark. Only the fields provided in the request body will be updated. Supports updating common fields (title, note, archived, favourited) as well as type-specific fields.",
"summary": "Update a bookmark",
"tags": [
"Bookmarks"
@@ -1152,7 +1272,7 @@
}
],
"requestBody": {
- "description": "The data to update. Only the fields you want to update need to be provided.",
+ "description": "The fields to update. Only the fields you want to change need to be provided.",
"content": {
"application/json": {
"schema": {
@@ -1219,7 +1339,7 @@
},
"responses": {
"200": {
- "description": "The updated bookmark",
+ "description": "The updated bookmark.",
"content": {
"application/json": {
"schema": {
@@ -1303,24 +1423,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Bookmark not found",
+ "description": "Bookmark not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -1330,7 +1449,8 @@
},
"/bookmarks/{bookmarkId}/summarize": {
"post": {
- "description": "Attaches a summary to the bookmark and returns the updated record.",
+ "operationId": "summarizeBookmark",
+ "description": "Trigger AI summarization for a bookmark. The summary is generated asynchronously and attached to the bookmark. Returns the updated bookmark record.",
"summary": "Summarize a bookmark",
"tags": [
"Bookmarks"
@@ -1347,7 +1467,7 @@
],
"responses": {
"200": {
- "description": "The updated bookmark with summary",
+ "description": "The bookmark with the updated summary.",
"content": {
"application/json": {
"schema": {
@@ -1431,24 +1551,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Bookmark not found",
+ "description": "Bookmark not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -1458,7 +1577,8 @@
},
"/bookmarks/{bookmarkId}/tags": {
"post": {
- "description": "Attach tags to a bookmark",
+ "operationId": "attachTagsToBookmark",
+ "description": "Attach one or more tags to a bookmark. Tags can be identified by ID or name. If a tag name is provided and the tag doesn't exist, it will be created automatically.",
"summary": "Attach tags to a bookmark",
"tags": [
"Bookmarks"
@@ -1474,7 +1594,7 @@
}
],
"requestBody": {
- "description": "The tags to attach.",
+ "description": "The tags to attach. Each tag must have either a `tagId` or a `tagName`.",
"content": {
"application/json": {
"schema": {
@@ -1512,7 +1632,7 @@
},
"responses": {
"200": {
- "description": "The list of attached tag ids",
+ "description": "The IDs of the tags that were attached.",
"content": {
"application/json": {
"schema": {
@@ -1532,24 +1652,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Bookmark not found",
+ "description": "Bookmark not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -1557,7 +1676,8 @@
}
},
"delete": {
- "description": "Detach tags from a bookmark",
+ "operationId": "detachTagsFromBookmark",
+ "description": "Detach one or more tags from a bookmark. Tags can be identified by ID or name.",
"summary": "Detach tags from a bookmark",
"tags": [
"Bookmarks"
@@ -1573,7 +1693,7 @@
}
],
"requestBody": {
- "description": "The tags to detach.",
+ "description": "The tags to detach. Each tag must have either a `tagId` or a `tagName`.",
"content": {
"application/json": {
"schema": {
@@ -1611,7 +1731,7 @@
},
"responses": {
"200": {
- "description": "The list of detached tag ids",
+ "description": "The IDs of the tags that were detached.",
"content": {
"application/json": {
"schema": {
@@ -1631,24 +1751,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Bookmark not found",
+ "description": "Bookmark not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -1658,7 +1777,8 @@
},
"/bookmarks/{bookmarkId}/lists": {
"get": {
- "description": "Get lists of a bookmark",
+ "operationId": "getBookmarkLists",
+ "description": "Retrieve all lists that contain the specified bookmark.",
"summary": "Get lists of a bookmark",
"tags": [
"Bookmarks"
@@ -1675,7 +1795,7 @@
],
"responses": {
"200": {
- "description": "The list of highlights",
+ "description": "The lists that contain this bookmark.",
"content": {
"application/json": {
"schema": {
@@ -1695,24 +1815,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Bookmark not found",
+ "description": "Bookmark not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -1722,7 +1841,8 @@
},
"/bookmarks/{bookmarkId}/highlights": {
"get": {
- "description": "Get highlights of a bookmark",
+ "operationId": "getBookmarkHighlights",
+ "description": "Retrieve all text highlights within the specified bookmark.",
"summary": "Get highlights of a bookmark",
"tags": [
"Bookmarks"
@@ -1739,7 +1859,7 @@
],
"responses": {
"200": {
- "description": "The list of highlights",
+ "description": "The highlights within this bookmark.",
"content": {
"application/json": {
"schema": {
@@ -1759,24 +1879,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Bookmark not found",
+ "description": "Bookmark not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -1786,8 +1905,9 @@
},
"/bookmarks/{bookmarkId}/assets": {
"post": {
- "description": "Attach a new asset to a bookmark",
- "summary": "Attach asset",
+ "operationId": "attachAssetToBookmark",
+ "description": "Attach a previously uploaded asset to a bookmark. The asset must be uploaded first via the POST /assets endpoint.",
+ "summary": "Attach asset to a bookmark",
"tags": [
"Bookmarks"
],
@@ -1802,14 +1922,15 @@
}
],
"requestBody": {
- "description": "The asset to attach",
+ "description": "The asset ID and type to attach.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"id": {
- "type": "string"
+ "type": "string",
+ "description": "The ID of the previously uploaded asset."
},
"assetType": {
"type": "string",
@@ -1826,7 +1947,8 @@
"userUploaded",
"avatar",
"unknown"
- ]
+ ],
+ "description": "The type classification for this asset."
}
},
"required": [
@@ -1839,7 +1961,7 @@
},
"responses": {
"201": {
- "description": "The attached asset",
+ "description": "The asset was attached successfully.",
"content": {
"application/json": {
"schema": {
@@ -1878,24 +2000,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Bookmark not found",
+ "description": "Bookmark not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -1905,8 +2026,9 @@
},
"/bookmarks/{bookmarkId}/assets/{assetId}": {
"put": {
- "description": "Replace an existing asset with a new one",
- "summary": "Replace asset",
+ "operationId": "replaceAssetOnBookmark",
+ "description": "Replace an existing asset on a bookmark with a different previously uploaded asset.",
+ "summary": "Replace asset on a bookmark",
"tags": [
"Bookmarks"
],
@@ -1924,14 +2046,15 @@
}
],
"requestBody": {
- "description": "The new asset to replace with",
+ "description": "The ID of the new asset to replace the existing one.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"assetId": {
- "type": "string"
+ "type": "string",
+ "description": "The ID of the new asset to use as a replacement."
}
},
"required": [
@@ -1943,26 +2066,25 @@
},
"responses": {
"204": {
- "description": "No content - asset was replaced successfully"
+ "description": "No content — asset was replaced successfully."
},
- "404": {
- "description": "Bookmark not found",
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
"content": {
- "application/json": {
+ "text/plain": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
+ "404": {
+ "description": "Bookmark or asset not found.",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -1970,8 +2092,9 @@
}
},
"delete": {
- "description": "Detach an asset from a bookmark",
- "summary": "Detach asset",
+ "operationId": "detachAssetFromBookmark",
+ "description": "Detach an asset from a bookmark.",
+ "summary": "Detach asset from a bookmark",
"tags": [
"Bookmarks"
],
@@ -1990,26 +2113,25 @@
],
"responses": {
"204": {
- "description": "No content - asset was detached successfully"
+ "description": "No content — asset was detached successfully."
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
},
"404": {
- "description": "Bookmark not found",
+ "description": "Bookmark or asset not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -2019,7 +2141,8 @@
},
"/lists": {
"get": {
- "description": "Get all lists",
+ "operationId": "listLists",
+ "description": "Retrieve all bookmark lists for the authenticated user, including both manual and smart lists.",
"summary": "Get all lists",
"tags": [
"Lists"
@@ -2031,7 +2154,7 @@
],
"responses": {
"200": {
- "description": "Object with all lists data.",
+ "description": "All lists owned by or shared with the current user.",
"content": {
"application/json": {
"schema": {
@@ -2050,11 +2173,23 @@
}
}
}
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
}
}
},
"post": {
- "description": "Create a new list",
+ "operationId": "createList",
+ "description": "Create a new bookmark list. Lists can be manual (bookmarks are added explicitly) or smart (bookmarks are matched automatically by a search query).",
"summary": "Create a new list",
"tags": [
"Lists"
@@ -2065,7 +2200,7 @@
}
],
"requestBody": {
- "description": "The list to create",
+ "description": "The list to create. For smart lists, a `query` field is required. For manual lists, `query` must not be set.",
"content": {
"application/json": {
"schema": {
@@ -2111,7 +2246,7 @@
},
"responses": {
"201": {
- "description": "The created list",
+ "description": "The created list.",
"content": {
"application/json": {
"schema": {
@@ -2121,23 +2256,22 @@
}
},
"400": {
- "description": "Bad request",
+ "description": "Bad request — invalid input data (e.g., smart list missing query, or manual list with a query).",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
}
}
}
@@ -2147,7 +2281,8 @@
},
"/lists/{listId}": {
"get": {
- "description": "Get list by its id",
+ "operationId": "getList",
+ "description": "Retrieve a single list by its ID.",
"summary": "Get a single list",
"tags": [
"Lists"
@@ -2164,7 +2299,7 @@
],
"responses": {
"200": {
- "description": "Object with list data.",
+ "description": "The requested list.",
"content": {
"application/json": {
"schema": {
@@ -2173,24 +2308,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "List not found",
+ "description": "List not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -2198,7 +2332,8 @@
}
},
"delete": {
- "description": "Delete list by its id",
+ "operationId": "deleteList",
+ "description": "Delete a list. This removes the list only — bookmarks within it are not deleted.",
"summary": "Delete a list",
"tags": [
"Lists"
@@ -2215,26 +2350,25 @@
],
"responses": {
"204": {
- "description": "No content - the bookmark was deleted"
+ "description": "No content — the list was deleted successfully."
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
},
"404": {
- "description": "List not found",
+ "description": "List not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -2242,7 +2376,8 @@
}
},
"patch": {
- "description": "Update list by its id",
+ "operationId": "updateList",
+ "description": "Partially update a list. Only the fields provided in the request body will be updated.",
"summary": "Update a list",
"tags": [
"Lists"
@@ -2258,7 +2393,7 @@
}
],
"requestBody": {
- "description": "The data to update. Only the fields you want to update need to be provided.",
+ "description": "The fields to update. Only the fields you want to change need to be provided.",
"content": {
"application/json": {
"schema": {
@@ -2296,7 +2431,7 @@
},
"responses": {
"200": {
- "description": "The updated list",
+ "description": "The updated list.",
"content": {
"application/json": {
"schema": {
@@ -2305,24 +2440,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "List not found",
+ "description": "List not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -2332,8 +2466,9 @@
},
"/lists/{listId}/bookmarks": {
"get": {
- "description": "Get bookmarks in the list",
- "summary": "Get bookmarks in the list",
+ "operationId": "getListBookmarks",
+ "description": "Retrieve a paginated list of bookmarks within the specified list. For smart lists, bookmarks are computed from the list's query.",
+ "summary": "Get bookmarks in a list",
"tags": [
"Lists"
],
@@ -2353,17 +2488,21 @@
"asc",
"desc"
],
- "default": "desc"
+ "default": "desc",
+ "description": "Sort order by creation date. Defaults to 'desc'."
},
"required": false,
+ "description": "Sort order by creation date. Defaults to 'desc'.",
"name": "sortOrder",
"in": "query"
},
{
"schema": {
- "type": "number"
+ "type": "number",
+ "description": "Maximum number of items to return per page."
},
"required": false,
+ "description": "Maximum number of items to return per page.",
"name": "limit",
"in": "query"
},
@@ -2372,6 +2511,7 @@
"$ref": "#/components/schemas/Cursor"
},
"required": false,
+ "description": "Cursor from a previous response to fetch the next page.",
"name": "cursor",
"in": "query"
},
@@ -2379,17 +2519,17 @@
"schema": {
"type": "boolean",
"default": true,
- "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."
+ "description": "If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."
},
"required": false,
- "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.",
+ "description": "If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.",
"name": "includeContent",
"in": "query"
}
],
"responses": {
"200": {
- "description": "Object with list data.",
+ "description": "A paginated list of bookmarks in the specified list.",
"content": {
"application/json": {
"schema": {
@@ -2398,24 +2538,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "List not found",
+ "description": "List not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -2425,7 +2564,8 @@
},
"/lists/{listId}/bookmarks/{bookmarkId}": {
"put": {
- "description": "Add the bookmarks to a list",
+ "operationId": "addBookmarkToList",
+ "description": "Add a bookmark to a manual list. This operation is idempotent — adding an already-present bookmark has no effect.",
"summary": "Add a bookmark to a list",
"tags": [
"Lists"
@@ -2445,26 +2585,25 @@
],
"responses": {
"204": {
- "description": "No content - the bookmark was added"
+ "description": "No content — the bookmark was added to the list successfully."
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
},
"404": {
- "description": "List or bookmark not found",
+ "description": "List or bookmark not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -2472,7 +2611,8 @@
}
},
"delete": {
- "description": "Remove the bookmarks from a list",
+ "operationId": "removeBookmarkFromList",
+ "description": "Remove a bookmark from a manual list.",
"summary": "Remove a bookmark from a list",
"tags": [
"Lists"
@@ -2492,48 +2632,35 @@
],
"responses": {
"204": {
- "description": "No content - the bookmark was added"
+ "description": "No content — the bookmark was removed from the list successfully."
},
"400": {
- "description": "Bookmark already not in list",
+ "description": "Bookmark is not in the list.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
}
}
}
},
"404": {
- "description": "List or bookmark not found",
+ "description": "List or bookmark not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -2543,7 +2670,8 @@
},
"/tags": {
"get": {
- "description": "Get all tags",
+ "operationId": "listTags",
+ "description": "Retrieve a paginated list of all tags. Supports filtering by name, attached-by source, and sorting by name, usage count, or relevance.",
"summary": "Get all tags",
"tags": [
"Tags"
@@ -2609,7 +2737,7 @@
],
"responses": {
"200": {
- "description": "Object with all tags data.",
+ "description": "A paginated list of tags with usage counts.",
"content": {
"application/json": {
"schema": {
@@ -2623,7 +2751,8 @@
},
"nextCursor": {
"type": "string",
- "nullable": true
+ "nullable": true,
+ "description": "Cursor for the next page, or null if no more results."
}
},
"required": [
@@ -2633,11 +2762,23 @@
}
}
}
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
}
}
},
"post": {
- "description": "Create a new tag",
+ "operationId": "createTag",
+ "description": "Create a new tag. Tag names are normalized (trimmed and converted to the user's preferred tag style).",
"summary": "Create a new tag",
"tags": [
"Tags"
@@ -2648,7 +2789,7 @@
}
],
"requestBody": {
- "description": "The data to create the tag with.",
+ "description": "The tag name to create.",
"content": {
"application/json": {
"schema": {
@@ -2667,7 +2808,7 @@
},
"responses": {
"201": {
- "description": "The created tag",
+ "description": "The created tag.",
"content": {
"application/json": {
"schema": {
@@ -2687,13 +2828,25 @@
}
}
}
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
}
}
}
},
"/tags/{tagId}": {
"get": {
- "description": "Get tag by its id",
+ "operationId": "getTag",
+ "description": "Retrieve a single tag by its ID, including the number of bookmarks using it.",
"summary": "Get a single tag",
"tags": [
"Tags"
@@ -2710,7 +2863,7 @@
],
"responses": {
"200": {
- "description": "Object with list data.",
+ "description": "The requested tag with usage statistics.",
"content": {
"application/json": {
"schema": {
@@ -2719,24 +2872,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Tag not found",
+ "description": "Tag not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -2744,7 +2896,8 @@
}
},
"delete": {
- "description": "Delete tag by its id",
+ "operationId": "deleteTag",
+ "description": "Delete a tag. This removes the tag from all bookmarks it was attached to.",
"summary": "Delete a tag",
"tags": [
"Tags"
@@ -2761,26 +2914,25 @@
],
"responses": {
"204": {
- "description": "No content - the bookmark was deleted"
+ "description": "No content — the tag was deleted successfully."
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
},
"404": {
- "description": "Tag not found",
+ "description": "Tag not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -2788,7 +2940,8 @@
}
},
"patch": {
- "description": "Update tag by its id",
+ "operationId": "updateTag",
+ "description": "Rename a tag. The new name will be normalized and trimmed.",
"summary": "Update a tag",
"tags": [
"Tags"
@@ -2804,7 +2957,7 @@
}
],
"requestBody": {
- "description": "The data to update. Only the fields you want to update need to be provided.",
+ "description": "The new tag name.",
"content": {
"application/json": {
"schema": {
@@ -2820,7 +2973,7 @@
},
"responses": {
"200": {
- "description": "The updated tag",
+ "description": "The updated tag.",
"content": {
"application/json": {
"schema": {
@@ -2841,24 +2994,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Tag not found",
+ "description": "Tag not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -2868,8 +3020,9 @@
},
"/tags/{tagId}/bookmarks": {
"get": {
- "description": "Get bookmarks with the tag",
- "summary": "Get bookmarks with the tag",
+ "operationId": "getTagBookmarks",
+ "description": "Retrieve a paginated list of all bookmarks that have the specified tag attached.",
+ "summary": "Get bookmarks with a tag",
"tags": [
"Tags"
],
@@ -2889,17 +3042,21 @@
"asc",
"desc"
],
- "default": "desc"
+ "default": "desc",
+ "description": "Sort order by creation date. Defaults to 'desc'."
},
"required": false,
+ "description": "Sort order by creation date. Defaults to 'desc'.",
"name": "sortOrder",
"in": "query"
},
{
"schema": {
- "type": "number"
+ "type": "number",
+ "description": "Maximum number of items to return per page."
},
"required": false,
+ "description": "Maximum number of items to return per page.",
"name": "limit",
"in": "query"
},
@@ -2908,6 +3065,7 @@
"$ref": "#/components/schemas/Cursor"
},
"required": false,
+ "description": "Cursor from a previous response to fetch the next page.",
"name": "cursor",
"in": "query"
},
@@ -2915,17 +3073,17 @@
"schema": {
"type": "boolean",
"default": true,
- "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks."
+ "description": "If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed."
},
"required": false,
- "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.",
+ "description": "If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. Set to false for lighter responses when only metadata is needed.",
"name": "includeContent",
"in": "query"
}
],
"responses": {
"200": {
- "description": "Object with list data.",
+ "description": "A paginated list of bookmarks that have the specified tag.",
"content": {
"application/json": {
"schema": {
@@ -2934,24 +3092,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Tag not found",
+ "description": "Tag not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -2961,7 +3118,8 @@
},
"/highlights": {
"get": {
- "description": "Get all highlights",
+ "operationId": "listHighlights",
+ "description": "Retrieve a paginated list of all highlights across all bookmarks for the authenticated user.",
"summary": "Get all highlights",
"tags": [
"Highlights"
@@ -2974,9 +3132,11 @@
"parameters": [
{
"schema": {
- "type": "number"
+ "type": "number",
+ "description": "Maximum number of items to return per page."
},
"required": false,
+ "description": "Maximum number of items to return per page.",
"name": "limit",
"in": "query"
},
@@ -2985,13 +3145,14 @@
"$ref": "#/components/schemas/Cursor"
},
"required": false,
+ "description": "Cursor from a previous response to fetch the next page.",
"name": "cursor",
"in": "query"
}
],
"responses": {
"200": {
- "description": "Object with all highlights data.",
+ "description": "A paginated list of highlights.",
"content": {
"application/json": {
"schema": {
@@ -2999,11 +3160,23 @@
}
}
}
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
}
}
},
"post": {
- "description": "Create a new highlight",
+ "operationId": "createHighlight",
+ "description": "Create a new text highlight on a bookmark. Highlights are defined by character offsets within the bookmark's content and support color coding.",
"summary": "Create a new highlight",
"tags": [
"Highlights"
@@ -3014,7 +3187,7 @@
}
],
"requestBody": {
- "description": "The highlight to create",
+ "description": "The highlight to create, including the bookmark ID, text offsets, and optional color/note.",
"content": {
"application/json": {
"schema": {
@@ -3061,7 +3234,7 @@
},
"responses": {
"201": {
- "description": "The created highlight",
+ "description": "The created highlight.",
"content": {
"application/json": {
"schema": {
@@ -3071,45 +3244,32 @@
}
},
"400": {
- "description": "Bad highlight request",
+ "description": "Bad request — invalid offsets or missing required fields.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
}
}
}
},
"404": {
- "description": "Bookmark not found",
+ "description": "Bookmark not found — the specified bookmarkId does not exist.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -3119,7 +3279,8 @@
},
"/highlights/{highlightId}": {
"get": {
- "description": "Get highlight by its id",
+ "operationId": "getHighlight",
+ "description": "Retrieve a single highlight by its ID.",
"summary": "Get a single highlight",
"tags": [
"Highlights"
@@ -3136,7 +3297,7 @@
],
"responses": {
"200": {
- "description": "Object with highlight data.",
+ "description": "The requested highlight.",
"content": {
"application/json": {
"schema": {
@@ -3145,24 +3306,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Highlight not found",
+ "description": "Highlight not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -3170,7 +3330,8 @@
}
},
"delete": {
- "description": "Delete highlight by its id",
+ "operationId": "deleteHighlight",
+ "description": "Delete a highlight by its ID.",
"summary": "Delete a highlight",
"tags": [
"Highlights"
@@ -3187,7 +3348,7 @@
],
"responses": {
"200": {
- "description": "The deleted highlight",
+ "description": "The deleted highlight is returned.",
"content": {
"application/json": {
"schema": {
@@ -3196,24 +3357,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Highlight not found",
+ "description": "Highlight not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -3221,7 +3381,8 @@
}
},
"patch": {
- "description": "Update highlight by its id",
+ "operationId": "updateHighlight",
+ "description": "Partially update a highlight. Supports changing the color or note.",
"summary": "Update a highlight",
"tags": [
"Highlights"
@@ -3237,7 +3398,7 @@
}
],
"requestBody": {
- "description": "The data to update. Only the fields you want to update need to be provided.",
+ "description": "The fields to update. Only the fields you want to change need to be provided.",
"content": {
"application/json": {
"schema": {
@@ -3263,7 +3424,7 @@
},
"responses": {
"200": {
- "description": "The updated highlight",
+ "description": "The updated highlight.",
"content": {
"application/json": {
"schema": {
@@ -3272,24 +3433,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Highlight not found",
+ "description": "Highlight not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -3299,7 +3459,8 @@
},
"/users/me": {
"get": {
- "description": "Returns info about the current user",
+ "operationId": "getCurrentUser",
+ "description": "Retrieve profile information for the currently authenticated user, including their name, email, and avatar.",
"summary": "Get current user info",
"tags": [
"Users"
@@ -3311,7 +3472,7 @@
],
"responses": {
"200": {
- "description": "Object with user data.",
+ "description": "The current user's profile information.",
"content": {
"application/json": {
"schema": {
@@ -3343,13 +3504,25 @@
}
}
}
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
}
}
}
},
"/users/me/stats": {
"get": {
- "description": "Returns stats about the current user",
+ "operationId": "getCurrentUserStats",
+ "description": "Retrieve usage statistics for the currently authenticated user, including bookmark counts by type, top domains, tag usage, bookmarking activity patterns, and storage usage.",
"summary": "Get current user stats",
"tags": [
"Users"
@@ -3361,7 +3534,7 @@
],
"responses": {
"200": {
- "description": "Object with user stats.",
+ "description": "Detailed usage statistics for the current user.",
"content": {
"application/json": {
"schema": {
@@ -3572,13 +3745,25 @@
}
}
}
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
}
}
}
},
"/assets": {
"post": {
- "description": "Upload a new asset",
+ "operationId": "uploadAsset",
+ "description": "Upload a binary file as a new asset. The uploaded asset can then be attached to a bookmark via the POST /bookmarks/{bookmarkId}/assets endpoint.",
"summary": "Upload a new asset",
"tags": [
"Assets"
@@ -3589,7 +3774,7 @@
}
],
"requestBody": {
- "description": "The data to create the asset with.",
+ "description": "The file to upload as multipart/form-data.",
"content": {
"multipart/form-data": {
"schema": {
@@ -3608,11 +3793,22 @@
},
"responses": {
"200": {
- "description": "Details about the created asset",
+ "description": "The asset was uploaded successfully. Returns metadata about the uploaded asset.",
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/Asset"
+ "$ref": "#/components/schemas/UploadedAsset"
+ }
+ }
+ }
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
}
}
}
@@ -3622,7 +3818,8 @@
},
"/assets/{assetId}": {
"get": {
- "description": "Get asset by its id",
+ "operationId": "getAsset",
+ "description": "Download an asset's binary content. The response Content-Type header is set based on the asset's MIME type.",
"summary": "Get a single asset",
"tags": [
"Assets"
@@ -3639,15 +3836,27 @@
],
"responses": {
"200": {
- "description": "Asset content. Content type is determined by the asset type."
+ "description": "The asset's binary content. The Content-Type header reflects the asset's MIME type (e.g., image/png, application/pdf)."
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
}
}
}
},
"/admin/users/{userId}": {
"put": {
- "description": "Update a user's role, bookmark quota, or storage quota. Admin access required.",
- "summary": "Update user",
+ "operationId": "adminUpdateUser",
+ "description": "Update a user's role, bookmark quota, storage quota, or browser crawling setting. Requires admin role. You cannot update your own user account via this endpoint.",
+ "summary": "Update a user (admin)",
"tags": [
"Admin"
],
@@ -3660,7 +3869,7 @@
{
"schema": {
"type": "string",
- "description": "The ID of the user to update",
+ "description": "The ID of the user to update.",
"example": "user_123"
},
"required": true,
@@ -3669,6 +3878,7 @@
}
],
"requestBody": {
+ "description": "The fields to update. All fields are optional — only provided fields will be changed.",
"content": {
"application/json": {
"schema": {
@@ -3708,14 +3918,15 @@
},
"responses": {
"200": {
- "description": "User updated successfully",
+ "description": "User updated successfully.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
- "type": "boolean"
+ "type": "boolean",
+ "description": "Whether the update was successful."
}
},
"required": [
@@ -3726,73 +3937,42 @@
}
},
"400": {
- "description": "Bad request - Invalid input data or cannot update own user",
+ "description": "Bad request — invalid input data or attempted to update own user.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "error": {
- "type": "string"
- }
- },
- "required": [
- "error"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
- "description": "Unauthorized - Authentication required",
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
"content": {
- "application/json": {
+ "text/plain": {
"schema": {
- "type": "object",
- "properties": {
- "error": {
- "type": "string"
- }
- },
- "required": [
- "error"
- ]
+ "type": "string",
+ "example": "Unauthorized"
}
}
}
},
"403": {
- "description": "Forbidden - Admin access required",
+ "description": "Forbidden — admin access required.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "error": {
- "type": "string"
- }
- },
- "required": [
- "error"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
- "description": "User not found",
+ "description": "User not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "error": {
- "type": "string"
- }
- },
- "required": [
- "error"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -3802,7 +3982,8 @@
},
"/backups": {
"get": {
- "description": "Get all backups",
+ "operationId": "listBackups",
+ "description": "Retrieve a list of all backups for the authenticated user, including their status and metadata.",
"summary": "Get all backups",
"tags": [
"Backups"
@@ -3814,7 +3995,7 @@
],
"responses": {
"200": {
- "description": "Object with all backups data.",
+ "description": "A list of all backups.",
"content": {
"application/json": {
"schema": {
@@ -3875,11 +4056,23 @@
}
}
}
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
}
}
},
"post": {
- "description": "Trigger a new backup",
+ "operationId": "createBackup",
+ "description": "Trigger a new full account backup. The backup is created asynchronously — use GET /backups/{backupId} to check its status.",
"summary": "Trigger a new backup",
"tags": [
"Backups"
@@ -3891,7 +4084,7 @@
],
"responses": {
"201": {
- "description": "Backup created successfully",
+ "description": "Backup creation was triggered. The backup object is returned with a 'pending' status.",
"content": {
"application/json": {
"schema": {
@@ -3941,13 +4134,25 @@
}
}
}
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
}
}
}
},
"/backups/{backupId}": {
"get": {
- "description": "Get backup by its id",
+ "operationId": "getBackup",
+ "description": "Retrieve metadata for a single backup, including its current status (pending, success, or failure).",
"summary": "Get a single backup",
"tags": [
"Backups"
@@ -3964,7 +4169,7 @@
],
"responses": {
"200": {
- "description": "Object with backup data.",
+ "description": "The requested backup.",
"content": {
"application/json": {
"schema": {
@@ -4015,24 +4220,23 @@
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Backup not found",
+ "description": "Backup not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -4040,7 +4244,8 @@
}
},
"delete": {
- "description": "Delete backup by its id",
+ "operationId": "deleteBackup",
+ "description": "Permanently delete a backup and its associated archive file.",
"summary": "Delete a backup",
"tags": [
"Backups"
@@ -4057,26 +4262,25 @@
],
"responses": {
"204": {
- "description": "No content - the backup was deleted"
+ "description": "No content — the backup was deleted successfully."
+ },
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
},
"404": {
- "description": "Backup not found",
+ "description": "Backup not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
@@ -4086,7 +4290,8 @@
},
"/backups/{backupId}/download": {
"get": {
- "description": "Download backup file",
+ "operationId": "downloadBackup",
+ "description": "Download a completed backup as a zip archive. The backup must have a 'success' status.",
"summary": "Download a backup",
"tags": [
"Backups"
@@ -4103,31 +4308,30 @@
],
"responses": {
"200": {
- "description": "Backup file (zip archive)",
+ "description": "The backup file as a zip archive.",
"content": {
"application/zip": {
"schema": {}
}
}
},
+ "401": {
+ "description": "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string",
+ "example": "Unauthorized"
+ }
+ }
+ }
+ },
"404": {
- "description": "Backup not found",
+ "description": "Backup not found.",
"content": {
"application/json": {
"schema": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ]
+ "$ref": "#/components/schemas/Error"
}
}
}
diff --git a/packages/open-api/lib/admin.ts b/packages/open-api/lib/admin.ts
index 80f786f3..fbc649f0 100644
--- a/packages/open-api/lib/admin.ts
+++ b/packages/open-api/lib/admin.ts
@@ -7,6 +7,7 @@ import { z } from "zod";
import { updateUserSchema } from "@karakeep/shared/types/admin";
import { BearerAuth } from "./common";
+import { ErrorSchema, UnauthorizedResponse } from "./errors";
export const registry = new OpenAPIRegistry();
extendZodWithOpenApi(z);
@@ -14,25 +15,29 @@ extendZodWithOpenApi(z);
const updateUserRequestSchema = updateUserSchema.omit({ userId: true });
const updateUserResponseSchema = z.object({
- success: z.boolean(),
+ success: z.boolean().describe("Whether the update was successful."),
});
registry.registerPath({
+ operationId: "adminUpdateUser",
method: "put",
path: "/admin/users/{userId}",
description:
- "Update a user's role, bookmark quota, or storage quota. Admin access required.",
- summary: "Update user",
+ "Update a user's role, bookmark quota, storage quota, or browser crawling setting. " +
+ "Requires admin role. You cannot update your own user account via this endpoint.",
+ summary: "Update a user (admin)",
tags: ["Admin"],
security: [{ [BearerAuth.name]: [] }],
request: {
params: z.object({
userId: z.string().openapi({
- description: "The ID of the user to update",
+ description: "The ID of the user to update.",
example: "user_123",
}),
}),
body: {
+ description:
+ "The fields to update. All fields are optional — only provided fields will be changed.",
content: {
"application/json": {
schema: updateUserRequestSchema.openapi({
@@ -49,7 +54,7 @@ registry.registerPath({
},
responses: {
200: {
- description: "User updated successfully",
+ description: "User updated successfully.",
content: {
"application/json": {
schema: updateUserResponseSchema,
@@ -57,42 +62,28 @@ registry.registerPath({
},
},
400: {
- description: "Bad request - Invalid input data or cannot update own user",
+ description:
+ "Bad request — invalid input data or attempted to update own user.",
content: {
"application/json": {
- schema: z.object({
- error: z.string(),
- }),
- },
- },
- },
- 401: {
- description: "Unauthorized - Authentication required",
- content: {
- "application/json": {
- schema: z.object({
- error: z.string(),
- }),
+ schema: ErrorSchema,
},
},
},
+ 401: UnauthorizedResponse,
403: {
- description: "Forbidden - Admin access required",
+ description: "Forbidden — admin access required.",
content: {
"application/json": {
- schema: z.object({
- error: z.string(),
- }),
+ schema: ErrorSchema,
},
},
},
404: {
- description: "User not found",
+ description: "User not found.",
content: {
"application/json": {
- schema: z.object({
- error: z.string(),
- }),
+ schema: ErrorSchema,
},
},
},
diff --git a/packages/open-api/lib/assets.ts b/packages/open-api/lib/assets.ts
index e0d0af99..d5af6f17 100644
--- a/packages/open-api/lib/assets.ts
+++ b/packages/open-api/lib/assets.ts
@@ -5,6 +5,7 @@ import {
import { z } from "zod";
import { BearerAuth } from "./common";
+import { UnauthorizedResponse } from "./errors";
export const registry = new OpenAPIRegistry();
extendZodWithOpenApi(z);
@@ -16,20 +17,23 @@ export const AssetIdSchema = registry.registerParameter(
name: "assetId",
in: "path",
},
+ description: "The unique identifier of the asset.",
example: "ieidlxygmwj87oxz5hxttoc8",
}),
);
registry.registerPath({
+ operationId: "uploadAsset",
method: "post",
path: "/assets",
- description: "Upload a new asset",
+ description:
+ "Upload a binary file as a new asset. The uploaded asset can then be attached to a bookmark via the POST /bookmarks/{bookmarkId}/assets endpoint.",
summary: "Upload a new asset",
tags: ["Assets"],
security: [{ [BearerAuth.name]: [] }],
request: {
body: {
- description: "The data to create the asset with.",
+ description: "The file to upload as multipart/form-data.",
content: {
"multipart/form-data": {
schema: z.object({
@@ -41,27 +45,41 @@ registry.registerPath({
},
responses: {
200: {
- description: "Details about the created asset",
+ description:
+ "The asset was uploaded successfully. Returns metadata about the uploaded asset.",
content: {
"application/json": {
schema: z
.object({
- assetId: z.string(),
- contentType: z.string(),
- size: z.number(),
- fileName: z.string(),
+ assetId: z
+ .string()
+ .describe(
+ "The unique identifier assigned to the uploaded asset.",
+ ),
+ contentType: z
+ .string()
+ .describe("The MIME type of the uploaded file."),
+ size: z
+ .number()
+ .describe("The size of the uploaded file in bytes."),
+ fileName: z
+ .string()
+ .describe("The original file name of the uploaded file."),
})
- .openapi("Asset"),
+ .openapi("UploadedAsset"),
},
},
},
+ 401: UnauthorizedResponse,
},
});
registry.registerPath({
+ operationId: "getAsset",
method: "get",
path: "/assets/{assetId}",
- description: "Get asset by its id",
+ description:
+ "Download an asset's binary content. The response Content-Type header is set based on the asset's MIME type.",
summary: "Get a single asset",
tags: ["Assets"],
security: [{ [BearerAuth.name]: [] }],
@@ -71,7 +89,8 @@ registry.registerPath({
responses: {
200: {
description:
- "Asset content. Content type is determined by the asset type.",
+ "The asset's binary content. The Content-Type header reflects the asset's MIME type (e.g., image/png, application/pdf).",
},
+ 401: UnauthorizedResponse,
},
});
diff --git a/packages/open-api/lib/backups.ts b/packages/open-api/lib/backups.ts
index 0ad29057..d9960902 100644
--- a/packages/open-api/lib/backups.ts
+++ b/packages/open-api/lib/backups.ts
@@ -7,7 +7,7 @@ import { z } from "zod";
import { zBackupSchema } from "@karakeep/shared/types/backups";
import { BearerAuth } from "./common";
-import { ErrorSchema } from "./errors";
+import { ErrorSchema, UnauthorizedResponse } from "./errors";
export const registry = new OpenAPIRegistry();
extendZodWithOpenApi(z);
@@ -19,20 +19,23 @@ export const BackupIdSchema = registry.registerParameter(
name: "backupId",
in: "path",
},
+ description: "The unique identifier of the backup.",
example: "ieidlxygmwj87oxz5hxttoc8",
}),
);
registry.registerPath({
+ operationId: "listBackups",
method: "get",
path: "/backups",
- description: "Get all backups",
+ description:
+ "Retrieve a list of all backups for the authenticated user, including their status and metadata.",
summary: "Get all backups",
tags: ["Backups"],
security: [{ [BearerAuth.name]: [] }],
responses: {
200: {
- description: "Object with all backups data.",
+ description: "A list of all backups.",
content: {
"application/json": {
schema: z.object({
@@ -41,32 +44,39 @@ registry.registerPath({
},
},
},
+ 401: UnauthorizedResponse,
},
});
registry.registerPath({
+ operationId: "createBackup",
method: "post",
path: "/backups",
- description: "Trigger a new backup",
+ description:
+ "Trigger a new full account backup. The backup is created asynchronously — use GET /backups/{backupId} to check its status.",
summary: "Trigger a new backup",
tags: ["Backups"],
security: [{ [BearerAuth.name]: [] }],
responses: {
201: {
- description: "Backup created successfully",
+ description:
+ "Backup creation was triggered. The backup object is returned with a 'pending' status.",
content: {
"application/json": {
schema: zBackupSchema,
},
},
},
+ 401: UnauthorizedResponse,
},
});
registry.registerPath({
+ operationId: "getBackup",
method: "get",
path: "/backups/{backupId}",
- description: "Get backup by its id",
+ description:
+ "Retrieve metadata for a single backup, including its current status (pending, success, or failure).",
summary: "Get a single backup",
tags: ["Backups"],
security: [{ [BearerAuth.name]: [] }],
@@ -75,15 +85,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "Object with backup data.",
+ description: "The requested backup.",
content: {
"application/json": {
schema: zBackupSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Backup not found",
+ description: "Backup not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -94,9 +105,11 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "downloadBackup",
method: "get",
path: "/backups/{backupId}/download",
- description: "Download backup file",
+ description:
+ "Download a completed backup as a zip archive. The backup must have a 'success' status.",
summary: "Download a backup",
tags: ["Backups"],
security: [{ [BearerAuth.name]: [] }],
@@ -105,15 +118,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "Backup file (zip archive)",
+ description: "The backup file as a zip archive.",
content: {
"application/zip": {
schema: z.instanceof(Blob),
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Backup not found",
+ description: "Backup not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -124,9 +138,10 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "deleteBackup",
method: "delete",
path: "/backups/{backupId}",
- description: "Delete backup by its id",
+ description: "Permanently delete a backup and its associated archive file.",
summary: "Delete a backup",
tags: ["Backups"],
security: [{ [BearerAuth.name]: [] }],
@@ -135,10 +150,11 @@ registry.registerPath({
},
responses: {
204: {
- description: "No content - the backup was deleted",
+ description: "No content — the backup was deleted successfully.",
},
+ 401: UnauthorizedResponse,
404: {
- description: "Backup not found",
+ description: "Backup not found.",
content: {
"application/json": {
schema: ErrorSchema,
diff --git a/packages/open-api/lib/bookmarks.ts b/packages/open-api/lib/bookmarks.ts
index d52fe108..04a3a1f3 100644
--- a/packages/open-api/lib/bookmarks.ts
+++ b/packages/open-api/lib/bookmarks.ts
@@ -16,7 +16,7 @@ import {
import { AssetIdSchema } from "./assets";
import { BearerAuth } from "./common";
-import { ErrorSchema } from "./errors";
+import { ErrorSchema, UnauthorizedResponse } from "./errors";
import {
BookmarkSchema,
IncludeContentSearchParamSchema,
@@ -36,71 +36,90 @@ export const BookmarkIdSchema = registry.registerParameter(
name: "bookmarkId",
in: "path",
},
+ description: "The unique identifier of the bookmark.",
example: "ieidlxygmwj87oxz5hxttoc8",
}),
);
registry.registerPath({
+ operationId: "listBookmarks",
method: "get",
path: "/bookmarks",
- description: "Get all bookmarks",
+ description:
+ "Retrieve a paginated list of all bookmarks for the authenticated user. " +
+ "Supports filtering by archived/favourited status and sorting by date.",
summary: "Get all bookmarks",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
request: {
query: z
.object({
- archived: z.boolean().optional(),
- favourited: z.boolean().optional(),
+ archived: z.boolean().optional().describe("Filter by archived status."),
+ favourited: z
+ .boolean()
+ .optional()
+ .describe("Filter by favourited status."),
sortOrder: zSortOrder
.exclude(["relevance"])
.optional()
- .default(zSortOrder.Enum.desc),
+ .default(zSortOrder.Enum.desc)
+ .describe("Sort order by creation date. Defaults to 'desc'."),
})
.merge(PaginationSchema)
.merge(IncludeContentSearchParamSchema),
},
responses: {
200: {
- description: "Object with all bookmarks data.",
+ description: "A paginated list of bookmarks.",
content: {
"application/json": {
schema: PaginatedBookmarksSchema,
},
},
},
+ 401: UnauthorizedResponse,
},
});
registry.registerPath({
+ operationId: "searchBookmarks",
method: "get",
path: "/bookmarks/search",
- description: "Search bookmarks",
+ description:
+ "Full-text search across all bookmarks. Searches bookmark titles, content, descriptions, and notes. " +
+ "Results default to relevance sorting.",
summary: "Search bookmarks",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
request: {
query: z
.object({
- q: z.string(),
- sortOrder: zSortOrder.optional().default(zSortOrder.Enum.relevance),
+ q: z.string().describe("The search query string."),
+ sortOrder: zSortOrder
+ .optional()
+ .default(zSortOrder.Enum.relevance)
+ .describe(
+ "Sort order for results. Defaults to 'relevance'. Use 'asc' or 'desc' for date-based sorting.",
+ ),
})
.merge(PaginationSchema)
.merge(IncludeContentSearchParamSchema),
},
responses: {
200: {
- description: "Object with the search results.",
+ description: "A paginated list of bookmarks matching the search query.",
content: {
"application/json": {
schema: PaginatedBookmarksSchema,
},
},
},
+ 401: UnauthorizedResponse,
},
});
registry.registerPath({
+ operationId: "checkBookmarkUrl",
method: "get",
path: "/bookmarks/check-url",
description:
@@ -110,34 +129,43 @@ registry.registerPath({
security: [{ [BearerAuth.name]: [] }],
request: {
query: z.object({
- url: z.string(),
+ url: z.string().describe("The URL to check against existing bookmarks."),
}),
},
responses: {
200: {
description:
- "Object indicating whether the URL is bookmarked. bookmarkId is null if not found.",
+ "Object indicating whether the URL is bookmarked. `bookmarkId` is `null` if not found.",
content: {
"application/json": {
schema: z.object({
- bookmarkId: z.string().nullable(),
+ bookmarkId: z
+ .string()
+ .nullable()
+ .describe(
+ "The ID of the existing bookmark, or null if the URL is not bookmarked.",
+ ),
}),
},
},
},
+ 401: UnauthorizedResponse,
},
});
registry.registerPath({
+ operationId: "createBookmark",
method: "post",
path: "/bookmarks",
- description: "Create a new bookmark",
+ description:
+ "Create a new bookmark. The bookmark type (link, text, or asset) is determined by the `type` field in the request body. " +
+ "For link bookmarks, if the URL already exists, the existing bookmark is returned with a 200 status.",
summary: "Create a new bookmark",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
request: {
body: {
- description: "The bookmark to create",
+ description: "The bookmark to create.",
content: {
"application/json": {
schema: zNewBookmarkRequestSchema,
@@ -147,7 +175,8 @@ registry.registerPath({
},
responses: {
200: {
- description: "The bookmark already exists",
+ description:
+ "A bookmark with this URL already exists. The existing bookmark is returned.",
content: {
"application/json": {
schema: BookmarkSchema,
@@ -155,7 +184,7 @@ registry.registerPath({
},
},
201: {
- description: "The bookmark got created",
+ description: "The bookmark was created successfully.",
content: {
"application/json": {
schema: BookmarkSchema,
@@ -163,19 +192,23 @@ registry.registerPath({
},
},
400: {
- description: "Bad request",
+ description: "Bad request — invalid input data.",
content: {
"application/json": {
schema: ErrorSchema,
},
},
},
+ 401: UnauthorizedResponse,
},
});
+
registry.registerPath({
+ operationId: "getBookmark",
method: "get",
path: "/bookmarks/{bookmarkId}",
- description: "Get bookmark by its id",
+ description:
+ "Retrieve a single bookmark by its ID, including its tags, content, and assets.",
summary: "Get a single bookmark",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
@@ -185,15 +218,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "Object with bookmark data.",
+ description: "The requested bookmark.",
content: {
"application/json": {
schema: BookmarkSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Bookmark not found",
+ description: "Bookmark not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -204,9 +238,11 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "deleteBookmark",
method: "delete",
path: "/bookmarks/{bookmarkId}",
- description: "Delete bookmark by its id",
+ description:
+ "Permanently delete a bookmark and all its associated data (tags, highlights, assets).",
summary: "Delete a bookmark",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
@@ -215,10 +251,11 @@ registry.registerPath({
},
responses: {
204: {
- description: "No content - the bookmark was deleted",
+ description: "No content — the bookmark was deleted successfully.",
},
+ 401: UnauthorizedResponse,
404: {
- description: "Bookmark not found",
+ description: "Bookmark not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -229,9 +266,12 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "updateBookmark",
method: "patch",
path: "/bookmarks/{bookmarkId}",
- description: "Update bookmark by its id",
+ description:
+ "Partially update a bookmark. Only the fields provided in the request body will be updated. " +
+ "Supports updating common fields (title, note, archived, favourited) as well as type-specific fields.",
summary: "Update a bookmark",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
@@ -239,7 +279,7 @@ registry.registerPath({
params: z.object({ bookmarkId: BookmarkIdSchema }),
body: {
description:
- "The data to update. Only the fields you want to update need to be provided.",
+ "The fields to update. Only the fields you want to change need to be provided.",
content: {
"application/json": {
schema: zUpdateBookmarksRequestSchema.omit({ bookmarkId: true }),
@@ -249,15 +289,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "The updated bookmark",
+ description: "The updated bookmark.",
content: {
"application/json": {
schema: zBareBookmarkSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Bookmark not found",
+ description: "Bookmark not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -268,10 +309,12 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "summarizeBookmark",
method: "post",
path: "/bookmarks/{bookmarkId}/summarize",
description:
- "Attaches a summary to the bookmark and returns the updated record.",
+ "Trigger AI summarization for a bookmark. The summary is generated asynchronously and attached to the bookmark. " +
+ "Returns the updated bookmark record.",
summary: "Summarize a bookmark",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
@@ -280,15 +323,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "The updated bookmark with summary",
+ description: "The bookmark with the updated summary.",
content: {
"application/json": {
schema: zBareBookmarkSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Bookmark not found",
+ description: "Bookmark not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -299,16 +343,20 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "attachTagsToBookmark",
method: "post",
path: "/bookmarks/{bookmarkId}/tags",
- description: "Attach tags to a bookmark",
+ description:
+ "Attach one or more tags to a bookmark. Tags can be identified by ID or name. " +
+ "If a tag name is provided and the tag doesn't exist, it will be created automatically.",
summary: "Attach tags to a bookmark",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
request: {
params: z.object({ bookmarkId: BookmarkIdSchema }),
body: {
- description: "The tags to attach.",
+ description:
+ "The tags to attach. Each tag must have either a `tagId` or a `tagName`.",
content: {
"application/json": {
schema: z.object({ tags: z.array(zManipulatedTagSchema) }),
@@ -318,15 +366,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "The list of attached tag ids",
+ description: "The IDs of the tags that were attached.",
content: {
"application/json": {
schema: z.object({ attached: z.array(TagIdSchema) }),
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Bookmark not found",
+ description: "Bookmark not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -337,16 +386,19 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "detachTagsFromBookmark",
method: "delete",
path: "/bookmarks/{bookmarkId}/tags",
- description: "Detach tags from a bookmark",
+ description:
+ "Detach one or more tags from a bookmark. Tags can be identified by ID or name.",
summary: "Detach tags from a bookmark",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
request: {
params: z.object({ bookmarkId: BookmarkIdSchema }),
body: {
- description: "The tags to detach.",
+ description:
+ "The tags to detach. Each tag must have either a `tagId` or a `tagName`.",
content: {
"application/json": {
schema: z.object({ tags: z.array(zManipulatedTagSchema) }),
@@ -356,15 +408,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "The list of detached tag ids",
+ description: "The IDs of the tags that were detached.",
content: {
"application/json": {
schema: z.object({ detached: z.array(TagIdSchema) }),
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Bookmark not found",
+ description: "Bookmark not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -375,9 +428,10 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "getBookmarkLists",
method: "get",
path: "/bookmarks/{bookmarkId}/lists",
- description: "Get lists of a bookmark",
+ description: "Retrieve all lists that contain the specified bookmark.",
summary: "Get lists of a bookmark",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
@@ -386,15 +440,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "The list of highlights",
+ description: "The lists that contain this bookmark.",
content: {
"application/json": {
schema: z.object({ lists: z.array(ListSchema) }),
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Bookmark not found",
+ description: "Bookmark not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -405,9 +460,10 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "getBookmarkHighlights",
method: "get",
path: "/bookmarks/{bookmarkId}/highlights",
- description: "Get highlights of a bookmark",
+ description: "Retrieve all text highlights within the specified bookmark.",
summary: "Get highlights of a bookmark",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
@@ -416,15 +472,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "The list of highlights",
+ description: "The highlights within this bookmark.",
content: {
"application/json": {
schema: z.object({ highlights: z.array(HighlightSchema) }),
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Bookmark not found",
+ description: "Bookmark not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -435,21 +492,25 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "attachAssetToBookmark",
method: "post",
path: "/bookmarks/{bookmarkId}/assets",
- description: "Attach a new asset to a bookmark",
- summary: "Attach asset",
+ description:
+ "Attach a previously uploaded asset to a bookmark. The asset must be uploaded first via the POST /assets endpoint.",
+ summary: "Attach asset to a bookmark",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
request: {
params: z.object({ bookmarkId: BookmarkIdSchema }),
body: {
- description: "The asset to attach",
+ description: "The asset ID and type to attach.",
content: {
"application/json": {
schema: z.object({
- id: z.string(),
- assetType: zAssetTypesSchema,
+ id: z.string().describe("The ID of the previously uploaded asset."),
+ assetType: zAssetTypesSchema.describe(
+ "The type classification for this asset.",
+ ),
}),
},
},
@@ -457,15 +518,16 @@ registry.registerPath({
},
responses: {
201: {
- description: "The attached asset",
+ description: "The asset was attached successfully.",
content: {
"application/json": {
schema: zAssetSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Bookmark not found",
+ description: "Bookmark not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -476,10 +538,12 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "replaceAssetOnBookmark",
method: "put",
path: "/bookmarks/{bookmarkId}/assets/{assetId}",
- description: "Replace an existing asset with a new one",
- summary: "Replace asset",
+ description:
+ "Replace an existing asset on a bookmark with a different previously uploaded asset.",
+ summary: "Replace asset on a bookmark",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
request: {
@@ -488,11 +552,13 @@ registry.registerPath({
assetId: AssetIdSchema,
}),
body: {
- description: "The new asset to replace with",
+ description: "The ID of the new asset to replace the existing one.",
content: {
"application/json": {
schema: z.object({
- assetId: z.string(),
+ assetId: z
+ .string()
+ .describe("The ID of the new asset to use as a replacement."),
}),
},
},
@@ -500,10 +566,11 @@ registry.registerPath({
},
responses: {
204: {
- description: "No content - asset was replaced successfully",
+ description: "No content — asset was replaced successfully.",
},
+ 401: UnauthorizedResponse,
404: {
- description: "Bookmark not found",
+ description: "Bookmark or asset not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -514,10 +581,11 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "detachAssetFromBookmark",
method: "delete",
path: "/bookmarks/{bookmarkId}/assets/{assetId}",
- description: "Detach an asset from a bookmark",
- summary: "Detach asset",
+ description: "Detach an asset from a bookmark.",
+ summary: "Detach asset from a bookmark",
tags: ["Bookmarks"],
security: [{ [BearerAuth.name]: [] }],
request: {
@@ -528,10 +596,11 @@ registry.registerPath({
},
responses: {
204: {
- description: "No content - asset was detached successfully",
+ description: "No content — asset was detached successfully.",
},
+ 401: UnauthorizedResponse,
404: {
- description: "Bookmark not found",
+ description: "Bookmark or asset not found.",
content: {
"application/json": {
schema: ErrorSchema,
diff --git a/packages/open-api/lib/errors.ts b/packages/open-api/lib/errors.ts
index 326e0e9a..913e93b4 100644
--- a/packages/open-api/lib/errors.ts
+++ b/packages/open-api/lib/errors.ts
@@ -1,6 +1,23 @@
+import { extendZodWithOpenApi } from "@asteasolutions/zod-to-openapi";
import { z } from "zod";
-export const ErrorSchema = z.object({
- code: z.string(),
- message: z.string(),
-});
+extendZodWithOpenApi(z);
+
+export const ErrorSchema = z
+ .object({
+ code: z.string().describe("A machine-readable error code."),
+ message: z.string().describe("A human-readable error message."),
+ })
+ .openapi("Error");
+
+export const UnauthorizedResponse = {
+ description:
+ "Unauthorized — the Bearer token is missing, invalid, or expired.",
+ content: {
+ "text/plain": {
+ schema: z.string().openapi({
+ example: "Unauthorized",
+ }),
+ },
+ },
+} as const;
diff --git a/packages/open-api/lib/highlights.ts b/packages/open-api/lib/highlights.ts
index c642c9cb..eb652df1 100644
--- a/packages/open-api/lib/highlights.ts
+++ b/packages/open-api/lib/highlights.ts
@@ -10,7 +10,7 @@ import {
} from "@karakeep/shared/types/highlights";
import { BearerAuth } from "./common";
-import { ErrorSchema } from "./errors";
+import { ErrorSchema, UnauthorizedResponse } from "./errors";
import { PaginationSchema } from "./pagination";
import { HighlightSchema, PaginatedHighlightsSchema } from "./types";
@@ -24,14 +24,17 @@ export const HighlightIdSchema = registry.registerParameter(
name: "highlightId",
in: "path",
},
+ description: "The unique identifier of the highlight.",
example: "ieidlxygmwj87oxz5hxttoc8",
}),
);
registry.registerPath({
+ operationId: "listHighlights",
method: "get",
path: "/highlights",
- description: "Get all highlights",
+ description:
+ "Retrieve a paginated list of all highlights across all bookmarks for the authenticated user.",
summary: "Get all highlights",
tags: ["Highlights"],
security: [{ [BearerAuth.name]: [] }],
@@ -40,26 +43,30 @@ registry.registerPath({
},
responses: {
200: {
- description: "Object with all highlights data.",
+ description: "A paginated list of highlights.",
content: {
"application/json": {
schema: PaginatedHighlightsSchema,
},
},
},
+ 401: UnauthorizedResponse,
},
});
registry.registerPath({
+ operationId: "createHighlight",
method: "post",
path: "/highlights",
- description: "Create a new highlight",
+ description:
+ "Create a new text highlight on a bookmark. Highlights are defined by character offsets within the bookmark's content and support color coding.",
summary: "Create a new highlight",
tags: ["Highlights"],
security: [{ [BearerAuth.name]: [] }],
request: {
body: {
- description: "The highlight to create",
+ description:
+ "The highlight to create, including the bookmark ID, text offsets, and optional color/note.",
content: {
"application/json": {
schema: zNewHighlightSchema,
@@ -69,7 +76,7 @@ registry.registerPath({
},
responses: {
201: {
- description: "The created highlight",
+ description: "The created highlight.",
content: {
"application/json": {
schema: HighlightSchema,
@@ -77,15 +84,17 @@ registry.registerPath({
},
},
400: {
- description: "Bad highlight request",
+ description: "Bad request — invalid offsets or missing required fields.",
content: {
"application/json": {
schema: ErrorSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Bookmark not found",
+ description:
+ "Bookmark not found — the specified bookmarkId does not exist.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -94,10 +103,12 @@ registry.registerPath({
},
},
});
+
registry.registerPath({
+ operationId: "getHighlight",
method: "get",
path: "/highlights/{highlightId}",
- description: "Get highlight by its id",
+ description: "Retrieve a single highlight by its ID.",
summary: "Get a single highlight",
tags: ["Highlights"],
security: [{ [BearerAuth.name]: [] }],
@@ -106,15 +117,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "Object with highlight data.",
+ description: "The requested highlight.",
content: {
"application/json": {
schema: HighlightSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Highlight not found",
+ description: "Highlight not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -125,9 +137,10 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "deleteHighlight",
method: "delete",
path: "/highlights/{highlightId}",
- description: "Delete highlight by its id",
+ description: "Delete a highlight by its ID.",
summary: "Delete a highlight",
tags: ["Highlights"],
security: [{ [BearerAuth.name]: [] }],
@@ -136,15 +149,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "The deleted highlight",
+ description: "The deleted highlight is returned.",
content: {
"application/json": {
schema: HighlightSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Highlight not found",
+ description: "Highlight not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -155,9 +169,11 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "updateHighlight",
method: "patch",
path: "/highlights/{highlightId}",
- description: "Update highlight by its id",
+ description:
+ "Partially update a highlight. Supports changing the color or note.",
summary: "Update a highlight",
tags: ["Highlights"],
security: [{ [BearerAuth.name]: [] }],
@@ -165,7 +181,7 @@ registry.registerPath({
params: z.object({ highlightId: HighlightIdSchema }),
body: {
description:
- "The data to update. Only the fields you want to update need to be provided.",
+ "The fields to update. Only the fields you want to change need to be provided.",
content: {
"application/json": {
schema: zUpdateHighlightSchema.omit({ highlightId: true }),
@@ -175,15 +191,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "The updated highlight",
+ description: "The updated highlight.",
content: {
"application/json": {
schema: HighlightSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Highlight not found",
+ description: "Highlight not found.",
content: {
"application/json": {
schema: ErrorSchema,
diff --git a/packages/open-api/lib/lists.ts b/packages/open-api/lib/lists.ts
index de67df2f..d525f406 100644
--- a/packages/open-api/lib/lists.ts
+++ b/packages/open-api/lib/lists.ts
@@ -12,7 +12,7 @@ import {
import { BookmarkIdSchema } from "./bookmarks";
import { BearerAuth } from "./common";
-import { ErrorSchema } from "./errors";
+import { ErrorSchema, UnauthorizedResponse } from "./errors";
import {
IncludeContentSearchParamSchema,
PaginatedBookmarksSchema,
@@ -30,21 +30,24 @@ export const ListIdSchema = registry.registerParameter(
name: "listId",
in: "path",
},
+ description: "The unique identifier of the list.",
example: "ieidlxygmwj87oxz5hxttoc8",
}),
);
registry.registerPath({
+ operationId: "listLists",
method: "get",
path: "/lists",
- description: "Get all lists",
+ description:
+ "Retrieve all bookmark lists for the authenticated user, including both manual and smart lists.",
summary: "Get all lists",
tags: ["Lists"],
security: [{ [BearerAuth.name]: [] }],
request: {},
responses: {
200: {
- description: "Object with all lists data.",
+ description: "All lists owned by or shared with the current user.",
content: {
"application/json": {
schema: z.object({
@@ -53,19 +56,23 @@ registry.registerPath({
},
},
},
+ 401: UnauthorizedResponse,
},
});
registry.registerPath({
+ operationId: "createList",
method: "post",
path: "/lists",
- description: "Create a new list",
+ description:
+ "Create a new bookmark list. Lists can be manual (bookmarks are added explicitly) or smart (bookmarks are matched automatically by a search query).",
summary: "Create a new list",
tags: ["Lists"],
security: [{ [BearerAuth.name]: [] }],
request: {
body: {
- description: "The list to create",
+ description:
+ "The list to create. For smart lists, a `query` field is required. For manual lists, `query` must not be set.",
content: {
"application/json": {
schema: zNewBookmarkListSchema,
@@ -75,7 +82,7 @@ registry.registerPath({
},
responses: {
201: {
- description: "The created list",
+ description: "The created list.",
content: {
"application/json": {
schema: ListSchema,
@@ -83,19 +90,23 @@ registry.registerPath({
},
},
400: {
- description: "Bad request",
+ description:
+ "Bad request — invalid input data (e.g., smart list missing query, or manual list with a query).",
content: {
"application/json": {
schema: ErrorSchema,
},
},
},
+ 401: UnauthorizedResponse,
},
});
+
registry.registerPath({
+ operationId: "getList",
method: "get",
path: "/lists/{listId}",
- description: "Get list by its id",
+ description: "Retrieve a single list by its ID.",
summary: "Get a single list",
tags: ["Lists"],
security: [{ [BearerAuth.name]: [] }],
@@ -104,15 +115,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "Object with list data.",
+ description: "The requested list.",
content: {
"application/json": {
schema: ListSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "List not found",
+ description: "List not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -123,9 +135,11 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "deleteList",
method: "delete",
path: "/lists/{listId}",
- description: "Delete list by its id",
+ description:
+ "Delete a list. This removes the list only — bookmarks within it are not deleted.",
summary: "Delete a list",
tags: ["Lists"],
security: [{ [BearerAuth.name]: [] }],
@@ -134,10 +148,11 @@ registry.registerPath({
},
responses: {
204: {
- description: "No content - the bookmark was deleted",
+ description: "No content — the list was deleted successfully.",
},
+ 401: UnauthorizedResponse,
404: {
- description: "List not found",
+ description: "List not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -148,9 +163,11 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "updateList",
method: "patch",
path: "/lists/{listId}",
- description: "Update list by its id",
+ description:
+ "Partially update a list. Only the fields provided in the request body will be updated.",
summary: "Update a list",
tags: ["Lists"],
security: [{ [BearerAuth.name]: [] }],
@@ -158,7 +175,7 @@ registry.registerPath({
params: z.object({ listId: ListIdSchema }),
body: {
description:
- "The data to update. Only the fields you want to update need to be provided.",
+ "The fields to update. Only the fields you want to change need to be provided.",
content: {
"application/json": {
schema: zEditBookmarkListSchema.omit({ listId: true }),
@@ -168,15 +185,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "The updated list",
+ description: "The updated list.",
content: {
"application/json": {
schema: ListSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "List not found",
+ description: "List not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -187,10 +205,12 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "getListBookmarks",
method: "get",
path: "/lists/{listId}/bookmarks",
- description: "Get bookmarks in the list",
- summary: "Get bookmarks in the list",
+ description:
+ "Retrieve a paginated list of bookmarks within the specified list. For smart lists, bookmarks are computed from the list's query.",
+ summary: "Get bookmarks in a list",
tags: ["Lists"],
security: [{ [BearerAuth.name]: [] }],
request: {
@@ -200,22 +220,24 @@ registry.registerPath({
sortOrder: zSortOrder
.exclude(["relevance"])
.optional()
- .default(zSortOrder.Enum.desc),
+ .default(zSortOrder.Enum.desc)
+ .describe("Sort order by creation date. Defaults to 'desc'."),
})
.merge(PaginationSchema)
.merge(IncludeContentSearchParamSchema),
},
responses: {
200: {
- description: "Object with list data.",
+ description: "A paginated list of bookmarks in the specified list.",
content: {
"application/json": {
schema: PaginatedBookmarksSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "List not found",
+ description: "List not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -226,9 +248,11 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "addBookmarkToList",
method: "put",
path: "/lists/{listId}/bookmarks/{bookmarkId}",
- description: "Add the bookmarks to a list",
+ description:
+ "Add a bookmark to a manual list. This operation is idempotent — adding an already-present bookmark has no effect.",
summary: "Add a bookmark to a list",
tags: ["Lists"],
security: [{ [BearerAuth.name]: [] }],
@@ -237,10 +261,12 @@ registry.registerPath({
},
responses: {
204: {
- description: "No content - the bookmark was added",
+ description:
+ "No content — the bookmark was added to the list successfully.",
},
+ 401: UnauthorizedResponse,
404: {
- description: "List or bookmark not found",
+ description: "List or bookmark not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -251,9 +277,10 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "removeBookmarkFromList",
method: "delete",
path: "/lists/{listId}/bookmarks/{bookmarkId}",
- description: "Remove the bookmarks from a list",
+ description: "Remove a bookmark from a manual list.",
summary: "Remove a bookmark from a list",
tags: ["Lists"],
security: [{ [BearerAuth.name]: [] }],
@@ -262,18 +289,20 @@ registry.registerPath({
},
responses: {
204: {
- description: "No content - the bookmark was added",
+ description:
+ "No content — the bookmark was removed from the list successfully.",
},
400: {
- description: "Bookmark already not in list",
+ description: "Bookmark is not in the list.",
content: {
"application/json": {
schema: ErrorSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "List or bookmark not found",
+ description: "List or bookmark not found.",
content: {
"application/json": {
schema: ErrorSchema,
diff --git a/packages/open-api/lib/tags.ts b/packages/open-api/lib/tags.ts
index 18c14483..c8e728ee 100644
--- a/packages/open-api/lib/tags.ts
+++ b/packages/open-api/lib/tags.ts
@@ -13,7 +13,7 @@ import {
} from "@karakeep/shared/types/tags";
import { BearerAuth } from "./common";
-import { ErrorSchema } from "./errors";
+import { ErrorSchema, UnauthorizedResponse } from "./errors";
import {
IncludeContentSearchParamSchema,
PaginatedBookmarksSchema,
@@ -31,14 +31,17 @@ export const TagIdSchema = registry.registerParameter(
name: "tagId",
in: "path",
},
+ description: "The unique identifier of the tag.",
example: "ieidlxygmwj87oxz5hxttoc8",
}),
);
registry.registerPath({
+ operationId: "listTags",
method: "get",
path: "/tags",
- description: "Get all tags",
+ description:
+ "Retrieve a paginated list of all tags. Supports filtering by name, attached-by source, and sorting by name, usage count, or relevance.",
summary: "Get all tags",
tags: ["Tags"],
security: [{ [BearerAuth.name]: [] }],
@@ -47,29 +50,37 @@ registry.registerPath({
},
responses: {
200: {
- description: "Object with all tags data.",
+ description: "A paginated list of tags with usage counts.",
content: {
"application/json": {
schema: z.object({
tags: z.array(TagSchema),
- nextCursor: z.string().nullable(),
+ nextCursor: z
+ .string()
+ .nullable()
+ .describe(
+ "Cursor for the next page, or null if no more results.",
+ ),
}),
},
},
},
+ 401: UnauthorizedResponse,
},
});
registry.registerPath({
+ operationId: "createTag",
method: "post",
path: "/tags",
- description: "Create a new tag",
+ description:
+ "Create a new tag. Tag names are normalized (trimmed and converted to the user's preferred tag style).",
summary: "Create a new tag",
tags: ["Tags"],
security: [{ [BearerAuth.name]: [] }],
request: {
body: {
- description: "The data to create the tag with.",
+ description: "The tag name to create.",
content: {
"application/json": {
schema: zCreateTagRequestSchema,
@@ -79,20 +90,23 @@ registry.registerPath({
},
responses: {
201: {
- description: "The created tag",
+ description: "The created tag.",
content: {
"application/json": {
schema: zTagBasicSchema,
},
},
},
+ 401: UnauthorizedResponse,
},
});
registry.registerPath({
+ operationId: "getTag",
method: "get",
path: "/tags/{tagId}",
- description: "Get tag by its id",
+ description:
+ "Retrieve a single tag by its ID, including the number of bookmarks using it.",
summary: "Get a single tag",
tags: ["Tags"],
security: [{ [BearerAuth.name]: [] }],
@@ -101,15 +115,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "Object with list data.",
+ description: "The requested tag with usage statistics.",
content: {
"application/json": {
schema: TagSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Tag not found",
+ description: "Tag not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -120,9 +135,11 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "deleteTag",
method: "delete",
path: "/tags/{tagId}",
- description: "Delete tag by its id",
+ description:
+ "Delete a tag. This removes the tag from all bookmarks it was attached to.",
summary: "Delete a tag",
tags: ["Tags"],
security: [{ [BearerAuth.name]: [] }],
@@ -131,10 +148,11 @@ registry.registerPath({
},
responses: {
204: {
- description: "No content - the bookmark was deleted",
+ description: "No content — the tag was deleted successfully.",
},
+ 401: UnauthorizedResponse,
404: {
- description: "Tag not found",
+ description: "Tag not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -145,17 +163,17 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "updateTag",
method: "patch",
path: "/tags/{tagId}",
- description: "Update tag by its id",
+ description: "Rename a tag. The new name will be normalized and trimmed.",
summary: "Update a tag",
tags: ["Tags"],
security: [{ [BearerAuth.name]: [] }],
request: {
params: z.object({ tagId: TagIdSchema }),
body: {
- description:
- "The data to update. Only the fields you want to update need to be provided.",
+ description: "The new tag name.",
content: {
"application/json": {
schema: zUpdateTagRequestSchema.omit({ tagId: true }),
@@ -165,15 +183,16 @@ registry.registerPath({
},
responses: {
200: {
- description: "The updated tag",
+ description: "The updated tag.",
content: {
"application/json": {
schema: zTagBasicSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Tag not found",
+ description: "Tag not found.",
content: {
"application/json": {
schema: ErrorSchema,
@@ -184,10 +203,12 @@ registry.registerPath({
});
registry.registerPath({
+ operationId: "getTagBookmarks",
method: "get",
path: "/tags/{tagId}/bookmarks",
- description: "Get bookmarks with the tag",
- summary: "Get bookmarks with the tag",
+ description:
+ "Retrieve a paginated list of all bookmarks that have the specified tag attached.",
+ summary: "Get bookmarks with a tag",
tags: ["Tags"],
security: [{ [BearerAuth.name]: [] }],
request: {
@@ -197,22 +218,24 @@ registry.registerPath({
sortOrder: zSortOrder
.exclude(["relevance"])
.optional()
- .default(zSortOrder.Enum.desc),
+ .default(zSortOrder.Enum.desc)
+ .describe("Sort order by creation date. Defaults to 'desc'."),
})
.merge(PaginationSchema)
.merge(IncludeContentSearchParamSchema),
},
responses: {
200: {
- description: "Object with list data.",
+ description: "A paginated list of bookmarks that have the specified tag.",
content: {
"application/json": {
schema: PaginatedBookmarksSchema,
},
},
},
+ 401: UnauthorizedResponse,
404: {
- description: "Tag not found",
+ description: "Tag not found.",
content: {
"application/json": {
schema: ErrorSchema,
diff --git a/packages/open-api/lib/types.ts b/packages/open-api/lib/types.ts
index 3aae48fc..15f69d36 100644
--- a/packages/open-api/lib/types.ts
+++ b/packages/open-api/lib/types.ts
@@ -15,16 +15,27 @@ export const BookmarkSchema = zBookmarkSchema.openapi("Bookmark");
export const PaginatedBookmarksSchema = z
.object({
bookmarks: z.array(BookmarkSchema),
- nextCursor: z.string().nullable(),
+ nextCursor: z
+ .string()
+ .nullable()
+ .describe("Cursor for the next page, or null if no more results."),
})
.openapi("PaginatedBookmarks");
-export const CursorSchema = z.string().openapi("Cursor");
+export const CursorSchema = z
+ .string()
+ .describe("An opaque cursor string for pagination.")
+ .openapi("Cursor");
export const PaginationSchema = z
.object({
- limit: z.number().optional(),
- cursor: CursorSchema.optional(),
+ limit: z
+ .number()
+ .optional()
+ .describe("Maximum number of items to return per page."),
+ cursor: CursorSchema.optional().describe(
+ "Cursor from a previous response to fetch the next page.",
+ ),
})
.openapi("Pagination");
@@ -33,7 +44,8 @@ export const IncludeContentSearchParamSchema = z.object({
.boolean()
.default(true)
.describe(
- "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.",
+ "If set to true, the bookmark's full content (HTML, text, etc.) will be included in the response. " +
+ "Set to false for lighter responses when only metadata is needed.",
),
});
@@ -42,7 +54,10 @@ export const HighlightSchema = zHighlightSchema.openapi("Highlight");
export const PaginatedHighlightsSchema = z
.object({
highlights: z.array(HighlightSchema),
- nextCursor: z.string().nullable(),
+ nextCursor: z
+ .string()
+ .nullable()
+ .describe("Cursor for the next page, or null if no more results."),
})
.openapi("PaginatedHighlights");
diff --git a/packages/open-api/lib/users.ts b/packages/open-api/lib/users.ts
index fa512a80..109c7a5a 100644
--- a/packages/open-api/lib/users.ts
+++ b/packages/open-api/lib/users.ts
@@ -10,46 +10,54 @@ import {
} from "@karakeep/shared/types/users";
import { BearerAuth } from "./common";
+import { UnauthorizedResponse } from "./errors";
export const registry = new OpenAPIRegistry();
extendZodWithOpenApi(z);
registry.registerPath({
+ operationId: "getCurrentUser",
method: "get",
path: "/users/me",
- description: "Returns info about the current user",
+ description:
+ "Retrieve profile information for the currently authenticated user, including their name, email, and avatar.",
summary: "Get current user info",
tags: ["Users"],
security: [{ [BearerAuth.name]: [] }],
request: {},
responses: {
200: {
- description: "Object with user data.",
+ description: "The current user's profile information.",
content: {
"application/json": {
schema: zWhoAmIResponseSchema,
},
},
},
+ 401: UnauthorizedResponse,
},
});
registry.registerPath({
+ operationId: "getCurrentUserStats",
method: "get",
path: "/users/me/stats",
- description: "Returns stats about the current user",
+ description:
+ "Retrieve usage statistics for the currently authenticated user, including bookmark counts by type, " +
+ "top domains, tag usage, bookmarking activity patterns, and storage usage.",
summary: "Get current user stats",
tags: ["Users"],
security: [{ [BearerAuth.name]: [] }],
request: {},
responses: {
200: {
- description: "Object with user stats.",
+ description: "Detailed usage statistics for the current user.",
content: {
"application/json": {
schema: zUserStatsResponseSchema,
},
},
},
+ 401: UnauthorizedResponse,
},
});