@squidcloud/client
    Preparing search index...

    Type Alias UpsertContextErrorCode

    UpsertContextErrorCode: "DUPLICATE_CONTENT" | "EMBEDDING_FAILED"

    Machine-readable code identifying a specific upsert failure reason.

    DUPLICATE_CONTENT means the request omitted a contextId and its content is byte-identical to an existing context in the same knowledge base.

    EMBEDDING_FAILED means extraction succeeded but embedding the context's chunks did not; the content was not written (an overwrite target keeps its previous content) and the request can be safely retried as-is.