# app.lovesky.actor.getPreferences

> Published by [toddlambert.com](https://lexicon.garden/identity/did:plc:r5pj64joaywqnvk2obembpt7)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:r5pj64joaywqnvk2obembpt7/app.lovesky.actor.getPreferences)
- [Documentation](https://lexicon.garden/lexicon/did:plc:r5pj64joaywqnvk2obembpt7/app.lovesky.actor.getPreferences/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:r5pj64joaywqnvk2obembpt7/app.lovesky.actor.getPreferences/examples)

## Definitions

### `app.lovesky.actor.getPreferences`

**Type**: `query`

The caller's private matching preferences, or NotFound if none are set. Requires an authenticated Lovesky session.

#### Output

**Encoding**: `application/json`

#### Errors

- **NotFound**: Caller has not set preferences yet.

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The caller's private matching preferences, or NotFound if none are set. Requires an authenticated Lovesky session.",
      "errors": [
        {
          "description": "Caller has not set preferences yet.",
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "app.lovesky.actor.defs#preferences",
          "type": "ref"
        }
      },
      "type": "query"
    }
  },
  "id": "app.lovesky.actor.getPreferences",
  "lexicon": 1
}
```
