Find what caused your AI bill. Ship telemetry fast with provider-agnostic LLM cost tracking and token-and-cost attribution.
Use workspace status booleans directly in n8n If nodes. No string casting is required.
| Field | n8n use |
|---|---|
isPlanLimitReached | Pause or reroute telemetry pipelines. |
telemetryPaused | Show clear operator message in Slack/Discord/email. |
isBudgetWarning | Send early warning notification. |
isBudgetExceeded | Trigger escalation flow. |
severity | Single branch key (normal/warning/critical). |
GET /v1/diagnostics/workspace-status with X-API-Key.$json.telemetryPaused and $json.isBudgetExceeded.{
"method": "GET",
"url": "https://api.opsmeter.io/v1/diagnostics/workspace-status",
"headers": {
"X-API-Key": "YOUR_WORKSPACE_API_KEY"
}
} Provider calls should continue. Branch only telemetry behavior when ingest returns 402.
if ($json.statusCode === 402 && $json.body.reason === "plan_limit_reached") {
// pause telemetry retries; notify owner/admin
}Ready-to-import templates: n8n workflow templates.