← Integrations

Anthropic usage

Available now Agent cost (API usage)

Imports daily token usage and cost per API key so each AI agent's runtime cost is a real expense.

What we pull

  • organization usage report (tokens per API key and model)
  • cost report

Every record lands as a financial event with source_type, external_id (deduplicated on re-sync) and provenance. Mode: mock.

Signals and sync

  • Scheduled sync only (no webhooks).
  • Sync interval: daily (UTC).
  • Health signals: auth_expired, silent (no sync for over twice the interval), error. Each becomes an in-app notification for the owner and shows in Integrations.

Permissions and secrets

  • Admin API key (organization, read only)

Secrets are encrypted at rest (AES-256-GCM, per-owner) and never returned by the API; the panel shows only the last 4 characters and the date. Read-only keys wherever the provider offers them.

Availability

Live: connect it from the panel (Integrations → Connect).

Setup steps

Connect from the panel: Integrations → Connect, paste the key or authorize, pick the business the data belongs to. The first sync starts in the background.