---
title: "Search the site"
method: GET
path: "/search"
tags: ["public"]
---

# Search the site

`GET /search`

## Request

- Base URL: `https://privatesuperintelligence.si/api/v1`
- URL: `https://privatesuperintelligence.si/api/v1/search`
- Auth: none required

Ranked passages from every page, paged with an opaque cursor.

## Query parameters

- `q` string, required
- `limit` integer
- `cursor` string

## Response `200`

Search the site

- object
  - `query` string, required
  - `count` integer, required
  - `results` Passage[], required
    - `title` string, required
    - `section` string
    - `url` string, uri, required
    - `markdownUrl` string, uri
    - `text` string, required
    - `score` number, required
  - `nextCursor` string, nullable, required: Pass as cursor to get the next page; null on the last page.

## Other responses

- `400`: Error (RFC 9457)
- `404`: Error (RFC 9457)
- `405`: Error (RFC 9457)
- `429`: Error (RFC 9457)
- `default`: Error (RFC 9457)

---

[API](https://skmtc.dev/privatesuperintelligence/apis/private-superintelligence-api.md) · [All operations](https://skmtc.dev/privatesuperintelligence/apis/private-superintelligence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/privatesuperintelligence/apis/private-superintelligence-api/revisions/178570431dfc?raw)
