alltrails_get_activity_feed
Fetch an AllTrails user's recorded hikes and posts from their activity feed. Supports local, timeline, and personal feeds with pagination and compact projections.
Instructions
Get an AllTrails user's activity feed (recorded hikes and posts). Defaults to the signed-in user; pass a userId to target a specific public profile. Without a feed argument this returns the feed DIRECTORY (the available feeds: local, timeline (following), personal (own posts)) — pass feed to get the actual items. Set compact=true for slim projections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feed | No | Which feed to read: local (nearby activity), timeline (people you follow), personal (own posts). Omit to list the available feeds. | |
| cursor | No | Opaque nextCursor from a previous page, for pagination | |
| userId | No | Numeric AllTrails user id. Defaults to the signed-in user. | |
| compact | No | Return slim projections instead of the full records (default false) | |
| maxItems | No | Max items per page (server-side) |