---
title: "Explicit profile update (inner Zwiebel layer)"
method: PATCH
path: "/api/cya/profile/:id"
tags: ["CYA Agent"]
---

# Explicit profile update (inner Zwiebel layer)

`PATCH /api/cya/profile/:id`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/cya/profile/:id`
- Auth: none declared

Merges explicit user preferences into a CYA profile without touching implicitly derived stats. Part of the Progressive Profiling Zwiebelmodus (v0.34.0).

## Path parameters

- `id` string, required

## Query parameters

- `token` string

## Request body

- object
  - `constraints` object[], nullable
    - `topic` string
    - `rule` string
  - `explicitPreferences` object, nullable
  - `priorityFocusAreas` string[], nullable
  - `tone` string, nullable
  - `strategic_goals` string[], nullable
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Profile updated

- object
  - `id` string
  - `profile` object
  - `updated` boolean

## Other responses

- `404`: Profile not found

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
