CYA Agent

Create or update a stakeholder profile

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

post/api/cya/profile

Request

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

Query parameters

tokenstring

Optional Cernion MCP token as URL query parameter. If provided, it overrides CERNION_TOKEN for this request. Prefer Authorization Bearer header in production to reduce token exposure in URLs/logs.

Request body

profile_idstring required
strategic_goalsstring[] required
tonestring nullable
tokenstring

Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

Example request

{
  "profile_id": "stadtwerk_regulierung",
  "actor": {
    "role": "grid_operator",
    "organization": "Stadtwerke Beispiel",
    "department": "Regulierung"
  },
  "strategic_goals": [
    "Rechtssicherheit stärken",
    "Investitionsargumentation verbessern"
  ],
  "tone": "diplomatisch, rechtssicher"
}

Response

Profile persisted successfully

successboolean
profile_idstring
createdAtstring date-time

Example response

{
  "success": true,
  "profile_id": "stadtwerk_regulierung"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.