Retrieves cost per person for the authenticated user's organization, one row per person,
for providers that attribute spend to a person at the source.
Cost only. Token counts, request counts and per-million figures have no source on this
path and come back absent rather than zero. Spend attributed to nobody is not a row here.
Envelope: totalCost is every provider's spend for the period, as on the sibling
views. peopleTotalCost is the part the rows carry, summed over every page, and
userCostRemainder names the rest: emailWithoutPersonId (a provider such as Cursor
recorded an address but no person id), outsideDeveloperReport (GitHub Copilot spend
outside its per-person report), enterpriseNotAttributed (Claude Enterprise spend the
vendor attributed to no person), chatGptEnterpriseNotAttributed (the same for ChatGPT
Enterprise spend) and apiKeysAndWorkspaces (everything else). The six parts add up
to totalCost. Both fields follow the period, provider, usageType, apiKey and
workspace filters and ignore query, minCost, maxCost and paging.
provider: only anthropic_enterprise, openai_enterprise and github_copilot return rows, because
they are the providers that attribute spend to a person today. Any other value, including
anthropic and openai, returns an empty page rather than an error.
usageType: filtering narrows a person to that one type, and the provider writes
its non-token charges under their own type names, so a filter drops them from the
person's total. Omit it for a person's whole cost.
product: the vendor's product name, matched exactly and case-sensitively. It needs
provider, and the filter accepts only anthropic_enterprise (Claude Enterprise: claude_code,
chat, cowork, chat_cowork_unified, office_agent, claude_in_chrome, claude_design,
research, voice_mode, claude-tag, science, other) and openai_enterprise (ChatGPT
Enterprise: codex, chatgpt_work, chat_web, chat_desktop, chat_ios, chat_android,
chat_other, agents_chatgpt, other); any other provider, or none, is a 400. An unknown or empty value
is a 400 too, never an empty page. An openai_enterprise product also needs the ChatGPT
Enterprise usage feature for the organization's tenant: 403 while it is off, checked after
the provider and product. Rows written
before the vendor's product split carry no product and drop out of a product answer, which
is why the envelope then carries productDataFrom, the first day the split covers; the trend
is null when the preceding period starts before it. When no person row of the provider carries
a product by the window's last day, the answer is a 400 too, never an empty page. The
trend treats every day on or after productDataFrom as fully split, so a day the vendor
later restated with no product undercounts only the preceding period.
totalCost, peopleTotalCost and userCostRemainder stay all-product. The envelope then also
carries productTotalCost, the product's cost over every matching person on every page; like
totalCost it ignores query, minCost and maxCost, and it is absent without product.
It is also absent while the provider's usage feature (Claude Enterprise or ChatGPT Enterprise)
is off for the organization's tenant, and when the window spans more than 366 days; the rest of a product answer is the
same either way.
Each row's percentage is its share of the product cost of the people query, minCost
and maxCost select, so it is a share of productTotalCost only when none of them is sent.
sort: totalCost (default, descending), userId, userEmail, userLogin,
provider, percentage, creditsApplied. These are the aggregate names, not the
response field names, and an unknown key fails the request with 400.
All costs are in USD.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||