Skip to content

Usage CLI reference


Read what your turns cost: today, the window, a row per day, and a row per model.

Use this page to read what atoi usage answers and the flags it takes. The numbers come from the model-decision receipts a turn writes, so the terminal, the atoi_usage tool, and the Usage section of Billing all answer from one place.

atoi usageRead what the turns cost, from the model-decision receipts: today, the window, by day, and by model.

#usage get

Read what your turns cost in the Workspace the terminal is standing in: today, the window, a row per day, and a row per model.

atoi usage [get] [--days <n>] [--workspace <workspace-id>] [--personal]

FlagTypeDefaultValuesWhat it does
--daysnumberRead this many days back. Seven when omitted.
--workspacestringAnswer one Workspace by id for this call; without it, the Workspace the terminal is standing in.
--personalbooleanAnswer Personal for this call, whatever the terminal is standing in.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run usage get

bash
atoi usage --days 7 --json

Without --workspace, the read answers for the Workspace the terminal is standing in; --personal steps out to Personal for one call.

Read Billing for the same numbers in the product, or the CLI reference index for every command.

Was this useful?