@squidcloud/client
    Preparing search index...

    Interface WebAiSearchRequest

    Request to search the web.

    interface WebAiSearchRequest {
        allowedDomains?: string[];
        query: string;
    }
    Index
    allowedDomains?: string[]

    When provided, restricts the web search to these domains (subdomains are included). Cited URLs in the response are guaranteed to belong to one of the listed domains, as are the consulted ones — see WebAiSearchResponse.consultedUrls for which of the two Squid enforces itself.

    query: string

    The search query.