# dev.knotless.getOwnProfile

> Published by [lexicons.knotless.dev](https://lexicon.garden/identity/did:plc:yqsg7znbbhfmj3a2nrpnaerk)

✓ This is the authoritative definition for this NSID.

## Description

The asking account's knotless profile, as it set it.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.getOwnProfile)
- [Documentation](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.getOwnProfile/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.getOwnProfile/examples)

## Definitions

### `dev.knotless.getOwnProfile`

**Type**: `query`

The asking account's dev.knotless.profile record, as its settings show it: only what it set on knotless, with nothing of its Bluesky profile, which stands in for each field left out (dev.knotless.getProfile shows the two together). Requires authentication: a service token, or the session cookie the pages' login sets.

#### Output

**Encoding**: `application/json`

#### Errors

- **AuthenticationRequired**: No account asks.

### `dev.knotless.getOwnProfile#ownProfile`

**Type**: `object`

What an account's knotless profile holds. A field it left out is absent.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `avatar` | `string` (uri) | No | Where this appview serves the account's picture. |
| `description` | `string` | No | Free text about the account: its bio. |
| `displayName` | `string` | No | The name shown over the account's handle. |
| `links` | `array` | No | Links shown on the profile, in display order. |
| `pronouns` | `string` | No | Free-form pronouns text. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The asking account's dev.knotless.profile record, as its settings show it: only what it set on knotless, with nothing of its Bluesky profile, which stands in for each field left out (dev.knotless.getProfile shows the two together). Requires authentication: a service token, or the session cookie the pages' login sets.",
      "errors": [
        {
          "description": "No account asks.",
          "name": "AuthenticationRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "#ownProfile",
          "type": "ref"
        }
      },
      "type": "query"
    },
    "ownProfile": {
      "description": "What an account's knotless profile holds. A field it left out is absent.",
      "properties": {
        "avatar": {
          "description": "Where this appview serves the account's picture.",
          "format": "uri",
          "type": "string"
        },
        "description": {
          "description": "Free text about the account: its bio.",
          "type": "string"
        },
        "displayName": {
          "description": "The name shown over the account's handle.",
          "type": "string"
        },
        "links": {
          "description": "Links shown on the profile, in display order.",
          "items": {
            "ref": "dev.knotless.defs#link",
            "type": "ref"
          },
          "type": "array"
        },
        "pronouns": {
          "description": "Free-form pronouns text.",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "description": "The asking account's knotless profile, as it set it.",
  "id": "dev.knotless.getOwnProfile",
  "lexicon": 1
}
```
