Knowledge Bases

Generate KB schema

Create a schema row and enqueue LLM-powered schema generation.

post/api/v0/knowledge-bases/{kb_id}/schemas

Path parameters

kb_idstring uuid required

Request body

user_hintstring

Optional hint to guide schema generation.

sample_countinteger

Number of documents to sample for schema generation.

Response

Successful Response

idstring uuid required

The ID of the created schema.

job_status_idstring uuid required

The job status ID for polling schema generation progress.

Changes

No recorded changes to this endpoint across all 1 revision of this API.