Usage
- If a synchronous Run has passed its execution deadline, timeout takes
precedence: it settles as
FAILEDwith failure kindTIMED_OUT, even if no Provider call has been recorded. - Otherwise, if no Provider call has been recorded, the Run becomes
STOPPED, its Hold is closed, and its Charge is0. - If a Provider call has already been recorded, the request records
stop_requested_at. The Run continues toCOMPLETEDorFAILED. Its final Charge depends on the Endpoint’s pricing rules; readcharge_usdfrom the Run. - A Run already in a terminal status returns HTTP
409, and the CLI exits1.
0 means the stop request was accepted. The returned Run can still be
RUNNING; check its status. Use glasser runs get -r <runId> --wait to
retrieve its final status and Charge.
Flags
See CLI conventions for global flags, JSON mode, exit codes, and environment variables.