Mark a stream as read

Mark every article in a Feed or source as read, optionally only older ones.

POST https://cotlet.dev/api/v1/feedly/all-read/mark

write

Marks all unread articles in one Feed or source as read, the same as Shift + A on a list. older_than limits it to articles published before that time. The call returns the article IDs it changed, so mark_articles_read with state 'unread' restores them in one call. It changes your read state only and runs without asking first.

Parameters

Parameters: mark_all_read
NameTypeDescription
stream string required string A feed_id or source_id from list_feeds.
older_than datetime datetime Only articles published before this time.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/feedly/all-read/mark \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"stream":"stream"}'
Python
result = client.call("feedly", "mark_all_read", {"stream":"stream"})
Node.js
const result = await cotlet.call('feedly', 'mark_all_read', {"stream":"stream"});
CLI
cotlet call feedly mark_all_read --data '{"stream":"stream"}'

Example response

JSON

{
  "stream": "feed_gen03",
  "marked": 3,
  "article_ids": [
    "art_c4410a",
    "art_c4410b",
    "art_c4410c"
  ]
}

Sign in once. Your agent does the rest.

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