---
title: "Create or update a stakeholder profile"
method: POST
path: "/api/cya/profile"
tags: ["CYA Agent"]
---

# Create or update a stakeholder profile

`POST /api/cya/profile`

## Request

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

Stores a stakeholder profile for the CYA Agent in the Object Store namespace `cya_profiles`.

## Query parameters

- `token` string

## Request body

- object
  - `profile_id` string, required
  - `actor` object, required
    - `role` 'grid_operator' | 'supplier' | 'project_developer' | 'direct_marketer' | 'metering_operator' | 'regulator' | 'municipality' | 'journalist' | 'citizen', required
    - `organization` string, nullable
    - `department` string, nullable
  - `strategic_goals` string[], required
  - `tone` string, nullable
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Profile persisted successfully

- object
  - `success` boolean
  - `profile_id` string
  - `createdAt` string, date-time

---

[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)
