PlanRun
Latest terminal plan run per plan/environment pair for a workspace window
Returns one row per (plan, environment) pair that had a terminal run in the window: the latest such run plus a run/failure tally for that pair over the window. Ad-hoc runs are excluded, matching aggregateWorkspacePlanRuns. A plan with no environment on a run (an empty or null environment_ids array) still gets a row, with environment_id absent.
get/planRuns/workspace/{workspace_id}/latestByEnvironment
Path parameters
workspace_idstring required
The workspace (organization) id
Query parameters
environment_idstring
application_idstring
min_created_timeinteger required
Inclusive lower bound on created_time (epoch ms)
max_created_timeinteger required
Inclusive upper bound on created_time (epoch ms)
Response
Latest plan run per plan/environment pair, with window tallies
Changes
Changed in 1 of the 32 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○