# so.sprk.feed.getFeedGenerator

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

## Definitions

### `so.sprk.feed.getFeedGenerator`

**Type**: `query`

Get information about a feed generator. Implemented by AppView.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `feed` | `string` (at-uri) | Yes | AT-URI of the feed generator record. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `view` | `ref` → `so.sprk.feed.defs#generatorView` | Yes |  |
| `isValid` | `boolean` | Yes | Indicates whether the feed generator service is compatible with the record declaration. |
| `isOnline` | `boolean` | Yes | Indicates whether the feed generator service has been online recently, or else seems to be inactive. |

## Raw Schema

```json
{
  "id": "so.sprk.feed.getFeedGenerator",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "view",
            "isOnline",
            "isValid"
          ],
          "properties": {
            "view": {
              "ref": "so.sprk.feed.defs#generatorView",
              "type": "ref"
            },
            "isValid": {
              "type": "boolean",
              "description": "Indicates whether the feed generator service is compatible with the record declaration."
            },
            "isOnline": {
              "type": "boolean",
              "description": "Indicates whether the feed generator service has been online recently, or else seems to be inactive."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "feed"
        ],
        "properties": {
          "feed": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the feed generator record."
          }
        }
      },
      "description": "Get information about a feed generator. Implemented by AppView."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
