---
title: "Context Answer"
method: POST
path: "/context/answer"
---

# Context Answer

`POST /context/answer`

## Request

- Base URL: `https://mcp.physea.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://mcp.physea.ai/context/answer`
- Auth: none declared

Answer one leaf for THIS caller (server-side identity, IDOR-safe like /context/preference).
Body {leaf, value, leaf_text?, branch_id?, source_ref?}. `leaf` may be the leaf text or the
leaf key; a key needs `leaf_text` unless a fact with that key already exists (we reuse its
text). Returns {ok, caller, leaf_key, fact, branched, other_branches}. 400 E_BAD_REQUEST
when the leaf text cannot be established.

## Request body

- ContextAnswerRequest
  - `leaf` string, required
  - `value` unknown
  - `leaf_text` string
  - `branch_id` string, nullable
  - `source_ref` string
  - `entity` string
  - `topic` string
  - `tags` string[], nullable
  - `caller` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/physea/apis/liminality-router-service.md) · [All operations](https://skmtc.dev/physea/apis/liminality-router-service/llms.txt) · [OpenAPI document](https://skmtc.dev/physea/apis/liminality-router-service/revisions/5f60ddd97544?raw)
