# so.sprk.graph.getFollows

> Published by [sprk.so](https://lexicon.garden/identity/did:plc:cveom2iroj3mt747sd4qqnr2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.graph.getFollows)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.graph.getFollows/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.graph.getFollows/examples)

## Definitions

### `so.sprk.graph.getFollows`

**Type**: `query`

Enumerates accounts which a specified account (actor) follows.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` (at-identifier) | Yes |  |
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No |  |
| `follows` | `array` | Yes |  |
| `subject` | `ref` → `so.sprk.actor.defs#profileView` | Yes |  |

## Raw Schema

```json
{
  "id": "so.sprk.graph.getFollows",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "subject",
            "follows"
          ],
          "properties": {
            "cursor": {
              "type": "string"
            },
            "follows": {
              "type": "array",
              "items": {
                "ref": "so.sprk.actor.defs#profileView",
                "type": "ref"
              }
            },
            "subject": {
              "ref": "so.sprk.actor.defs#profileView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "actor"
        ],
        "properties": {
          "actor": {
            "type": "string",
            "format": "at-identifier"
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          }
        }
      },
      "description": "Enumerates accounts which a specified account (actor) follows."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
