Returns a list of all users in the workspace with their profile and credit consumption data.
You can use the from and to parameters to specify the date range for credit consumption. If not specified, defaults to consumption during the current billing period.
You can use the returned user_id values to call:
Get user: For user consumption data for a specific user over a custom date range.List user apps: To see a specific user’s app IDs.Results are paginated. Check has_more in the response and use the returned cursor to fetch additional pages.
API key for authentication. See the Authentication page for your API for details on how to get your key.
Items per page. Max 50.
1 <= x <= 50Pagination cursor from previous response.
Filter to users who consumed message credits in the last 30 days.
Filter by subscription tier, such as "starter", "builder", or "pro". If not provided, returns all users.
Start date in YYYY-MM-DD format. Required if to is provided. Defaults to billing period start.
End date in YYYY-MM-DD format. Required if from is provided. Defaults to current date.