get_order_events_admin
GET
/admin/orders/{id}/events
curl --request GET \ --url http://localhost:3001/admin/orders/00000000-0000-0000-0000-000000000000/events \ --header 'Authorization: Bearer <token>'import requests
url = "http://localhost:3001/admin/orders/00000000-0000-0000-0000-000000000000/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.json())use reqwest;
#[tokio::main]pub async fn main() { let url = "http://localhost:3001/admin/orders/00000000-0000-0000-0000-000000000000/events";
let mut headers = reqwest::header::HeaderMap::new(); headers.insert("Authorization", "Bearer <token>".parse().unwrap());
let client = reqwest::Client::new(); let response = client.get(url) .headers(headers) .send() .await;
let results = response.unwrap() .json::<serde_json::Value>() .await .unwrap();
dbg!(results);}Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Order ID
Responses
Section titled “Responses”The order’s audit trail, oldest event first
Media typeapplication/json
Array<object>
One entry in an order’s audit trail.
occurred_at is when the domain decided the event; recorded_at is when the
store appended it. They differ for anything that arrives from a broker stream,
and an auditor wants both.
object
actor
required
string
causation_id
string
correlation_id
string
event_id
required
string
event_type
required
string
occurred_at
required
string format: date-time
payload
required
The event body exactly as stored — the forensic record, not a rendering of it.
recorded_at
required
string format: date-time
schema_version
required
integer format: int32
status_after
string
summary
required
string
version
required
integer format: int64
Example generated
[ { "actor": "example", "causation_id": "example", "correlation_id": "example", "event_id": "example", "event_type": "example", "occurred_at": "2026-04-15T12:00:00Z", "payload": "example", "recorded_at": "2026-04-15T12:00:00Z", "schema_version": 1, "status_after": "example", "summary": "example", "version": 1 }]Invalid UUID
Order not found