Skip to main content
Version: latest

agrag.ingestion.resolved_entities.list_matches

list_matches(graph_store:GraphStore, *, entity_id:UUID | None = None, limit:int = PAGE_SIZE_DEFAULT, after:tuple[str, str] | None = None) -> list[MatchRecord]

Return committed match records in decided-time order.

Parameters:

  • graph_store (GraphStore) – The graph holding the match edges.
  • entity_id (UUID | None) – When set, only matches touching this entity are returned.
  • limit (int) – Maximum rows, between 1 and 500. Defaults to 100.
  • after (tuple[str, str] | None) – Keyset cursor (decided_at, id) from the last row of a previous page, or None for the first page.

Returns:

  • list[MatchRecord] – The match records, in ascending decided-time and id order.