List extra credits

GET/v1/login/boo-admin/grants

The credits given beyond a plan this period, to a person or to each member of a group, from your organization's credits. Amounts are micros, millionths of a credit, as strings: "25000000" is 25 credits.

Permission: boo-admin:ListAllocations, or boo-admin:GetUsage

Returns

200 OK

{
  "credits": [
    { "kind": "user", "subject": "8f0c2c1e-6b1a-4f3e-9a51-0c3d2f7e9b10", "micros": "100000000" }
  ]
}

Giving credits spends your organization's, so it is done in Boo · Admin.

Example

curl "https://<company>.yotta.bot/v1/login/boo-admin/grants" \
  -H "Authorization: Bearer $YOTTABOT_TOKEN"

With yottactl

yottactl org boo credits