Desktop plumbing: returns plan usage for the organization of the caller's extraction code (seats, devices and storage used, plan flags), whether the device in the query is new to the organization, and the client payment details. The orgId path parameter is not used.
GET
/extraction/organization/{orgId}/extractor-usages-stat
curl \
--request GET 'http://api.example.com/extraction/organization/{orgId}/extractor-usages-stat' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"isActive": true,
"billingModel": "legacy",
"isPaidPlan": true,
"isPayAsYouGo": false,
"seats": 10,
"seatsUsed": 4,
"devices": 20,
"deviceUsed": 7,
"storage": 100000000000,
"storageUsed": 25000000000,
"organizationName": "Acme Law LLP",
"organizationSlug": "acme-law-llp",
"organizationId": "65a1b2c3d4e5f6a7b8c9d0e1",
"hasUserAccessToBilling": true,
"isNewDevice": true,
"clientPayDetails": {},
"canAddFreeDevice": true,
"canAddFreeSeats": true,
"storageInKb": 100000000,
"storageUsedInKb": 25000000,
"storageInMb": 100000,
"storageUsedInMb": 25000,
"storageInGb": 100,
"storageUsedInGb": 25,
"storageInTb": 0.1,
"storageUsedInTb": 0.025
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}