List rules in the order they run
bearerAuthorizationBearer <token>A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.
The user's rules, in the order they run
application/json- response
rules*array<>curl -X GET 'https://example.com/v1/rules'{ "rules": [ { "id": "string", "name": "string", "description": "string", "enabled": true, "event": { "type": "bookmarkAdded", "tag": "string", "list_ids": [ "string" ] }, "condition": { "type": "alwaysTrue", "str": "string", "tag": "string", "item_type": "link", "query": "string", "conditions": [ {} ] }, "actions": [ { "type": "addTag", "tag": "string", "list_id": "string" } ], "applied_count": 0, "last_applied_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]}The webhook's 50 most recent deliveries (kept for 7 days) GET
Previous Page
Create a rule POST
A rule has one `event` (its trigger), a `condition` tree and a list of `actions`, as in Karakeep. When the event happens to an item and the condition holds for the item as it is then, the actions run, in order. Rules run in the order they were made, and each one sees what the ones before it did. Changes made by rules send no webhooks and trigger no other rules. Rules do not touch items that already exist. A user can have at most 20 rules. See docs/RULES.md.