Move a saved item into a folder
Move this Saved Item into a Folder, or send a null Folder to take it out of the one it is in. A Saved Item belongs to at most one Folder. Returns `404` when either the Saved Item or the Folder does not belong to the authenticated account.
/v1/saved-items/{id}/folderMove this Saved Item into a Folder, or send a null Folder to take it out of the one it is in. A Saved Item belongs to at most one Folder. Returns 404 when either the Saved Item or the Folder does not belong to the authenticated account.
Personal API Key or App Session bearer token.
In: header
Path Parameters
Header Parameters
A unique value identifying this write. The first response for a given key is recorded for 24 hours and replayed for every later request that repeats it, so a retry after a timeout cannot create a duplicate. Replayed responses carry Idempotent-Replay: true. A key whose original request is still running gets 409. Use a UUID or a ULID, and reuse a key only when retrying the same request.
length <= 255Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/saved-items/string/folder" \ -H "Idempotency-Key: 8f14e45f-ea4e-4a1f-9c2b-6f0a1d3c5e77" \ -H "Content-Type: application/json" \ -d '{ "folderId": "string" }'{ "id": "string", "originalUrl": "string", "normalizedUrl": "string", "host": "string", "title": "string", "description": "string", "siteName": "string", "faviconUrl": "string", "faviconLightUrl": "string", "faviconDarkUrl": "string", "imageUrl": "string", "canonicalUrl": "string", "authorName": "string", "authorHandle": "string", "authorAvatarUrl": "string", "previewSummary": "string", "type": "article", "tags": [ "ai" ], "enrichmentStatus": "pending", "sourceName": "string", "captureChannel": "chrome-extension", "folder": { "id": "string", "name": "string", "emoji": "string", "color": "string", "isPublished": true }, "isRead": true, "hasReadableContent": true, "lastSavedAt": "string", "createdAt": "string", "updatedAt": "string"}{ "_tag": "Unauthorized", "message": "string"}{ "_tag": "SavedItemNotFoundError", "message": "string", "savedItemId": "string"}{ "_tag": "RateLimitExceeded", "message": "string"}Delete a saved item DELETE
Permanently delete this Saved Item from the authenticated account. Deletion cannot be undone, so an agent should confirm with the person first. Returns `204`, including when the item was already gone, so a retry is safe.
Set a saved item's read state POST
Set the read state of this Saved Item from a boolean, for callers syncing a toggle. Equivalent to `POST /read` or `POST /unread` depending on the value sent.