List rules

Your automation rules with trigger, conditions, actions and how many articles each matched.

GET https://cotlet.dev/api/v1/inoreader/rules

read

Returns the rules in the Automate tab: name, whether it is on, trigger, conditions and actions. The response also shows how many rule slots you use out of those your plan includes (30 on Pro). Rules are a Pro feature, so on Free the list can be empty.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/inoreader/rules \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("inoreader", "list_rules")
Node.js
const result = await cotlet.call('inoreader', 'list_rules');
CLI
cotlet call inoreader list_rules

Example response

JSON

{
  "rules": [
    {
      "rule_id": "r_204",
      "name": "Mute sponsored posts",
      "enabled": true,
      "trigger": "new article in folder Newsletters",
      "conditions": "title and/or content contains \"sponsored\"",
      "actions": [
        "mark as read"
      ],
      "matched_today": 3
    }
  ],
  "slots_used": 11,
  "slots_total": 30
}

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.