AI Credit Usage
Read individual users' AI credit usage
Changed onList individual users' (up to 1,000 unique users per request) AI credit usage for the current billing period. Each user ID must be a member of the organization. Unknown, invalid, and duplicate IDs will fail the request.
Returns each user's credits used, in request order, plus the billing-period bounds. Users with no current usage will report 0.
post/v1/ai/credit-usage/users
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/ai/credit-usage/users
- Auth
- HTTP bearer
- or HTTP bearer
Request body
Example request
{
"userIds": [
"f4a2b3c8-0d1e-4f5a-9b6c-7d8e9f0a1b2c"
]
}Response
Each requested user's credit usage for the current billing period, in request order.
Example response
{
"users": [
{
"creditsUsed": 42,
"userId": "f4a2b3c8-0d1e-4f5a-9b6c-7d8e9f0a1b2c"
}
]
}Changes
- info
endpoint added
- info