Skip to content

API reference

Search manual

manual.SearchManualReadAPI key

Search Brigg's user manual by keyword and meaning in one language. Returns the best-matching sections with their full text and a URL to each section. The manual is the same for every workspace; no workspace data is read.

POST/v1/operations/manual.SearchManual
On this page

Access & visibility

Allow manual.SearchManual on your API key.

Workspace access by default. Private member data requires approved member delegation through Brigg-Act-As; the key supplies permissions while private ownership and project boundaries remain enforced.

Set up authentication · Choose permissions

Request fields

Send a JSON object with the following fields. Required fields must be included; omit optional fields you do not need.

querystringRequired

A question or keywords, in the manual's language.

At least 1 character. At most 400 characters.

localestringOptional

Manual language: no (Norwegian), sv (Swedish), da (Danish) or en (English).

Allowed: "no", "sv", "da", "en".

limitintegerOptional

Maximum sections to return. Default 8.

Range: 1 to 50.

modestringOptional

hybrid (default) fuses keyword and semantic retrieval; the other two run one channel alone.

Allowed: "hybrid", "keyword", "semantic".

Response

Returns 200 OK with a JSON body.

localestringRequired

The manual language this answer is in.

hitsarray of objectRequired

The best-matching sections, most relevant first.

Item fields
page_idstringRequired

The page the section belongs to; manual.GetManualPage reads it whole.

titlestringRequired

The heading of the page the section belongs to.

headingstringRequired

The section's heading path, page first.

textstringRequired

The section's full text.

urlstringRequired

Public URL straight to the section.

scorenumberRequired

Relevance of the section to the query; higher is better, comparable within one answer only.

channelsarray of stringRequired

Which retrieval found the section: keyword (its words), semantic (its meaning), or both.

index_rebuildingbooleanRequired

True while the search index is catching up with a new manual: matching by meaning may be partial.

Errors & retries

This operation reads data. It needs no idempotency key and can be retried after a transient failure.

For rate limits, follow the server’s retry guidance and back off. See HTTP errors and safe retries and limits.

HTTP status Code What to do
400 invalid_json Send a JSON object with Content-Type: application/json.
400 invalid_input Check the request fields and types.
401 invalid_key The workspace API key is missing, invalid or revoked.
403 forbidden Check the key’s operation and resource grants. If Brigg-Act-As is supplied, the key must be authorized to delegate to that member.
404 not_found The requested operation or resource is not available to this credential.
429 rate_limited Wait for Retry-After before retrying.

Next steps

Download OpenAPI · Versioning & retirement

JSON schemas

Use the complete schemas for validation or client generation.

Full request JSON schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400,
      "description": "A question or keywords, in the manual's language."
    },
    "locale": {
      "type": "string",
      "enum": [
        "no",
        "sv",
        "da",
        "en"
      ],
      "description": "Manual language: no (Norwegian), sv (Swedish), da (Danish) or en (English)."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "description": "Maximum sections to return. Default 8."
    },
    "mode": {
      "type": "string",
      "enum": [
        "hybrid",
        "keyword",
        "semantic"
      ],
      "description": "hybrid (default) fuses keyword and semantic retrieval; the other two run one channel alone."
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "query": "import contacts",
      "locale": "en",
      "limit": 3
    }
  ]
}
Full response JSON schema
{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "description": "The manual language this answer is in."
    },
    "hits": {
      "type": "array",
      "description": "The best-matching sections, most relevant first.",
      "items": {
        "type": "object",
        "properties": {
          "page_id": {
            "type": "string",
            "description": "The page the section belongs to; manual.GetManualPage reads it whole."
          },
          "title": {
            "type": "string",
            "description": "The heading of the page the section belongs to."
          },
          "heading": {
            "type": "string",
            "description": "The section's heading path, page first."
          },
          "text": {
            "type": "string",
            "description": "The section's full text."
          },
          "url": {
            "type": "string",
            "description": "Public URL straight to the section."
          },
          "score": {
            "type": "number",
            "description": "Relevance of the section to the query; higher is better, comparable within one answer only."
          },
          "channels": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Which retrieval found the section: `keyword` (its words), `semantic` (its meaning), or both."
          }
        },
        "required": [
          "page_id",
          "title",
          "heading",
          "text",
          "url",
          "score",
          "channels"
        ],
        "additionalProperties": false
      }
    },
    "index_rebuilding": {
      "type": "boolean",
      "description": "True while the search index is catching up with a new manual: matching by meaning may be partial."
    }
  },
  "required": [
    "locale",
    "hits",
    "index_rebuilding"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "locale": "en",
      "index_rebuilding": false,
      "hits": [
        {
          "page_id": "apps/customers",
          "title": "Customers",
          "heading": "Customers › Import contacts",
          "text": "Upload a spreadsheet to add many contacts at once.",
          "url": "https://brigg.com/help/apps/customers#import-contacts",
          "score": 0.82,
          "channels": [
            "keyword",
            "semantic"
          ]
        }
      ]
    }
  ]
}

Search by operation name or what you want to build.

Use arrow keys to browse. Enter opens a result.