Type alias FetchResponse<T>

FetchResponse<T>: {
    namespace: string;
    records: {
        [key: string]: PineconeRecord<T>;
    };
    usage?: OperationUsage;
}

The response from fetch

Type Parameters

Type declaration

  • namespace: string

    The namespace where records were fetched.

  • records: {
        [key: string]: PineconeRecord<T>;
    }

    A map of fetched records, keyed by record id.

  • Optional usage?: OperationUsage

    The usage information for the fetch operation.