# social.graze.midterms.getPreferences

> Published by [lexicons.graze.social](https://lexicon.garden/identity/did:plc:nxlxk7yrghbz4bqail664q3x)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:nxlxk7yrghbz4bqail664q3x/social.graze.midterms.getPreferences)
- [Documentation](https://lexicon.garden/lexicon/did:plc:nxlxk7yrghbz4bqail664q3x/social.graze.midterms.getPreferences/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:nxlxk7yrghbz4bqail664q3x/social.graze.midterms.getPreferences/examples)

## Definitions

### `social.graze.midterms.getPreferences`

**Type**: `query`

Get the authenticated account's preferences for the Graze 2026 midterms feeds. Requires service auth: aud did:web:midterms.graze.social, lxm this NSID.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `content` | `array` | Yes | The reader's chosen feeds, unique: state codes in the order they take turns, then 'national' if it is included. Empty when nothing that changes the feed is stored. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the authenticated account's preferences for the Graze 2026 midterms feeds. Requires service auth: aud did:web:midterms.graze.social, lxm this NSID.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "content": {
              "description": "The reader's chosen feeds, unique: state codes in the order they take turns, then 'national' if it is included. Empty when nothing that changes the feed is stored.",
              "items": {
                "description": "'national' (races-natl) or a lowercase two-letter state code for a published race feed, e.g. 'ga' (races-ga).",
                "knownValues": [
                  "national",
                  "ak",
                  "al",
                  "ar",
                  "az",
                  "ca",
                  "co",
                  "ct",
                  "dc",
                  "de",
                  "fl",
                  "ga",
                  "hi",
                  "ia",
                  "id",
                  "il",
                  "in",
                  "ks",
                  "ky",
                  "la",
                  "ma",
                  "md",
                  "me",
                  "mi",
                  "mn",
                  "mo",
                  "ms",
                  "mt",
                  "nc",
                  "nd",
                  "ne",
                  "nh",
                  "nj",
                  "nm",
                  "nv",
                  "ny",
                  "oh",
                  "ok",
                  "or",
                  "pa",
                  "ri",
                  "sc",
                  "sd",
                  "tn",
                  "tx",
                  "ut",
                  "va",
                  "vt",
                  "wa",
                  "wi",
                  "wv",
                  "wy"
                ],
                "maxLength": 8,
                "type": "string"
              },
              "maxLength": 53,
              "type": "array"
            }
          },
          "required": [
            "content"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {},
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.graze.midterms.getPreferences",
  "lexicon": 1
}
```
