Skip to main content

Fetch a program's estimate

GET 

/programs/:id/estimate

Returns the cost-and-time estimate for a program owned by the authenticated team. Returns a 202 with a ProcessingResponse envelope while the engine is still computing, a 200 with a PublicEstimate envelope once the estimate is ready, or 422 if the engine reported an error. Returns 404 if the program does not exist or belongs to a different team. The optional timings query param selects the estimate variant: fast (default) returns the heuristic estimate that's always available once the program is ready; refined returns the simulation-based estimate, which may still be processing after fast is ready.

Request

Responses

Estimate is ready