Skip to content

Brain

brain_usage_report

Reported LLM/embedding token usage for this product, next to the platform billing aggregate

Tool

brain_usage_report

Reported LLM/embedding token usage for this product, next to the platform billing aggregate

Reported LLM/embedding token usage for this product, next to the platform billing aggregate

Behavior

HTTP
GET /brain/usage/report

Arguments

NameTypeRequiredDescription
daysintegerHow many UTC days of this product's ledger to return, ending today (default 30, max 90)

Response

FieldTypeAlwaysDescription
notestring
productobjectBrain's own ledger, for THIS product only
platformobjectThe platform billing aggregate for the whole ORG; null if it could not be read
platform_errorstringWhy the platform aggregate is null; null when it was read successfully

Try it

Reported LLM/embedding token usage for this product, next to the platform billing aggregate.

When to use

Reported LLM/embedding token usage for this product, next to the platform billing aggregate

Example

Ask your agent something like this:

Reported LLM/embedding token usage for this product, next to the platform billing aggregate.

The agent will invoke brain_usage_report with these arguments:

{}

Esc

Start typing to search the docs.

navigateselect