datasets
Get Dataset Graph
Get the knowledge graph visualization for a dataset.
This endpoint retrieves the knowledge graph data for a specific dataset, including nodes and edges that represent the relationships between entities in the dataset. The graph data is formatted for visualization purposes.
Path Parameters
- dataset_id (UUID): The unique identifier of the dataset
Response
Returns the graph data containing:
- nodes: List of graph nodes with id, label, type, and properties
- edges: List of graph edges with source, target, and label
Error Codes
- 404 Not Found: Dataset doesn’t exist or user doesn’t have access
- 500 Internal Server Error: Error retrieving graph data
GET
Get Dataset Graph
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Dataset UUID, the id field from GET /api/v1/datasets (not the name)
Example:
"b8a7c3de-4f5a-4b6c-8d9e-0f1a2b3c4d5e"
Get Dataset Graph