app.bsky.graph.getRelationships

Enumerates public relationships between one account, and a list of other accounts. Does not require auth.

class atproto_client.models.app.bsky.graph.get_relationships.Params

Bases: ParamsModelBase

Parameters model for app.bsky.graph.getRelationships.

field actor: AtIdentifier [Required]

Primary account requesting relationships for.

field others: List[AtIdentifier] | None = None
Constraints:
  • max_length = 30

class atproto_client.models.app.bsky.graph.get_relationships.ParamsDict

Bases: TypedDict

actor: AtIdentifier

Primary account requesting relationships for.

others: NotRequired[List[AtIdentifier] | None]

List of β€˜other’ accounts to be related back to the primary.

class atproto_client.models.app.bsky.graph.get_relationships.Response

Bases: ResponseModelBase

Output data model for app.bsky.graph.getRelationships.

field actor: Did | None = None

Actor.

field relationships: List[models.AppBskyGraphDefs.Relationship | models.AppBskyGraphDefs.NotFoundActor | DotDict] [Required]

Relationships.