Get My Activity Stream
get_my_activity_streamThe authenticated student's cross-course activity stream: new discussion posts, announcements, conversation messages, graded submissions, peer-review requests and conference invitations from every course at once, newest first.
Instructions
The authenticated student's cross-course activity stream: new discussion posts, announcements, conversation messages, graded submissions, peer-review requests and conference invitations from every course at once, newest first. Four caveats, none of them visible in the response: (1) RECENT ACTIVITY ONLY — typically the last ~4 weeks; the retention window is a per-Canvas-instance setting and cannot be read through the API, so "nothing found" is not evidence that nothing happened. (2) Each item's message was truncated to 4096 characters when Canvas stored it, with no marker — follow the item's html_url object with get_discussion or get_conversation for the full text. (3) At most 3 root_discussion_entries per discussion item and 3 latest_messages per conversation item. (4) Exactly one of course_id / group_id is present on each item and the other key is ABSENT, not null — join on course_id, and read context_type to tell which you have.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_items | No | Maximum items to return (default 100). When the limit is reached, `truncated` is true and `truncation_note` explains how to narrow the query. | |
| only_active_courses | No | Only return activity in courses the student is actively participating in. Omit to include all courses, including concluded ones. |