@squidcloud/client
    Preparing search index...

    Interface AiKnowledgeBaseFolderStatusResponse

    Aggregate ingestion status for every file/text context matching a searched folder subtree, bare filename, or exact file path (see GetKnowledgeBaseFolderStatusRequest.folderPath), combining a name/path search with per-status counts and the failures that need attention.

    interface AiKnowledgeBaseFolderStatusResponse {
        counts: Record<Exclude<AiKnowledgeBaseFileStatus, "no_record">, number>;
        files: AiKnowledgeBaseFileStatusInfo[];
        folderPath: string;
        hasAnyRecords: boolean;
        totalFiles: number;
        truncated: boolean;
    }
    Index
    counts: Record<Exclude<AiKnowledgeBaseFileStatus, "no_record">, number>

    Count of matching files by terminal/in-progress status (excludes no_record), uncapped.

    Files under the folder, capped at fileLimit and prioritizing failures.

    folderPath: string

    The folder subtree, filename, or exact path that was searched.

    hasAnyRecords: boolean

    False when nothing matched — the folder-level no_record case.

    totalFiles: number

    Total files found, across all statuses in counts.

    truncated: boolean

    True when files was capped and more files exist under the folder than are returned.