Get Credit Usage
get_credit_usageCurrent Sliq credit balance, 30-day spend by agent, and — for a workspace member — the shared team block.
Returns {'balance': float, 'usage_by_agent': [{'agent_id', 'title',
'credits_used', 'is_agent'}, ...], 'team': None | {'workspace_name',
'your_role', 'seats_used', 'seats_active', 'seat_limit',
'per_member_spend': [{'user_email', 'credits_used_30d', 'is_you'}, ...]}}.
balance/usage_by_agent are the same rollup the Billing page renders;
spend not tied to an agent groups by activity label (e.g. 'Standalone chat', 'Data
extraction'). team is None for solo users and otherwise mirrors the
Billing team card: seats_used counts invited+active seats (spoken for),
seats_active only active ones. per_member_spend excludes removed members
and unattributed charges, so it does not sum to pool spend — it is spend over
the last 30 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||