import type * as HydraDB from "../index.js"; export interface IngestionV2IngestResultItem { /** Error is the failure message for this item, null on success. Both modes. */ error?: string; /** * ErrorCode is the machine-readable failure classification, null on success. * Both modes; always null on the memory path, which produces no per-item code. */ errorCode?: string; /** Filename is the original filename as submitted. type=knowledge only. */ filename?: string; /** ID is the source identifier assigned to this item. Both modes. */ id?: string; /** Infer reports whether the memory was queued for inference. type=memory only. */ infer?: boolean; /** * RelationsCreated is the number of graph relations extracted from this file. * type=knowledge only, and only for items that carried a `relations` payload. */ relationsCreated?: number; /** * RelationsError is the relation-extraction failure message, if any. * type=knowledge only. */ relationsError?: string; /** Current lifecycle or processing state. */ status?: HydraDB.IngestionSourceStatus; /** Title is the memory's title. type=memory only. */ title?: string; }