What Is the Governance Timeline?
The governance timeline aggregates all governance-related events for a run into a single chronological view. It pulls from five data sources:
- policy_results — Policy evaluation events
- run_approval_requirements — Approval requirement activations
- external_checks — External check provider callbacks
- run_approvals — User approval/rejection decisions
- governance_events — System governance events
Viewing the Timeline
GET /runs/{id}/governance-timeline
Response:
[
{
"id": "uuid",
"occurred_at": "2026-01-15T10:00:00Z",
"event_type": "policy_evaluated",
"actor_type": "system",
"actor_id": null,
"details": {
"policy_set_name": "production-safety",
"passed": false,
"violations": ["..."]
}
},
{
"id": "uuid",
"occurred_at": "2026-01-15T10:00:01Z",
"event_type": "requirement_active",
"actor_type": "system",
"actor_id": null,
"details": {
"stage": 1,
"reason": "Production destroy requires approval"
}
},
{
"id": "uuid",
"occurred_at": "2026-01-15T10:05:00Z",
"event_type": "approval_received",
"actor_type": "user",
"actor_id": "user-uuid",
"details": {
"decision": "approved",
"comment": "Reviewed and approved"
}
}
]
Event Types
| Event Type | Description |
|---|---|
policy_evaluated | A policy set was evaluated against the run |
requirement_active | An approval requirement became active |
requirement_satisfied | An approval requirement was satisfied |
requirement_rejected | An approval requirement was rejected |
requirement_escalated | An approval requirement escalated |
requirement_auto_approved | An approval requirement was auto-approved on timeout |
external_check_received | An external check provider responded |
approval_received | A user approved or rejected the run |
Actor Types
| Actor Type | Description |
|---|---|
system | Automated governance action |
user | A user made a decision |
external_provider | An external check provider responded |
Use Cases
- Audit — Show the complete governance history for compliance
- Debugging — Understand why a run was rejected or is pending
- Reporting — Track governance effectiveness over time
Related
- Governance Preview — Dry-run evaluation
- Approvals — Approval workflow details