Category: Core Observability · Execution Model: Read-only, Deterministic, Immutable
The Orchestration History Agent provides a canonical, immutable record of all orchestrator executions. It functions as the system’s authoritative audit log, enabling debugging, performance analysis, failure inspection, and learning verification across the entire multi-agent pipeline. Every orchestration run produces exactly one history document, capturing execution state, participating agents, structured errors, and contextual metadata generated during runtime.
number
— default: 10
{
"message": "string",
"count": "number",
"data": [
{
"_id": "ObjectId",
"runType": "\"weekly-discovery\" | \"manual\"",
"status": "\"pending\" | \"success\" | \"partial\" | \"failed\"",
"startedAt": "ISODate",
"finishedAt": "ISODate | null",
"agentsTriggered": "string[]",
"fauxSessionsGenerated": "number",
"notes": "string | null",
"errors": [
{
"agent": "string",
"message": "string",
"stack": "string | null"
}
],
"meta": "object",
"createdAt": "ISODate",
"updatedAt": "ISODate"
}
]
}
None (read-only interface)
No state mutation or downstream writes
This agent does not fail partially. If the database is reachable, it returns the most recent orchestration records. If retrieval fails, a 500 error is returned with no side effects or state changes.
{
"persistence": [
"OrchestrationHistory"
],
"guarantees": [
"History records are append-only",
"Completed runs are never mutated",
"Each orchestrator execution maps to exactly one history record"
]
}
curl -X GET https://api.whook.ai/v1/agent/orchestrator/history