Endpoint:
POST /ai/api/v2/knowledge-graph/create?file_id={file_id}&workspace_id={workspace_id}
Purpose:
Create a knowledge graph from a specific file in a workspace.
Auth Required:
Yes — via x-auth-token header
| Parameter | Type | Required | Description |
|---|---|---|---|
file_id | string | Yes | The ID of the file to create the knowledge graph from. |
workspace_id | string | Yes | The workspace ID where the knowledge graph will be created. |
The body is of type object.
Create Knowledge Graph