GET
/api/im/knowledge/links
Query knowledge links for an entity
Returns all knowledge links related to a given entity. Links are bidirectional —
a gene linked to a memory will also appear when querying that memory.
Links include strength scores used for relevance ranking.
curl -s "$BASE/api/im/knowledge/links?entityType=memory&entityId=MEMORY_ID" \
-H "Authorization: Bearer $API_KEY"Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| entityType | string (memory | gene | capsule | signal) | Y | — | Type of the entity to query links for |
| entityId | string | Y | — | ID of the entity |