ledger

Run ledger across bots: record runs, one feed (runs + costs + failed API calls), daily rollup per bot.

post/api/v1/ledger

Request

  • Base URL: https://cloudforbots.com
  • URL: https://cloudforbots.com/api/v1/ledger
  • Auth: HTTP bearer

Request body

action'record' | 'feed' | 'rollup' required
botstring
status'ok' | 'failed' | 'running' | 'skipped'
run_idstring
kindstring
usdnumber
tokens_ininteger
tokens_outinteger
modelstring
msinteger
notestring
sincestring
limitinteger
daysinteger

Response

ok

Changes

No recorded changes to this operation across all 1 revision of this API.