---
title: "Get Recent Facts"
method: GET
path: "/api/knowledge-graph/facts/recent"
tags: ["knowledge-graph", "knowledge-graph"]
---

# Get Recent Facts

`GET /api/knowledge-graph/facts/recent`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/knowledge-graph/facts/recent`
- Auth: none declared

Get workspace's most recent confirmed facts.

Returns facts sorted by update time, most recent first.
Used for Memory view in the agent UI.

## Query parameters

- `limit` integer: Max facts to return
- `entity_type` string, nullable: Filter by entity type
- `fact_type` string, nullable: Filter by fact type

## Response `200`

Successful Response

- FactResponse[]
  - `id` integer, required
  - `entity_id` integer, required
  - `entity_name` string, nullable
  - `entity_type` string, nullable
  - `fact_key` string, required
  - `fact_value` string, required
  - `fact_type` string
  - `status` string
  - `confirmation_count` integer
  - `sensitivity` string
  - `first_message_id` integer, nullable
  - `last_message_id` integer, nullable
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
