> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baseplate.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Search

> Manually search your dataset using semantic or hybrid search.

### Path Parameters

<ParamField path="id" type="string" required>
  Dataset ID
</ParamField>

### Header

<ParamField path="Authorization" type="string">
  Baseplate API key. Must be in the format "Bearer \$BASEPLATE\_API\_KEY"
</ParamField>

### Body Parameters

<ParamField body="query" type="string" required>
  Query string
</ParamField>

<ParamField body="top_k" type="number" default="3">
  Number of closest matches
</ParamField>

<ParamField body="filter" type="object">
  Metadata filter. Uses Pinecone filter syntax: [https://docs.pinecone.io/docs/metadata-filtering](https://docs.pinecone.io/docs/metadata-filtering)
</ParamField>

<ParamField body="alpha" type="number" defualt="0.5">
  Alpha value for hybrid search.
</ParamField>

### Responses

<Tab title="🟢 200: OK">
  ```json theme={null}
  {
    "results": [
      {
        "embedding": "a search warrant at Defendant Pebbles Jean- Paul’s",
        "data": {
          "text": "a search warrant at Defendant Pebbles Jean- Paul’s",
          "author": "Andrew Luo"
        },
        "confidence": 0.76768893,
        "query": "hello",
        "metadata": {
          "rowId": 208422,
          "state": "ark",
          "url": "/973179d1-2edd-49f9-aa3e-32785bb3fa01/data.txt"
        }
      }
    ]
  }
  ```
</Tab>
