AI Agent

Analyze a natural-language energy problem and return an execution plan

Uses Gemini to reason about the user problem and select which microservices to call, in which order, and which parameters are needed from the user.

post/api/agent/analyze

Request

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

problemstring required

Free-text energy research problem or question

tokenstring

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

Example request

{
  "problem": "What is the current gas storage level in Germany and is it sufficient for winter?"
}

Response

Execution plan with required user parameters

sessionIdstring
summarystring

Changes

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