pub.chive.graph.getRelations

chive.pub

Documentation

List available relation types (nodes with subkind=relation)

main query

List available relation types (nodes with subkind=relation)

Output

Encodingapplication/json
relations array Required

Available relation types

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
View raw schema
{
  "type": "query",
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "relations"
      ],
      "properties": {
        "relations": {
          "type": "array",
          "items": {
            "ref": "#relationType",
            "type": "ref"
          },
          "description": "Available relation types"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "properties": {}
  },
  "description": "List available relation types (nodes with subkind=relation)"
}
relationType object

Relation type definition

Properties

description string Optional

Relation description

inverseSlug string Optional

Slug of inverse relation

label string Required

Display label

slug string Required

Relation slug identifier

View raw schema
{
  "type": "object",
  "required": [
    "slug",
    "label"
  ],
  "properties": {
    "slug": {
      "type": "string",
      "description": "Relation slug identifier"
    },
    "label": {
      "type": "string",
      "description": "Display label"
    },
    "description": {
      "type": "string",
      "description": "Relation description"
    },
    "inverseSlug": {
      "type": "string",
      "description": "Slug of inverse relation"
    }
  },
  "description": "Relation type definition"
}

Lexicon Garden

@