Trace code dependencies for an entity.
Returns the root entity and its dependents (what uses it) and/or
dependencies (what it uses), controlled by direction.
Query Parameters
Entity name to trace (exact, case-insensitive)
Traversal direction
Filter by repository name
Max related entities per direction
Response Body
application/json
application/json
curl -X GET "https://example.com/memory/code/dependencies?entity_name=string"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}Get Code Context
Fetch a code entity and its 1-hop graph context in a single response. Returns the entity itself plus categorised neighbour lists: - **calls** — entities this entity calls (outgoing CALLS edges) - **called_by** — entities that call this one (incoming CALLS edges) - **tests** — test entities that cover this entity (incoming TESTS edges) - **inherits** — classes this entity inherits from (outgoing INHERITS edges) - **defines** — entities defined inside this one (outgoing DEFINES edges) Empty lists are returned for edge categories with no neighbours.
Get Confidence History
Get the confidence decay history for a specific item. Returns list of decay events with timestamps, reasons, and conflicting facts.