---
title: "Update Fact"
method: PATCH
path: "/interactions/{id}/facts/{factId}"
tags: ["Facts"]
---

# Update Fact

`PATCH /interactions/{id}/facts/{factId}`

Updates an existing fact associated with a specific interaction.

## Path parameters

- `id` string, uuid, required
- `factId` string, uuid, required — The unique identifier of the fact to update. Must be a valid UUID.

## Headers

- `Tenant-Name` string, required — Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

## Request body

- FactsUpdateRequest
  - `text` string — The updated text of the fact.
  - `group` string — The updated group key for the fact.
  - `source` 'core' | 'system' | 'user'
  - `isDiscarded` boolean — Set this to true if discarded by an end-user, then filter out from the document generation request.

## Response `200`

Returns the updated fact, including updated fields.

- FactsUpdateResponse
  - `id` string, uuid, required — The unique identifier of the fact.
  - `text` string, required — The updated text content of the fact.
  - `group` string, required — The updated group key to which the fact belongs.
  - `groupId` string, uuid, required
  - `source` 'core' | 'system' | 'user', required
  - `isDiscarded` boolean, required — Indicates whether the fact is marked as discarded.
  - `createdAt` string, date-time, required — The original timestamp when the fact was created.
  - `updatedAt` string, date-time, required — The timestamp when the fact was last updated.

## Other responses

- `504` — RFC9457

---

[API](https://skmtc.net/corti/apis/admin-api.md) · [All operations](https://skmtc.net/corti/apis/admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/corti/admin-api/versions/5d1895a1b3fc/schema)
