Skip to content

Interface: IngestUrlRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / IngestUrlRequest

Defined in: src/types/ingestion.ts:1947

Body of POST /api/v1/ingest/url.

The wire keys are snake_case (max_depth, max_pages); the engine refuses an unknown key with 422. Read the limits from client.ingestion.getWebCapabilities().

optional maxDepth?: number

Defined in: src/types/ingestion.ts:1954

Link hops to follow from the start page. 0 reads the start page only. At most urlIngestion.maxDepthLimit (5).

0

optional maxPages?: number

Defined in: src/types/ingestion.ts:1961

Most page URLs to request, read or skipped. At most urlIngestion.maxPagesLimit (100).

20

optional scope?: CrawlScope

Defined in: src/types/ingestion.ts:1963

Which links may be followed.

'path_prefix'

url: string

Defined in: src/types/ingestion.ts:1965

Absolute http or https URL of the start page.