Events
Get a Run Graph
GET
cURL
Retrieve the latest Event node for each
The API key determines the team. Pass
event_id in a Run, together with structural parent edges and causal links.
environment_id on every request. Runs with the same run_id in other Environments are never included.
Edges and unresolved targets
Every edge connects asource Event to a target Event.
parentconnects an Event to its single structural parent. Run trees and breadcrumbs use only parent edges.linkrecords a causal input and may point to another run in the same Environment.
nodes, including targets outside the requested page or in another Run in the same Environment. If the target Event has not been stored yet, its node contains the requested public IDs and internal_event_id: null. This preserves the reference without pretending the target exists.
Pagination
limit defaults to 100. The API rejects 0 and clamps any value above 100 to 100. Pass next_cursor as after to load the next page. A cursor is valid only for the Environment and Run that produced it; using it with another scope returns 400.
The graph returns the latest attempt for each public event_id, regardless of whether it completed or failed. A retry created while you paginate moves that Event to its new latest-attempt position, which may be before your current cursor. Restart pagination when you need a fresh complete latest-attempt view; cursors do not snapshot a changing Run.
Use the returned internal_event_id with the Get Event endpoint to retrieve moderation details.Authorizations
API Key required. Format: Bearer wc-your-api-key
Headers
API Version
Path Parameters
Query Parameters
Required environment selector.
Number of Events to return. Values above 100 are clamped to 100.
Required range:
x >= 1