---
title: "Correct Fact"
method: PUT
path: "/api/v1/assistant/gems/{gem_id}/facts/{key}"
tags: ["Collection Assistant"]
---

# Correct Fact

`PUT /api/v1/assistant/gems/{gem_id}/facts/{key}`

## Request

- Base URL: `https://api.gemstoneaiapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gemstoneaiapp.com/api/v1/assistant/gems/{gem_id}/facts/{key}`
- Auth: HTTP bearer

The owner rewords a fact they told us (maker, metal, treatment,
origin) [LNK-AGENT C4]. Removing one is POST /learned/forget with the
fact's ids.

## Path parameters

- `gem_id` integer, required
- `key` string, required

## Request body

- FactIn
  - `value` string, required

## Response `200`

Successful Response

- UnderstandingOut
  - `gem_id` integer, required
  - `facts` FactOut[], required
    - `key` string, required
    - `label` string, required
    - `value` string, required
    - `basis` string, nullable
    - `at` string, nullable
    - `note` string, nullable
    - `quote` string, nullable
    - `ids` integer[]
    - `editable` boolean
  - `uncertain` OpenQuestionOut[], required
    - `about` string, required
    - `text` string, required
    - `settle` string, nullable
    - `species` string, nullable
    - `scan_said` string, nullable
    - `ids` integer[]
  - `relationship` RelationshipRowOut[], required
    - `key` string, required
    - `value` string, required
    - `text` string, required
    - `quote` string, nullable
    - `basis` string, nullable
    - `ids` integer[]
  - `learned` LearnedOut[], required
    - `ids` integer[], required
    - `text` string, required
    - `field` string, required
    - `source` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api.md) · [All operations](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gemstoneaiapp/apis/gemstoneai-api/revisions/fcb441f55161?raw)
