import type * as HydraDB from "../index.js"; export interface IngestionV2IngestResponse { /** Number of uploaded files that failed to queue. */ failedCount?: number; /** Human-readable result message. */ message?: string; /** Per-item results. */ results?: HydraDB.IngestionV2IngestResultItem[]; /** * Deprecated for API clients: whether the REQUEST was accepted is the HTTP * status code (202) or equivalently the envelope's top-level `success`. * Whether each SOURCE ingested is per-item — read results[].status and * results[].error, then poll GET /context/status, since a 202 only means * queued. This flag answers neither question independently: it always * mirrors the envelope. Still emitted unchanged for existing clients * (PRO-1208). */ success?: boolean; /** Number of files successfully queued for processing. */ successCount?: number; }