Skip to main content
API reference sections

Schema

SearchPage

Type object

Shape

FieldTypeDescription
hitsrequiredarray of SearchHit
next_offsetinteger (uint, >= 0) or null
updating_workspacesrequiredarray of string

Workspaces the answer may be behind on - not yet compared against the store since it came up, or with indexing still queued. Reported rather than waited on: a query that blocked until every workspace was current would be correct and occasionally unbounded.

request_seqrequiredinteger (uint64, >= 0)
corrected_querystring or null

A corrected spelling inferred from the highest-ranked result. Absent when the authored query itself supplied the evidence.

Example
{
  "hits": [
    {
      "workspace": "string",
      "workspace_name": "string",
      "document": "string",
      "node": "string",
      "document_kind": "",
      "mime": "string",
      "kind": "string",
      "field": "string",
      "title": "string",
      "breadcrumb": "string",
      "breadcrumb_spans": [
        {
          "start": 0,
          "end": 0
        }
      ],
      "snippet": "string",
      "spans": [
        {
          "start": 0,
          "end": 0
        }
      ],
      "lifecycle": "live",
      "trashed_at": 0,
      "trashed_by": "string",
      "score": 0,
      "observed_modified_at_ms": 0,
      "workspace_last_used_at_ms": 0
    }
  ],
  "next_offset": 0,
  "updating_workspaces": [
    "string"
  ],
  "request_seq": 0,
  "corrected_query": "string"
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.