---
title: "Edit Custom Context"
method: PUT
path: "/api/edit_context"
---

# Edit Custom Context

`PUT /api/edit_context`

Edit an existing custom_context row. User must own the team that owns the context.

## Request body

- EditContextRequest — Request model for editing a custom context row.
  - `id` string, required
  - `description` string, nullable
  - `channel_id` string[], nullable
  - `chat_enabled` boolean, nullable
  - `enabled` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/911db8c1d636/schema)
