Check the balance
--workspace, this reports your active workspace. Credits are held per workspace, so a team that runs a lot draws down its own balance rather than a shared pool.
See where they went
Keeping consumption predictable
Check what’s scheduled.trigger list shows each trigger with its mode and version; schedule show shows the routine’s cron expression. A */5 * * * * schedule left over from testing is the most common surprise.
Prefer Simulation while iterating. A Simulation exercises the agent without side effects outside JoyStream, and it’s the right mode while you’re still shaping a spec.
Look for retry loops.
MUST_HAPPEN step that fails retries with backoff before giving up. A step failing on every run is doing that work repeatedly.
Clear schedules you no longer need.
When a workspace runs out
A workspace is out of credits once its balance reaches a small reserve. From then on,jstm agent run and jstm agent build fail with HTTP 402, and the web app disables the Run button. Every surface shows the same message:
jstm credits balance --workspace <handle>; credits are not pooled, so a sibling workspace may still have a balance.
Scripting
See also
- Credits
jstm credits— full reference.