app.bsky.notification.getGroupedNotifications
[UNSTABLE - DO NOT USE THIS ENDPOINT WHILE THIS NOTE IS HERE] Enumerate notifications for the requesting account, pre-grouped for rendering. Supersedes listNotifications. Requires auth.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.Params
Bases:
ParamsModelBaseParameters model for
app.bsky.notification.getGroupedNotifications.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.ParamsDict
Bases:
TypedDict- cursor: NotRequired[str | None]
Cursor.
- feed: NotRequired[Literal['all', 'people-i-follow', 'conversations', 'followers', 'activity'] | str | None]
Which notification feed to return. Grouping behavior varies by feed: notifications about follows might be grouped in ‘all’ and ungrouped (or rather, in single-item groups) in ‘followers’.
- limit: NotRequired[int | None]
Maximum number of groups to return.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.Response
Bases:
ResponseModelBaseOutput data model for
app.bsky.notification.getGroupedNotifications.- field groups: List[models.AppBskyNotificationGetGroupedNotifications.Group] [Required]
Notification groups or individual notifications, newest first. Clients should ignore kinds they do not recognize. Grouping behavior depends on the kind and selected feed.
Reusable views referenced by notifications. Views shared across notifications appear once to avoid duplication. Each group contributes only its first 10 of each related view to this array. Ex: for a group containing likes in a post, we might have a large number of likeItem (e.g., 50) in a group, but only the profile views for the newest 10 items will be included here.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.Group
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. Contains common metadata and kind-specific data for a notification group or individual notification.- field count: int [Required]
Count.
- Constraints:
ge = 1
- field id: str [Required]
Id.
- Constraints:
max_length = 256
- field indexed_at: DateTime [Required]
Indexed at.
- field is_read: bool [Required]
Is read.
- field kind: models.AppBskyNotificationGetGroupedNotifications.LikeGroup | models.AppBskyNotificationGetGroupedNotifications.MultiPostLikeGroup | models.AppBskyNotificationGetGroupedNotifications.MultiPostRepostGroup | models.AppBskyNotificationGetGroupedNotifications.MultiPostLikeViaRepostGroup | models.AppBskyNotificationGetGroupedNotifications.MultiPostRepostViaRepostGroup | models.AppBskyNotificationGetGroupedNotifications.RepostGroup | models.AppBskyNotificationGetGroupedNotifications.LikeViaRepostGroup | models.AppBskyNotificationGetGroupedNotifications.RepostViaRepostGroup | models.AppBskyNotificationGetGroupedNotifications.FollowGroup | models.AppBskyNotificationGetGroupedNotifications.SubscribedPostGroup | models.AppBskyNotificationGetGroupedNotifications.GeneratorLikeGroup | models.AppBskyNotificationGetGroupedNotifications.ReplyNotification | models.AppBskyNotificationGetGroupedNotifications.QuoteNotification | models.AppBskyNotificationGetGroupedNotifications.MentionNotification | models.AppBskyNotificationGetGroupedNotifications.FollowBackNotification | models.AppBskyNotificationGetGroupedNotifications.VerifiedNotification | models.AppBskyNotificationGetGroupedNotifications.UnverifiedNotification | models.AppBskyNotificationGetGroupedNotifications.StarterPackJoinedNotification | models.AppBskyNotificationGetGroupedNotifications.ContactMatchNotification | DotDict [Required]
Kind.
- Constraints:
__module__ = atproto_client.models.unknown_union
__firstlineno__ = 17
__doc__ = Annotation for open ref unions: an unrecognized
$typefalls back toDotDict. Applied tot.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated bypy_typeas usual, so a known type that fails validation still raises. Only a$typethat matches no member, or a missing one, degrades to aDotDict.__get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>
__static_attributes__ = ()
__dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 17, ‘__doc__’: “Annotation for open ref unions: an unrecognized
$typefalls back toDotDict.nnApplied tot.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a$typethatnmatches no member, or a missing one, degrades to aDotDict.n”, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x7bc6f7b3ccc0>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}__weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.LikeGroup
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. Group of likes by different actors on the same post.- field items: List[models.AppBskyNotificationGetGroupedNotifications.LikeItem] [Required]
Items.
- Constraints:
min_length = 1
- field post: AtUri [Required]
Post.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.LikeItem
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. One actor who liked the group’s post.- field actor: Did [Required]
Actor.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.MultiPostLikeGroup
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. Group of likes by the same actor on different posts.- field actor: Did [Required]
Actor.
- field items: List[models.AppBskyNotificationGetGroupedNotifications.MultiPostLikeItem] [Required]
Items.
- Constraints:
min_length = 2
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.MultiPostLikeItem
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. One post which was liked by the group’s actor.- field post: AtUri [Required]
Post.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.MultiPostRepostGroup
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. Group of reposts by the same actor of different posts.- field actor: Did [Required]
Actor.
- field items: List[models.AppBskyNotificationGetGroupedNotifications.MultiPostRepostItem] [Required]
Items.
- Constraints:
min_length = 2
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.MultiPostRepostItem
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. One post which was reposted by the group’s actor.- field post: AtUri [Required]
Post.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.MultiPostLikeViaRepostGroup
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. Group of likes by the same actor on different posts via the requesting account’s reposts.- field actor: Did [Required]
Actor.
- field items: List[models.AppBskyNotificationGetGroupedNotifications.MultiPostLikeViaRepostItem] [Required]
Items.
- Constraints:
min_length = 2
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.MultiPostLikeViaRepostItem
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. One post which was liked by the group’s actor via the requesting account’s repost.- field post: AtUri [Required]
Post.
- field via_repost: AtUri [Required]
Via repost.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.MultiPostRepostViaRepostGroup
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. Group of reposts by the same actor of different posts via the requesting account’s reposts.- field actor: Did [Required]
Actor.
- field items: List[models.AppBskyNotificationGetGroupedNotifications.MultiPostRepostViaRepostItem] [Required]
Items.
- Constraints:
min_length = 2
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.MultiPostRepostViaRepostItem
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. One post which was reposted by the group’s actor via the requesting account’s repost.- field post: AtUri [Required]
Post.
- field via_repost: AtUri [Required]
Via repost.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.RepostGroup
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. Group of reposts by different actors of the same post.- field items: List[models.AppBskyNotificationGetGroupedNotifications.RepostItem] [Required]
Items.
- Constraints:
min_length = 1
- field post: AtUri [Required]
Post.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.RepostItem
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. One actor who reposted the group’s post.- field actor: Did [Required]
Actor.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.LikeViaRepostGroup
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. Group of likes by different actors on the same post via the requesting account’s repost.- field items: List[models.AppBskyNotificationGetGroupedNotifications.LikeViaRepostItem] [Required]
Items.
- Constraints:
min_length = 1
- field post: AtUri [Required]
Post.
- field via_repost: AtUri [Required]
Via repost.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.LikeViaRepostItem
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. One actor who liked the group’s post via the requesting account’s repost.- field actor: Did [Required]
Actor.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.RepostViaRepostGroup
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. Group of reposts by different actors of the same post via the requesting account’s repost.- field items: List[models.AppBskyNotificationGetGroupedNotifications.RepostViaRepostItem] [Required]
Items.
- Constraints:
min_length = 1
- field post: AtUri [Required]
Post.
- field via_repost: AtUri [Required]
Via repost.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.RepostViaRepostItem
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. One actor who reposted the group’s post via the requesting account’s repost.- field actor: Did [Required]
Actor.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.FollowGroup
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. Group of actors who followed the requesting account.- field items: List[models.AppBskyNotificationGetGroupedNotifications.FollowItem] [Required]
Items.
- Constraints:
min_length = 1
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.FollowItem
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. An actor who followed the requesting account, possibly via a starter pack.- field actor: Did [Required]
Actor.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.SubscribedPostGroup
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. Group of new posts by actors the requesting account subscribes to.- field items: List[models.AppBskyNotificationGetGroupedNotifications.SubscribedPostItem] [Required]
Items.
- Constraints:
min_length = 1
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.SubscribedPostItem
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. One new post by an actor the requesting account subscribes to.- field actor: Did [Required]
Actor.
- field post: AtUri [Required]
Post.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.GeneratorLikeGroup
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. Group of likes by different actors on the same feed generator.- field generator: AtUri [Required]
Generator.
- field items: List[models.AppBskyNotificationGetGroupedNotifications.GeneratorLikeItem] [Required]
Items.
- Constraints:
min_length = 1
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.GeneratorLikeItem
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. One actor who liked the feed generator in the group.- field actor: Did [Required]
Actor.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.ReplyNotification
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. A reply to a post by the requesting account or to a thread they are participating in.- field parent: AtUri [Required]
Parent.
- field post: AtUri [Required]
Post.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.QuoteNotification
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. A post quoting a post by the requesting account.- field post: AtUri [Required]
Post.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.MentionNotification
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. A post mentioning the requesting account.- field post: AtUri [Required]
Post.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.FollowBackNotification
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. An actor followed the requesting account back, possibly via a starter pack.- field actor: Did [Required]
Actor.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.VerifiedNotification
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. An actor verified the requesting account.- field actor: Did [Required]
Actor.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.UnverifiedNotification
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. A verification of the requesting account was removed.- field actor: Did [Required]
Actor.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.StarterPackJoinedNotification
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. An actor joined Bluesky via a starter pack created by the requesting account.- field actor: Did [Required]
Actor.
- field starter_pack: AtUri [Required]
Starter pack.
- class atproto_client.models.app.bsky.notification.get_grouped_notifications.ContactMatchNotification
Bases:
ModelBaseDefinition model for
app.bsky.notification.getGroupedNotifications. A contact of the requesting account joined Bluesky.- field actor: Did [Required]
Actor.