Skip to content

Interface: ListTablesResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ListTablesResponse

Defined in: src/types/sources.ts:530

Response from the cheap, name-only type listing of a source.

Returned by GET /api/v1/sources/{source_id}/tables. Never capped: schema discovery refuses a source with more candidate types than OSFKB_MAX_DISCOVERED_SORTS allows, so this listing is the un-capped payload a client narrows from — list the names, let the user pick, and hand the picked subset back as the typeFilter of a DiscoverSchemaRequest. Wire format is snake_case (source_id).

sourceId: string

Defined in: src/types/sources.ts:532

Source identifier.


tables: DiscoverableTypeDto[]

Defined in: src/types/sources.ts:534

Every discoverable type of the source, in catalog order.


total: number

Defined in: src/types/sources.ts:539

Number of types listed. Redundant with tables.length, and stated because this list is complete by construction — it is never truncated.