time_series and bucket_type parameters.curl --location --globoff 'https:///api/v2/analytics/users/costs?bucket_type=&days=&end_date=&start_date=&time_series=&type=&user_id=' \
--header 'Organization-Id;' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer '{
"success": true,
"message": "User cost data retrieved successfully",
"data": {
"costs": [
{
"user_name": "Sam Lee",
"user_email": "[email protected]",
"model_used": "gpt-4o",
"total_cost": "1.24500"
}
]
}
}