---
title: "Promote an Agent Session to a named Datapoint"
method: POST
path: "/api/datapoints/promote"
tags: ["Datapoints"]
---

# Promote an Agent Session to a named Datapoint

`POST /api/datapoints/promote`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/datapoints/promote`
- Auth: none declared

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.

## Query parameters

- `token` string

## Request body

- object
  - `sessionId` string, required
  - `name` string, required
  - `description` string
  - `owner` string
  - `tags` string[]
  - `fixedParams` object
  - `refresh` object
  - `token` string: Optional Cernion MCP token for this request. Overrides CERNION_TOKEN when provided.

## Response `200`

Successful response

- object

---

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