Knowledge Graphs

Upload a document into a knowledge graph

Uploads a file, creates a Document, associates it with the KG, and kicks off the standard document processing pipeline.

post/api/v0/knowledge-graphs/{kg_id}/documents/upload

Path parameters

kg_idstring uuid required

Response

Successful Response

job_status_idstring uuid required

The ID of the job status.

statusstring required

The status of the job. Options: pending, done, error.

error_messagestring nullable required

The error message if the job failed.

document_idstring uuid nullable required

The ID of the document that was uploaded.

Changes

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