Get entity co-occurrence graph
Changed onReturn a graph of entities (nodes) and their co-occurrences (edges) for visualization.
Request
- Base URLhttps://hindsight.vectorize.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Maximum number of co-occurrence edges to return
Minimum cooccurrence_count to include an edge
Only count memories carrying these tags. Edges and node mention counts are computed from the matching memories only.
How tags match (same modes as listing memories).
Compound tag filter as a JSON-encoded list of tag groups — the same shape tag_groups takes in a recall body (leaves {tags, match, resolve} and {and: [...]}, {or: [...]}, {not: ...}; groups are AND-ed). Mutually exclusive with tags.
Headers
Response
Successful Response
Example response
{
"edges": [
{
"data": {
"color": "#ffd700",
"id": "uuid-1-uuid-2",
"lastCooccurred": "2024-02-01T14:00:00Z",
"lineStyle": "solid",
"linkType": "cooccurrence",
"source": "uuid-1",
"target": "uuid-2",
"weight": 5
}
}
],
"limit": 1000,
"nodes": [
{
"data": {
"color": "#42a5f5",
"id": "uuid-1",
"label": "Alice",
"mentionCount": 12
}
},
{
"data": {
"color": "#42a5f5",
"id": "uuid-2",
"label": "Google",
"mentionCount": 8
}
}
],
"total_edges": 1,
"total_entities": 2
}Changes
- warning
for the
queryrequest parameterlimit, the min was set to0.00 - warning
removed the optional property
//from the response with the status - info
added the new optional
queryrequest parametertag_groups - info
added the new optional
queryrequest parametertags - info
added the new optional
queryrequest parametertags_match - info
added the non-success response with the status
- info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- warning
- info
endpoint added
- info