sync_reading_history
Sync Substack reading history into the local cache, including viewed unsaved posts, to fill seen timestamps and reading progress without changing saved states.
Instructions
Sync the reading history (posts viewed on Substack, saved or not) into the local cache.
Fills seen_at and reading progress; never changes a cached post's saved state. Unsaved viewed posts are stored with is_saved=0 and only show up via history=True on list_saved_posts/search_saved_posts. force=True walks the whole history instead of stopping at already-cached views. Status is 'success', 'partial', 'auth_required', or 'failed'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| entity | No | post | |
| status | Yes | ||
| sync_mode | No | incremental | |
| started_at | Yes | ||
| completed_at | No | ||
| error_message | No | ||
| fetched_count | No | ||
| upserted_count | No | ||
| reconciled_count | No |