Get Spend Notices
get_spend_noticesGet where your organization's spending stands against its plan.
Spans over the plan's included allowance are billed as overage, and a paying organization is told as it climbs: at 100%, 200%, 300%, 500%, 1000% and every doubling after. This returns the current billing period's latest spend notice for each organization you are an admin of: the threshold crossed, and as of when it was crossed the usage against the allowance, the overage and the projected cost at period end, with what the notice suggested then (send less, upgrade, or settle an open invoice) and the console link. A notice's figures and suggestions are a snapshot from that moment, not current spending or the current billing state; no notice does not mean usage is under the allowance (trials and internal organizations get none, and a new threshold takes a few minutes to be recorded). Earlier notices of the period are listed by threshold. Use it before raising span volume, or to decide whether to sample or drop spans.
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_spend_notices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Organization id or name. Omit to read every organization you are an admin of. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |