Skip to content

Interface: OsfSearchResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / OsfSearchResponse

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

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:183

Matched entities with provenance.


relations: OsfSearchRelationDto[]

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

Discovered relations between entities.


stats: OsfSearchStatsDto

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

Search statistics.


optional suspended?: SuspendedQueryDto | null

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

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