---
title: "Update injection preferences"
method: PATCH
path: "/api/v1/context/preferences"
tags: ["Session Memory"]
---

# Update injection preferences

`PATCH /api/v1/context/preferences`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/context/preferences`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Request body

- object: Update injection preferences.
  - `paused` boolean
  - `tools` object

## Response `200`

Updated preferences

- object: Per-tool injection preferences.
  - `paused` boolean
  - `tools` object

---

[API](https://skmtc.dev/deerdawn/apis/deerdawn-session-memory-api.md) · [All operations](https://skmtc.dev/deerdawn/apis/deerdawn-session-memory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/deerdawn/apis/deerdawn-session-memory-api/revisions/002b48818bf9?raw)
