Datapoints

Promote an Agent Session to a named Datapoint

Creates a managed, named datapoint from an existing agent session. The plan and parameters are extracted from the session and stored in PouchDB. Raw data is NOT stored.

post/api/datapoint/promote

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/datapoint/promote
  • 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

sessionIdstring required
namestring required
descriptionstring
ownerstring
tagsstring[]
fixedParamsobject
refreshobject
tokenstring

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

Example request

{
  "sessionId": "9209aa45-93f7-471c-8883-76326c4083f1",
  "name": "pv-portfolio-stromdao-netze",
  "refresh": {
    "strategy": "manual"
  }
}

Response

Successful response

object required

Changes

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