Skip to content

Interface: OsfSearchResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / OsfSearchResponse

Defined in: src/types/query.ts:182

Response from structured search.

When the query is too vague, the response includes suspended with information about what is missing and how to refine the query. This models residuation at the query level.

entities: OsfSearchEntityDto[]

Defined in: src/types/query.ts:184

Matched entities with provenance.


relations: OsfSearchRelationDto[]

Defined in: src/types/query.ts:186

Discovered relations between entities.


stats: OsfSearchStatsDto

Defined in: src/types/query.ts:190

Search statistics.


optional suspended?: SuspendedQueryDto | null

Defined in: src/types/query.ts:188

If query was incomplete, information about what’s missing.