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, 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
Documentation Index
Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt
Use this file to discover all available pages before exploring further.
Previous
Get Dataset DataGet all data items in a dataset.
This endpoint retrieves all data items (documents, files, etc.) that belong
to a specific dataset. Each data item includes metadata such as name, type,
creation time, and storage location.
## Path Parameters
- **dataset_id** (UUID): The unique identifier of the dataset
## Response
Returns a list of data objects containing:
- **id**: Unique data item identifier
- **name**: Data item name
- **created_at**: When the data was added
- **updated_at**: When the data was last updated
- **extension**: File extension
- **mime_type**: MIME type of the data
- **raw_data_location**: Storage location of the raw data
## Error Codes
- **404 Not Found**: Dataset doesn't exist or user doesn't have access
- **500 Internal Server Error**: Error retrieving data
Next
Get Dataset Graph