Admin
Get organization usage and a bounded member page
Changed onReturns the organization's last 30 UTC days of gateway usage, with requests, reported tokens, recorded cost and accounting coverage. Member usage is bounded to the requested member page; organization totals include all members, including removed members. Raw and retained usage use the same accounting as the organization dashboard.
get/v1/admin/organizations/{organizationId}/usage
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
organizationId, string required
Query parameters
search, string
limit, string
offset, string
Response
Organization detail returned.
Admin Organization Usage required
organization, object required
members, object[] required
page, object required
generatedAt, string date-time required
usage, object required
Changes
- breaking
removed the required property
organization/subscriptions/enterprisefrom the response with the status - info
removed the
stripe_enterpriseenum value from theorganization/plan/paidByresponse property for the response status
- breaking
- info
added the optional property
organization/openworkWebto the response with the status
3 more changes in this revision
- info