---
title: "Update this org's settings"
method: PATCH
path: "/me/settings"
tags: ["self-service"]
---

# Update this org's settings

`PATCH /me/settings`

## Request

- Base URL: `https://api.getmetacognition.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getmetacognition.com/me/settings`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/metacognition/apis/tex-api/docs/me/settings/patch.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- OrgSettingsPatch: Partial update. ``null`` clears a setting back to the system default.
  - `active_memory_inactivity_seconds` integer, nullable

## Response `200`

Successful Response

- OrgSettingsOut
  - `org_id` string, required
  - `active_memory_inactivity_seconds` integer, nullable: Org default idle time (seconds) before an active-memory episode is closed and consolidated; null = system default. A write's inactivity_timeout_seconds overrides it.
  - `active_memory_inactivity_default_seconds` integer
  - `active_memory_inactivity_bounds` InactivityBounds
    - `min_seconds` integer
    - `max_seconds` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/metacognition/apis/tex-api.md) - [All operations](https://skmtc.dev/metacognition/apis/tex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metacognition/apis/tex-api/revisions/3bef47e50f2e?raw)
