# so.sprk.graph.getSuggestedFollowsByActor

> 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.getSuggestedFollowsByActor)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.graph.getSuggestedFollowsByActor/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.graph.getSuggestedFollowsByActor/examples)

## Definitions

### `so.sprk.graph.getSuggestedFollowsByActor`

**Type**: `query`

Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` (at-identifier) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `recId` | `integer` | No | Snowflake for this recommendation, use when submitting recommendation events. |
| `isFallback` | `boolean` | No | If true, response has fallen-back to generic results, and is not scoped using relativeToDid |
| `suggestions` | `array` | Yes |  |

## Raw Schema

```json
{
  "id": "so.sprk.graph.getSuggestedFollowsByActor",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "suggestions"
          ],
          "properties": {
            "recId": {
              "type": "integer",
              "description": "Snowflake for this recommendation, use when submitting recommendation events."
            },
            "isFallback": {
              "type": "boolean",
              "default": false,
              "description": "If true, response has fallen-back to generic results, and is not scoped using relativeToDid"
            },
            "suggestions": {
              "type": "array",
              "items": {
                "ref": "so.sprk.actor.defs#profileView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "actor"
        ],
        "properties": {
          "actor": {
            "type": "string",
            "format": "at-identifier"
          }
        }
      },
      "description": "Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
