Endpoint:
GET /ai/api/v2/knowledge-graph?file_id={file_id}&limit={limit}
Purpose:
Retrieve nodes and relationships from a knowledge graph for a specific file.
| Parameter | Type | Required | Description |
|---|---|---|---|
file_id | string | Yes | The ID of the file whose knowledge graph is to be fetched. |
limit | number | No | Maximum number of nodes/relationships to return (default: 100 if not specified). |