List the most recent CapacityPlans
GET/capacity-plans
The most recently created plans, newest first (ties broken by id, descending), each in exactly the shape of GET /capacity-plans/{id}, one keyset page at a time (limit + cursor; follow nextCursor until it is absent). location, site_id, path_id, window_start and window_end are optional, ADDITIVE filters (docs/adr/0024): a plan is listed only when it matches every filter sent; an omitted or empty one does not filter (repeat them on every page request). Together site_id, path_id and the window list the what-if scenarios of one window. 200 with an empty items list when nothing matches. Read-only; there is no MCP tool for it.
Request
Responses
- 200
- 400
- 500
One page of plans, newest first (possibly empty).
invalid-limit, invalid-cursor, unknown-query-parameter, malformed-window-start, malformed-window-end or invalid-capacity-window.
An unexpected failure (a store or outbox error). Answered as problem+json (internal-error). A 5xx answer is never stored under an Idempotency-Key and rolls back the aggregate change and its outbox rows, so the retry re-executes.