Builtin Library
README.md
services.status
Reports one generation job's current status by the handle id returned when it was started. The generation runs in the background regardless, and posts a generation finished or generation failed notice when it ends; this reads the same outcome on demand, and each row carries progress and, once completed, the spawnable asset path. A call the provider refused for the moment (a 429 while it rate limits) is sent again after a wait; while it waits, status names the refusal and the attempt coming next (generate: retrying after upstream 429: ... (attempt 2 of 6)), and jobId names the gateway job of the latest attempt. A run whose attempts all end refused reads failed, with the provider's status and reason in error. A failed run carries what the refusal stated as data: reason (the platform's reading; quota_exhausted and the reasons about the request end the run on the first answer, and throttled waits the retryAfterSecs it names, ending the run when that is longer than a minute), field (the input it concerns) and cap (a cap that holds for the next run too, which services.caps lists). Returns nil for an unknown id.