app.bsky.graph.getRelationships
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Enumerates public relationships between one account, and a list of other accounts. Does not require auth.",
"errors": [
{
"description": "the primary actor at-identifier could not be resolved",
"name": "ActorNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"actor": {
"format": "did",
"type": "string"
},
"relationships": {
"items": {
"refs": [
"app.bsky.graph.defs#relationship",
"app.bsky.graph.defs#notFoundActor"
],
"type": "union"
},
"type": "array"
}
},
"required": [
"relationships"
],
"type": "object"
}
},
"parameters": {
"properties": {
"actor": {
"description": "Primary account requesting relationships for.",
"format": "at-identifier",
"type": "string"
},
"others": {
"description": "List of 'other' accounts to be related back to the primary.",
"items": {
"format": "at-identifier",
"type": "string"
},
"maxLength": 30,
"type": "array"
}
},
"required": [
"actor"
],
"type": "params"
},
"type": "query"
}
},
"id": "app.bsky.graph.getRelationships",
"lexicon": 1
}
Metadata
- DID
-
did:plc:4v4y5r3lwsbtmsxhile2ljac - CID
-
bafyreiabszfuqanet2tbyyx7plxmknfegygnfyaydhwyialt4cbo24k5dq - Indexed At
- 2026-02-18 17:55 UTC
- AT-URI
-
at://did:plc:4v4y5r3lwsbtmsxhile2ljac/com.atproto.lexicon.schema/app.bsky.graph.getRelationships
Referenced Schemas (2)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Enumerates public relationships between one account, and a list of other accounts. Does not require auth.
-
Enumerates public relationships between one account, and a list of other accounts. Does not require auth.
-
Batch variant of getRelationship: check the follow relationship between `actor` and each of `others`.
-
Check the follow relationship between two actors: whether `actor` follows `other`, and whether `other` follows `actor` back.
-
Get neighbours for an actor