Actions44
- Edge Actions
- Entity Type Actions
- Episode Actions
- Graph Actions
- Node Actions
- Session Actions
- Thread Actions
- User Actions
Overview
The "Get Graph Edges" operation of the Edge resource in this node allows users to retrieve all edges associated with a specific graph by providing the graph's unique identifier (Graph ID). This operation is useful for exploring or analyzing the relationships between nodes within a knowledge graph stored in Zep Cloud.
Typical use cases include:
- Visualizing connections and relationships in a knowledge graph.
- Extracting relationship data for further processing or reporting.
- Integrating graph edge data into workflows that require understanding entity relationships.
For example, a user might want to fetch all edges from a customer interaction graph to analyze how different entities like customers, products, and support tickets are related.
Properties
| Name | Meaning |
|---|---|
| Graph ID | The unique identifier of the graph whose edges you want to retrieve. |
Output
The output is a JSON array containing the edges of the specified graph. Each edge object typically includes details such as the edge's UUID, source and target nodes, fact name, fact description, timestamps, and other metadata describing the relationship.
This node does not output binary data.
Dependencies
- Requires an API key credential for authenticating requests to the Zep Cloud v3 API.
- The node makes HTTP requests to
https://api.getzep.comendpoints. - Proper configuration of the API key credential in n8n is necessary for successful execution.
Troubleshooting
- Missing Graph ID: If the Graph ID is not provided or invalid, the API call will fail. Ensure the Graph ID is correctly set.
- Authentication Errors: If the API key credential is missing or incorrect, authentication errors will occur. Verify the API key setup.
- API Rate Limits or Network Issues: Temporary failures may happen due to rate limits or connectivity problems. Retry after some time or check network settings.
- Unexpected Response Structure: If the API changes, the output format might differ. Review the latest API documentation if issues arise.
Common error messages:
"Unknown edge operation": Indicates an unsupported operation was requested; verify the operation parameter.- HTTP 401 Unauthorized: Check API key credentials.
- HTTP 404 Not Found: The specified Graph ID does not exist.
Links and References
- Zep Cloud API Documentation (for detailed API endpoint info)
- n8n Documentation (for general node usage and credential setup)