Skip to main content

Knowledge

List Knowledge

Returns a list of your knowledge bases. The knowledge bases are returned sorted by creation date, with the most recent knowledge bases appearing first

Create a Knowledge

Create a knowledge

Retrieve a Knowledge

Retrieve a knowledge base with the settings.

Update a Knowledge

Updates a knowledge

Delete a Knowledge

Deletes a knowledge base. Deleting a knowledge base will delete all the datasources and chunks associated with it.

Search Knowledge

Search a Knowledge Base and return the most similar chunks, along with their search and rerank scores. Note that all configuration changes made in the API will override the settings in the UI.

List Datasources

List all datasources

Create Datasource

Create a new datasource

Retrieve Datasource

Retrieve a datasource

Delete Datasource

Deletes a datasource from a knowledge base. Deleting a datasource will remove it from the knowledge base and all associated chunks. This action is irreversible and cannot be undone.

Update Datasource

Update a datasource

Create Chunks

Create chunks for a datasource

List Chunks

List all chunks for a datasource

Delete Chunks

Delete multiple chunks

List Chunks Paginated

List chunks with offset-based pagination

Get Chunks Count

Returns the total count of chunks in a datasource. When q is provided, the count reflects indexed chunks only: recently created chunks may not be counted until embedding completes.

Update Chunk

Update a chunk

Delete Chunk

Delete a chunk

Retrieve Chunk

Retrieve a chunk