Observability

Generate an agent-ready debugging prompt from recent production feedback

Builds a compact prompt for agentic troubleshooting from observability summary signals: error volume, latency hotspots, recent redacted errors, and slowest actions in the selected time window.

get/api/observability/agent-prompt

Request

  • Base URL: https://api.cernion.de
  • URL: https://api.cernion.de/api/observability/agent-prompt
  • Auth: none declared

Query parameters

sinceMinutesinteger
Example:120
slowActionThresholdMsinteger
Example:1500
limitinteger
Example:5
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.

Response

Agent prompt template with structured production context

generatedAtstring date-time
windowobject
promptstring
contextobject

Changes

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