AI Agent

Execute the planned steps with user-provided parameter values

Runs the execution plan produced by /agent/analyze, substituting user inputs into step params and calling each microservice in sequence. Optionally accepts a free-text refinement which triggers a re-plan.

post/api/agent/execute

Request

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

Session ID returned by /agent/analyze

userInputsobject

Key-value map of required input values

refinementstring

Optional free-text refinement or follow-up question

tokenstring

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

Example request

{
  "sessionId": "2a70e478-90ce-4fa5-b996-6f98efdba7cf",
  "userInputs": {
    "country": "de",
    "date": "2026-02-01"
  },
  "refinement": "Focus on Bavaria and include the next 7 days"
}

Response

Execution results or re-plan if refinement provided

Changes

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