List knowledge graph edges with optional filtering
Parameters
cursor
string
Optional
Pagination cursor
limit
integer
Optional
Maximum results to return
relationSlug
string
Optional
Filter by relation type slug
sourceUri
string
at-uri
Optional
Filter by source node AT-URI
status
string
Optional
Filter by lifecycle status
targetUri
string
at-uri
Optional
Filter by target node AT-URI
Output
Encoding
application/jsoncursor
string
Optional
Pagination cursor for next page
edges
array
Required
List of edges
hasMore
boolean
Required
Whether more results exist
total
integer
Required
Total count of matching edges
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"edges",
"hasMore",
"total"
],
"properties": {
"edges": {
"type": "array",
"items": {
"ref": "pub.chive.graph.getEdge#graphEdge",
"type": "ref"
},
"description": "List of edges"
},
"total": {
"type": "integer",
"description": "Total count of matching edges"
},
"cursor": {
"type": "string",
"description": "Pagination cursor for next page"
},
"hasMore": {
"type": "boolean",
"description": "Whether more results exist"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Maximum results to return"
},
"cursor": {
"type": "string",
"description": "Pagination cursor"
},
"status": {
"type": "string",
"description": "Filter by lifecycle status",
"knownValues": [
"proposed",
"established",
"deprecated"
]
},
"sourceUri": {
"type": "string",
"format": "at-uri",
"description": "Filter by source node AT-URI"
},
"targetUri": {
"type": "string",
"format": "at-uri",
"description": "Filter by target node AT-URI"
},
"relationSlug": {
"type": "string",
"description": "Filter by relation type slug"
}
}
},
"description": "List knowledge graph edges with optional filtering"
}