---
title: "Search documents"
method: GET
path: "/search"
---

# Search documents

`GET /search`

## Query parameters

- `query` string, required
- `namespace` string

## Response `200`

Search results

- Document[]
  - `id` string, required — The unique identifier of the document
  - `namespace` string, required — The namespace of the document
  - `text` string, required — The text of the document
  - `metadata` object, required — The key/value metadata object for the document
  - `indexed_at` string, date-time, required — The timestamp when the document was indexed
  - `similarity` number, double, required — The similarity score between the document and the search query

---

[API](https://skmtc.dev/team-openpm/apis/cloudflare-vector-search-api.md) · [All operations](https://skmtc.dev/team-openpm/apis/cloudflare-vector-search-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/team-openpm/cloudflare-vector-search-api/revisions/eecd52e3a6a9/schema)
