# app.standard-reader.getLabeler

> Published by [standard-reader.app](https://lexicon.garden/identity/did:plc:f4os2wz5fjl56xpwcvtnqu7m)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:f4os2wz5fjl56xpwcvtnqu7m/app.standard-reader.getLabeler)
- [Documentation](https://lexicon.garden/lexicon/did:plc:f4os2wz5fjl56xpwcvtnqu7m/app.standard-reader.getLabeler/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:f4os2wz5fjl56xpwcvtnqu7m/app.standard-reader.getLabeler/examples)

## Definitions

### `app.standard-reader.getLabeler`

**Type**: `query`

Resolve a single labeler by DID or handle (for previewing before subscribing), with the calling reader's subscription state. Discovered the standard way via the DID document's #atproto_labeler service.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` (at-identifier) | Yes | DID or handle of the labeler to resolve. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `labeler` | `ref` → `app.standard-reader.labeler.defs#labelerView` | No |  |
| `subscribed` | `boolean` | Yes |  |

## Raw Schema

```json
{
  "id": "app.standard-reader.getLabeler",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "subscribed"
          ],
          "properties": {
            "labeler": {
              "ref": "app.standard-reader.labeler.defs#labelerView",
              "type": "ref"
            },
            "subscribed": {
              "type": "boolean"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "actor"
        ],
        "properties": {
          "actor": {
            "type": "string",
            "format": "at-identifier",
            "description": "DID or handle of the labeler to resolve."
          }
        }
      },
      "description": "Resolve a single labeler by DID or handle (for previewing before subscribing), with the calling reader's subscription state. Discovered the standard way via the DID document's #atproto_labeler service."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
