Skip to content

Interface: AcquiredRecordResult

@kortexya/reasoninglayer


@kortexya/reasoninglayer / AcquiredRecordResult

Defined in: src/types/acquisition.ts:191

One delivered record’s result.

arrival: { error: string | null; modelRefusal: AcquiredArrivalModelRefusal | null; proposed: number; suggestedLibrary: string | null; topics: number; } | null

Defined in: src/types/acquisition.ts:203

What its arrival steps did, or null.

{ error: string | null; modelRefusal: AcquiredArrivalModelRefusal | null; proposed: number; suggestedLibrary: string | null; topics: number; }

error: string | null

Why the step did not finish, or null (the record itself is stored).

modelRefusal: AcquiredArrivalModelRefusal | null

Why the step’s text model proposed no topics, or null.

proposed: number

Model topics newly proposed, waiting for a person (ingestion.acceptDocumentTopic).

suggestedLibrary: string | null

The Library newly suggested on the record (collection app_id), waiting for a person; or null.

topics: number

Label matches written as accepted document_topic terms.


null


eventId: string

Defined in: src/types/acquisition.ts:199

The delivered-record event id (<key>@<content_hash>).


gone: { error: string | null; flagged: number; passes: number; retractionDue: boolean; retractionPending: boolean; since: string; } | null

Defined in: src/types/acquisition.ts:216

What marking it gone did, or null.

{ error: string | null; flagged: number; passes: number; retractionDue: boolean; retractionPending: boolean; since: string; }

error: string | null

Why the step did not finish, or null (the record itself is stored).

flagged: number

Its topics flagged source_presence: gone (first pass only).

passes: number

Clean passes (distinct runs) that found it missing since.

retractionDue: boolean

Whether the automatic approval rule (three clean passes over at least 72 hours) is met.

retractionPending: boolean

Whether it is filed in a Library and so waits for a person to retract or keep it.

since: string

When a clean pass first found it missing (RFC 3339).


null


index: number

Defined in: src/types/acquisition.ts:193

Its position in the batch.


key: string

Defined in: src/types/acquisition.ts:195

Its key.


outcome: AcquiredRecordOutcome

Defined in: src/types/acquisition.ts:201

How it was written.


termId: string

Defined in: src/types/acquisition.ts:197

The term it is.