# ai.newnal.pdn.server.suggestHandle

> Suggest free, memorable English two-word handles under this PDN's service domain. A suggestion is not a reservation. Fewer handles than count may be returned; HandleGenerationFailed when none could be found.

- Kind: query
- Authority: server.pdn.newnal.ai
- Lexicon: 1
- Published by [newnal-platform.newnal.id](https://lexicon.garden/identity/did:plc:vciktevzoffubdvdaajz2yp3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.pdn.server.suggestHandle)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.pdn.server.suggestHandle/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:vciktevzoffubdvdaajz2yp3/ai.newnal.pdn.server.suggestHandle/analytics)

## Query (`ai.newnal.pdn.server.suggestHandle`)

Type: query · GET

### Parameters (query string)

- `count` (integer)
  - Constraints: minimum: 1, maximum: 10, default: 3

### Output (application/json)

- `handles` (array, required)
  - `items` (ref)
    - Reference: `#suggestion`

### Errors

- `HandleGenerationFailed`: No description in schema.

## #suggestion (`ai.newnal.pdn.server.suggestHandle#suggestion`)

Type: object

### Properties

- `handle` (string · handle, required)
- `label` (string, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Suggest free, memorable English two-word handles under this PDN's service domain. A suggestion is not a reservation. Fewer handles than count may be returned; HandleGenerationFailed when none could be found.",
      "errors": [
        {
          "name": "HandleGenerationFailed"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "handles": {
              "items": {
                "ref": "#suggestion",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "handles"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "count": {
            "default": 3,
            "maximum": 10,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    },
    "suggestion": {
      "properties": {
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "label": {
          "type": "string"
        }
      },
      "required": [
        "handle",
        "label"
      ],
      "type": "object"
    }
  },
  "id": "ai.newnal.pdn.server.suggestHandle",
  "lexicon": 1
}
```
