Interface: BatchOperationResultDto
@kortexya/reasoninglayer / BatchOperationResultDto
Interface: BatchOperationResultDto
Section titled “Interface: BatchOperationResultDto”Defined in: src/types/batch.ts:66
What one slot of the batch produced.
Remarks
Section titled “Remarks”Read BatchOperationResultDto.success before
BatchOperationResultDto.data. A failed operation carries data
undefined and error set; it does not fail the batch.
data is the payload the operation’s own route would have returned, in the
engine’s snake_case wire form — this SDK does not transform it, because its
shape depends on which operation produced it.
Properties
Section titled “Properties”
optionaldata?:unknown
Defined in: src/types/batch.ts:72
The operation-specific payload. Absent on failure.
durationMs
Section titled “durationMs”durationMs:
number
Defined in: src/types/batch.ts:76
How long this operation took, in milliseconds.
error?
Section titled “error?”
optionalerror?:string
Defined in: src/types/batch.ts:74
Why it failed. Absent on success.
index:
number
Defined in: src/types/batch.ts:68
Position in the original request, for correlation.
success
Section titled “success”success:
boolean
Defined in: src/types/batch.ts:70
Whether this operation succeeded.