Knowledge Base Graph

Create a graph-enabled knowledge base from a .zip archive

Changed on

Creates a brand-new graph-enabled collection owned by the caller from a .zip produced by GET /api/v0/knowledge-bases/{kb_id}/graph/archive. All ids are reminted, so uploading the same archive repeatedly produces independent graphs. Fails with 400 if the archive references a package not available in this deployment.

post/api/v0/knowledge-bases/import

Request

Request body multipart/form-data

filestring binary required

A .zip archive from KG export.

Response

Successful Response

knowledge_base_idstring uuid required
namestring required
package_countinteger required
document_countinteger required
visual_component_countinteger required
node_countinteger required
edge_countinteger required
extraction_run_countinteger required
extraction_source_countinteger required
attribute_claim_countinteger required
fact_resolution_countinteger required

Changes