get_credits_spend_by_product
Read-only: credits spent per product over a date window, as { points: [{ date, isoDate, products: [{ product, value }] }] } — one point per time bucket (daily, weekly, monthly or quarterly by window length), zero-filled. Use it for 'where did my credits go' and 'how much did enrichment cost this week'. since (ISO 8601 date-time, e.g. 2026-11-01T00:00:00Z; periodStartDate from get_credits_usage is in this form) is optional: omit it for all-time spend. to (ISO 8601 date-time) defaults to now; timezone (IANA, default UTC) sets the calendar days. memberIds (team members' 24-hex user ids: userId in list_team_members, or userInfo._id from get_user_info for the user's own) narrows to those people; omit it for the whole account, which for a team member is the whole team (pass their own user id for their own spend). An id that is not the user id of someone currently on the user's team fails with TEAM_MEMBER_NOT_IN_SCOPE. Product labels are credit history's, except that Contact Enrichment is reported as Email Enrichment and Phone Enrichment.
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_credits_spend_by_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| since | No | ||
| timezone | No | UTC | |
| memberIds | No |