Observability
Retrieve captured broker and service log output
Returns recently captured logger output from the Moleculer broker and loaded services. Messages are persisted locally in PouchDB with token and PII redaction for production-safe debugging.
get/api/observability/logs
Request
- Base URL: https://api.cernion.de
- URL: https://api.cernion.de/api/observability/logs
- Auth: none declared
Query parameters
level'fatal' | 'error' | 'warn' | 'info' | 'debug' | 'trace'
Example:error
servicestring
Example:finance-agent
actionstring
Example:finance-agent.analyze
containsstring
Example:timeout
limitinteger
sinceMinutesinteger
sincestring date-time
Example:2026-05-04T08:00:00.000Z
untilstring date-time
Example:2026-05-04T12:00:00.000Z
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
Captured log messages
Example response
{
"count": 12,
"logs": [
{
"level": "error",
"service": "finance-agent",
"action": "finance-agent.analyze",
"source": "service",
"requestOrigin": "gateway",
"errorType": "VALIDATION_ERROR"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.