visualize
Visualize
Generate an HTML visualization of the dataset’s knowledge graph.
This endpoint creates an interactive HTML visualization of the knowledge graph for a specific dataset. The visualization displays nodes and edges representing entities and their relationships, allowing users to explore the graph structure visually.
Query Parameters
- dataset_id (UUID): The unique identifier of the dataset to visualize
Response
Returns an HTML page containing the interactive graph visualization.
Error Codes
- 409 Conflict: Dataset not found, permission denied, or visualization
failed (detail in the
errorfield)
Notes
- User must have read permissions on the dataset
- Visualization is interactive and allows graph exploration
GET
Visualize
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
UUID of the dataset to visualize. List your datasets via GET /api/v1/datasets to find it.
Example:
""
Response
Successful Response
Previous
Visualize MultiGenerate a combined HTML visualization of graph data from multiple users' datasets.
This endpoint aggregates knowledge graphs from multiple user+dataset pairs
into a single interactive visualization, with each user's nodes tagged for
color-by-user rendering.
## Request Body
A JSON array of objects, each with:
- **user_id** (UUID): The user who owns the dataset
- **dataset_id** (UUID): The dataset to include
## Response
Returns an HTML page containing the combined interactive graph visualization.
## Error Codes
- **403 Forbidden**: Caller is not a superuser
- **409 Conflict**: A user/dataset pair does not exist, is not readable,
or visualization failed (detail in the `error` field)
## Notes
- Requires superuser privileges to view other users' data
- Each user+dataset pair must exist and be accessible
Next
Visualize