The id of the AiKnowledgeBase
OptionaloptionsScan options.
The literal substring to look for. Every regex metacharacter in it is escaped, so punctuation and symbols mean themselves, and it may span lines. Capped at GREP_KNOWLEDGE_BASE_MAX_PATTERN_CHARS characters.
Matching is case-insensitive for ASCII letters only: acme finds ACME, but café does not find
CAFÉ. The store and the server run two different regex engines, and their i flags disagree on
non-ASCII folding — matching ASCII-only is what keeps them in step, so a hit is never reported as an
absence. Search the exact casing for non-ASCII text.
Request structure for a literal scan over a knowledge base's raw extracted text.