# place.stream.live.searchActorsTypeahead

> Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry.

- Kind: query
- Authority: live.stream.place
- Lexicon: 1
- Published by [stream.place](https://lexicon.garden/identity/did:plc:rbvrr34edl5ddpuwcubjiost), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.live.searchActorsTypeahead)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.live.searchActorsTypeahead/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.live.searchActorsTypeahead/analytics)

## Query (`place.stream.live.searchActorsTypeahead`)

Type: query · GET

### Parameters (query string)

- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 10
- `q` (string): Search query prefix; not a full query string.

### Output (application/json)

- `actors` (array, required)
  - `items` (ref)
    - Reference: `#actor`

## #actor (`place.stream.live.searchActorsTypeahead#actor`)

Type: object

### Properties

- `did` (string · did, required): The actor's DID
- `handle` (string · handle, required): The actor's handle

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "actor": {
      "properties": {
        "did": {
          "description": "The actor's DID",
          "format": "did",
          "type": "string"
        },
        "handle": {
          "description": "The actor's handle",
          "format": "handle",
          "type": "string"
        }
      },
      "required": [
        "did",
        "handle"
      ],
      "type": "object"
    },
    "main": {
      "description": "Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "actors": {
              "items": {
                "ref": "#actor",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "actors"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "limit": {
            "default": 10,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "description": "Search query prefix; not a full query string.",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "place.stream.live.searchActorsTypeahead",
  "lexicon": 1
}
```
