@squidcloud/client
    Preparing search index...

    Type Alias AiKnowledgeBaseExternalDocumentSecurity

    AiKnowledgeBaseExternalDocumentSecurity: "none" | "callerScopes" | "callerToken"

    How an external source restricts a read to what its caller may see.

    • 'none': the source has no document-level security.
    • 'callerScopes': a record is visible when it holds one of the caller's scopes, which the knowledge base's accessControl.scopeResolver resolves.
    • 'callerToken': the source enforces its own ACLs with the caller's token, supplied per request in integrationAccessTokens under the integration's id. Squid's own reads see only the records every caller may read.