# app.didpic.graph.getFollows

> Published by [lexicons.didpic.app](https://lexicon.garden/identity/did:plc:an2jtp4jgkkbtmwfzhpbxawd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.graph.getFollows)
- [Documentation](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.graph.getFollows/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.graph.getFollows/examples)

## Definitions

### `app.didpic.graph.getFollows`

**Type**: `query`

Accounts the given actor follows. Newest follow first.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` | Yes | DID or handle of the actor. |
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No |  |
| `follows` | `array` | Yes |  |
| `subject` | `ref` → `app.didpic.actor.defs#profileBasic` | Yes |  |

#### Errors

- **ActorNotFound**

## Raw Schema

```json
{
  "id": "app.didpic.graph.getFollows",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "ActorNotFound"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "subject",
            "follows"
          ],
          "properties": {
            "cursor": {
              "type": "string"
            },
            "follows": {
              "type": "array",
              "items": {
                "ref": "app.didpic.actor.defs#profileBasic",
                "type": "ref"
              }
            },
            "subject": {
              "ref": "app.didpic.actor.defs#profileBasic",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "actor"
        ],
        "properties": {
          "actor": {
            "type": "string",
            "description": "DID or handle of the actor."
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          }
        }
      },
      "description": "Accounts the given actor follows. Newest follow first."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
