Sanity Library Reference Docs
    Preparing search index...
    Auth: { token: string } | { withCredentials: true } | undefined

    The credential the client sends: a bearer token, the browser's cookies for the API origin, or nothing (undefined) for anonymous access. Token mode and cookie mode are mutually exclusive.