Who spent a window's credits, grouped per dimension (a turn names two, so dimensions do not add up)
GET
/api/v1/usage/spendersRequires an Organization API key with the manageMembers capability.
Authorization
apiKey AuthorizationBearer <token>
In: header
Query Parameters
from?string
Start of the usage window, as an ISO 8601 timestamp.
to?string
End of the usage window, as an ISO 8601 timestamp.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/usage/spenders"{ "data": { "from": "string", "to": "string", "dimensions": [ { "dimension": "member", "spenders": [ { "dimension": null, "id": null, "credits": null, "platformCredits": null, "ownCredits": null, "calls": null } ] } ] }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}{ "error": { "code": "string", "message": "string" }}