@squidcloud/client
    Preparing search index...

    Interface UpsertKnowledgeBaseContextsResponse

    Response structure for upserting contexts for an AiKnowledgeBase

    interface UpsertKnowledgeBaseContextsResponse {
        contextIds?: string[];
        failures: UpsertContextStatusError[];
    }
    Index

    Properties

    contextIds?: string[]

    The context id of every request in the batch, positionally aligned with the contextRequests array that was sent — contextIds[i] is the id of the i-th request. Each entry is the caller-supplied id, or the id the server generated when the request omitted one, and is present regardless of whether that request succeeded or failed. Lets a caller that upserts without a contextId learn the assigned id.

    Optional because a newer client talking to an older core (which predates this field) receives it as undefined at runtime — callers must handle its absence rather than trust it is always populated.

    List of the upsert status of each item sent in the request.