get_earnings
Retrieve revenue report for your workspace: all-time and recent earnings in sats, paid days, and top endpoints.
Instructions
Revenue report for a bolthub workspace you own: all-time and windowed earnings in sats, recent paid days, and top-earning endpoints. Read-only. Requires BOLTHUB_ACCOUNT_TOKEN.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_earnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Reporting window in days for the recent-revenue figures (default 30, max 365). All-time totals are always included. | |
| tenant_id | No | Workspace id. Omit when the account has exactly one workspace. |