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

# Edit Custom Context

`PUT /api/edit_context`

## Request

- Base URL: `https://api.deeptrace.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.deeptrace.com/api/edit_context`
- Auth: none declared

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.dev/deeptrace/apis/deeptrace-api.md) - [All operations](https://skmtc.dev/deeptrace/apis/deeptrace-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deeptrace/apis/deeptrace-api/revisions/855e59bb07f0?raw)
