---
title: "Update context entry"
method: PATCH
path: "/v1/context/{id}"
tags: ["Context"]
---

# Update context entry

`PATCH /v1/context/{id}`

Partially updates a context entry. Only provided fields will be updated. Supports both API key authentication (X-API-Key header) and session authentication (Bearer token or cookies).

## Path parameters

- `id` string, required

## Request body

- UpdateContextDto
  - `question` string — The question or topic this context entry addresses
  - `answer` string — The answer or detailed explanation for the question
  - `tags` string[] — Tags to categorize and help search this context entry

## Response `200`

Context entry updated successfully

## Other responses

- `400` — Bad request - Invalid input data
- `401` — Unauthorized - Invalid or missing authentication
- `404` — Context entry not found
- `500` — Internal server error

## Changes

- **2026-03-05** `946edaa856a9` — 1 warning
  - deleted the `header` request parameter `X-Organization-Id`

[Change history](https://skmtc.dev/om-network/apis/betayum-api/changes/v1/context/:id/patch.md)

---

[API](https://skmtc.dev/om-network/apis/betayum-api.md) · [All operations](https://skmtc.dev/om-network/apis/betayum-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/om-network/betayum-api/revisions/22a75cdb2829/schema)
