Groups and Grants
Grants and groups are how an organization decides who, outside its own team, may read its data. A grant describes what can be read, a group says who may read it. Both belong to the organization that owns the data.
A group can also be sponsored: you, the data owner, pay the platform fee for every request your client makes against your data, within a monthly quota you set. This guide covers the model, the API and the sponsored-access rules.
Concepts
| Concept | What it is |
|---|---|
| Grant | A named list of abilities. Each ability is a resource path plus an access type (read or write). A grant is a product line: it can list every dataset you sell as one offer. |
| Group | A named set of grants plus the people who receive them. A group is one client's subscription: it attaches the grants that client bought and the client itself. |
| Member | Who a group applies to. Either a whole organization (every member of that organization is covered, now and in the future) or an individual user attached directly. |
A grant does nothing on its own. It takes effect for a user once it is attached to a group that the user reaches.
Ability paths
An ability is a path of resource steps ending at the thing being granted, with an access type:
{
"path": [
{ "resource": "cluster", "resourceId": 17 },
{ "resource": "dataset", "resourceId": 303 }
],
"accessType": "read"
}
- Hierarchy. A path follows the resource hierarchy: a
clustercontainsdatasets, adatasetcontainsentrys (and aconnectorcontainsendpoints). A step that is not a child of the previous one is refused with400INVALID_GRANT_PATH("The provided grant path is invalid."). - Wildcard.
resourceIdmay be"*"on the last step only, meaning every child at that level.[{ "resource": "cluster", "resourceId": 17 }, { "resource": "dataset", "resourceId": "*" }]covers every dataset of cluster 17, including datasets created later. - Access types.
writeimpliesreadon the same path. Areadon a dataset also makes its parent cluster visible, so a client can list the cluster to find the dataset, but it does not open the cluster's other datasets. - Ownership. A grant may only name clusters and workflows its own organization owns. It may also give
readon another organization's public cluster. Anything else is refused.
Organization members and direct members
| Attach | How | Behaviour |
|---|---|---|
| An organization | POST /groups/{id}/organizations (by id) or .../organizations/by-slug | Every user who belongs to that organization reaches the group, including users who join later. Remove the organization and all of them lose the access at once. |
| A user | POST /groups/{id}/users (by id) or .../users/by-email | Only that person reaches the group. |
Attaching organizations is the recommended way to sell access to a client: the client manages its own people and you manage one subscription.
Sponsored access applies to attached organizations only. A user reaching a sponsored group as a direct member keeps the normal behaviour: their own organization pays for their reads.
How access is evaluated
When a user reads a dataset in a data cluster, the platform decides in this order:
- Token ability. The access token must allow reading clusters (
cluster:read). A token without it is refused. - Public cluster. A public cluster can be read without a grant.
- Owner. Members of the organization that owns the cluster (with at least the member role), and platform administrators, are not subject to grants.
- Grants. Otherwise the platform collects the grants of the owning organization that the user reaches, through a group the user was attached to directly or through a group attached to an organization the user belongs to. The read is allowed when at least one ability covers the cluster and dataset requested.
Abilities from every reachable group are combined. A user who is in two groups gets the union of both. A grant of another organization never opens your data: only grants written by the owner count.
A read that no grant covers is refused with 403 Forbidden (error.name Forbidden, origin client): a dataset the group does not grant, or any of your datasets once the user's organization is detached from the group, the grant is detached or the group is deleted. The refusal happens before the data is read, so it is never charged and never listed in a consumption feed.
Only the access decision comes from this evaluation. Who pays for the request is decided afterwards (see Who pays).
The API
The routes below are documented in the Platform API reference under Groups and Grants. They act on the caller's current organization (send x-organization-id to choose another one you belong to).
- Reading (
GET) needs thegrant:readtoken ability and at least the member role of the organization. - Writing needs the
grant:writetoken ability and at least the admin role. - A call that lacks the ability or the role answers
401(UNAUTHORIZED). A group or grant that belongs to another organization answers404(GROUP_NOT_FOUND,GRANT_NOT_FOUND), including when an admin of a client organization asks for its sponsor's group or its statement: clients cannot see or manage the sponsor's groups. A client also gets401on the sponsor's consumption feed and balance.
Create a grant
curl -X POST https://api.alien.club/grants \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Engineering handbooks",
"description": "Every dataset of the engineering line",
"abilities": [
{
"path": [
{ "resource": "cluster", "resourceId": 17 },
{ "resource": "dataset", "resourceId": "*" }
],
"accessType": "read"
}
]
}'
The response is the grant with its id, its abilities and the groups it is attached to. Pass groupId in the body to attach it to an existing group in the same call. Grant names are unique within an organization (409 GRANT_NAME_ALREADY_EXISTS otherwise).
Create a group
curl -X POST https://api.alien.club/groups \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme Publishing subscription",
"grantId": 41,
"members": { "type": "organizations", "identifiers": ["acme-publishing"] }
}'
grantId and members are both optional. members.type is organizations (identifiers are organization slugs) or users (identifiers are emails). The call answers 200 and tells you what happened in data.status:
data.status | Meaning |
|---|---|
created | The group was created, data.group is the group. |
name-taken | A group with that name already exists in your organization. |
rejected-members | At least one identifier was refused, nothing was created. data.rejections lists each value with its message. |
Attach and detach grants
# Attach one or several grants (already attached ones are skipped)
curl -X POST https://api.alien.club/groups/72/grants \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "grantIds": [41, 42] }'
# {"success": true, "data": {"attached": [41, 42]}}
# Detach one
curl -X DELETE https://api.alien.club/groups/72/grants/42 \
-H "Authorization: Bearer $TOKEN"
Attach an organization by slug
curl -X POST https://api.alien.club/groups/72/organizations/by-slug \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "slugs": ["acme-publishing"] }'
# {"success": true, "data": {"status": "attached", "attached": [334]}}
If a slug matches no organization, nothing is attached and the answer lists the offenders. On a sponsored group, an organization the group refuses is reported the same way, per slug, with the refusal's message and an HTTP 200:
{
"success": true,
"data": {
"status": "rejected-members",
"rejections": [{ "value": "acme-publshing", "message": "No organization matches this slug." }]
}
}
| Refusal | rejections[].message |
|---|---|
| The slug matches no organization | "No organization matches this slug." |
| The organization already holds a sponsored group of yours | "<slug> already has a <sponsor> subscription (group <group name>): add the product line to it." |
| The slug is your own organization's | "A sponsor cannot be a member of its own sponsored group." |
Slugs are resolved before the sponsored-group rules run. When some slugs match no organization, rejections lists only those: the other slugs of the batch have not been checked yet. Fix the batch and send it again, which may report further refusals.
Attaching by id (POST /groups/{id}/organizations with organizationIds) applies the same rules but answers an HTTP 409 instead: SPONSORED_GROUP_ALREADY_EXISTS or SPONSOR_CANNOT_BE_MEMBER in error.name, and every refused organization in error.data.refusals as { "organizationId", "message" }.
The owners of every organization newly attached by slug receive a short, generic email in English telling them they were granted access in your organization. It is sent every time an organization is attached, a re-attach after a detach included. An organization already in the group is skipped and gets no email, and attaching by id sends none. Detach with DELETE /groups/{id}/organizations/{organization_id}.
Other routes
| Action | Call |
|---|---|
| List, read, update, delete a group (the list does not show members) | GET /groups, GET /groups/{id}, PATCH /groups/{id}, DELETE /groups/{id} |
| List, read, update, delete a grant | GET /grants, GET /grants/{id}, PATCH /grants/{id}, DELETE /grants/{id} |
| Attach or detach groups from the grant side | GET/POST /grants/{id}/groups, DELETE /grants/{id}/groups/{group_id} |
| List a group's grants | GET /groups/{id}/grants |
| Manage direct members | GET/POST /groups/{id}/users, POST /groups/{id}/users/by-email, DELETE /groups/{id}/users/{user_id} |
| Manage member organizations | GET/POST /groups/{id}/organizations, DELETE /groups/{id}/organizations/{organization_id} |
Deleting a group or a grant ends the access it gave. Changes to a grant's abilities apply to every group it is attached to.
GET /groups returns each group with its grants but not its members. To find which of your groups an organization belongs to, read GET /groups/{id}/organizations for each group.
Sponsored access
By default, whoever reads data pays the platform fee of the request, and the data owner earns any royalty on priced data (see the cost envelope). With sponsored access, the data owner (the sponsor) pays for the access it gives to a client organization. The client reads your data without spending its own credit.
You turn it on per group. Everything below applies only to groups that have isSponsored: true. Groups that are not sponsored behave exactly as before.
Who pays
For a read of the sponsor's data that is allowed through a sponsored group:
- The sponsor pays one platform fee per request (0.01 EUR), whatever the operation: a dataset listing, a search and an entry read each cost one fee. It is booked in the same ledger and on the same monthly invoice as the sponsor's other platform fees. Sponsored requests appear on that invoice, and in the organization's usage breakdown (
GET /organizations/{organization_id}/usage), as one line per sponsored group, describedSponsored data access, <group name>, orSponsored data access, group <id>once the group is deleted. - The client pays nothing for those reads, dataset listings included: listing the sponsor's datasets through a sponsored group is a sponsored request too. The response's cost envelope shows
[]for them, and the client's balance, usage and invoice reflect only its other usage. - No royalty is charged on a sponsored read.
A search that spans several datasets is split by who pays. The part covered by a sponsored group is charged to its sponsor, once per sponsor, whatever number of hits came back. The part the client reaches by another route, such as its own datasets or another provider's grant, is charged to the client as usual.
A read refused before it reaches the data is never charged and never listed in any consumption feed, whatever its origin: a 403 on a dataset no grant covers, a 401 (a missing or revoked token, a permanently suspended account), or a 402 (a temporarily suspended account, a sponsored quota or a sponsored suspension). Among the reads that ran, one that fails is charged only when the failure is the caller's, the error's origin being client. A failure of the platform, of the data provider or of unknown cause charges nobody. An entry that does not exist is refused before anything is metered, and a file the data cluster cannot find is reported with origin unknown, so neither is charged: no fee, nothing counted against the quota. In a search over several datasets, each sponsor is charged only if its own part answered or failed through the caller's fault.
When one user could reach the same data through a sponsored route and a normal one, the sponsored route wins. If a user belongs to several organizations that each have a sponsored group, the group of the user's current organization is used first.
Requirements and rules
- The sponsor must be on post-paid billing (an
enterpriseorganization). Sponsored requests are debited as they happen and settled on the monthly invoice, so a prepaid organization cannot sponsor.isSponsoredcannot be switched on otherwise (SPONSORED_GROUP_REQUIRES_ENTERPRISE), and the organization's account type cannot be changed while it owns a sponsored group (ORGANIZATION_OWNS_SPONSORED_GROUP). - Cluster-data grants only (
SPONSORED_GROUP_CLUSTER_ONLY). A sponsored group can only carry grants whose abilities start at a cluster. A grant on workflows, connectors or any other resource is refused, and so is editing the abilities of a grant already attached to a sponsored group so that it no longer starts at a cluster. - One sponsored group per client. An organization can be attached to at most one sponsored group of a given sponsor. To sell it another product line, add the grant to its existing group. Attaching the organization to a second sponsored group is refused (
SPONSORED_GROUP_ALREADY_EXISTS). - The sponsor cannot sponsor itself (
SPONSOR_CANNOT_BE_MEMBER). The sponsor's own organization cannot be attached to its sponsored groups. - Errors. Each refusal above is an HTTP
409whoseerror.nameis the code in parentheses. Two more409s:GROUP_NOT_SPONSORED(suspension or statement of a group that is not sponsored) andGROUP_SUSPENSION_PERMANENT(lifting a permanent suspension, switching it to temporary, or turning sponsorship back on). Attaching organizations by slug reportsSPONSORED_GROUP_ALREADY_EXISTSandSPONSOR_CANNOT_BE_MEMBERper slug instead, in a200rejected-membersanswer (see Attach an organization by slug). Only the attach by id answers them with a409. - No fallback. If a sponsored read is refused (quota reached or suspension), the platform does not retry it as a read paid by the client.
Turn sponsorship on
PATCH /groups/{id} takes five new optional fields next to name and description:
| Field | Type | Meaning |
|---|---|---|
isSponsored | boolean | Makes the group sponsored. |
monthlyQuota | number or null | The most the sponsor will pay for this group in a calendar month, in euros, from 0 to 10,000,000 with at most 8 decimal places. null means no cap. |
quotaMessage | string or null | The text clients see when the quota is reached, up to 500 characters. null uses the default text. |
warningMessage | string or null | The text of the notice clients see near the limit or while isWarningRaised is true, up to 500 characters. null uses the default text. |
isWarningRaised | boolean | Raises (true) or clears (false) the notice by hand. Defaults to false. |
curl -X PATCH https://api.alien.club/groups/72 \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "isSponsored": true, "monthlyQuota": 250, "quotaMessage": "Your monthly allowance is used up, contact sales@your-company.example.", "warningMessage": "Your allowance is almost used up, contact sales@your-company.example." }'
GET /groups, GET /groups/{id}, PATCH /groups/{id} and the suspension routes (POST and DELETE /groups/{id}/suspension) then return the state of the group:
{
"id": 72,
"name": "Acme Publishing subscription",
"isSponsored": true,
"monthlyQuota": 250,
"quotaMessage": "Your monthly allowance is used up, contact sales@your-company.example.",
"warningMessage": "Your allowance is almost used up, contact sales@your-company.example.",
"isWarningRaised": false,
"suspensionMessage": null,
"suspendedAt": null,
"suspensionKind": null,
"currentMonth": { "amount": 207.5, "currency": "EUR", "percentage": 83 }
}
currentMonth is present on every one of those routes for a sponsored group: what the sponsor has paid for the group so far this month and the share of the quota that represents (percentage is null without a quota).
A sponsor that manages quotas in its own system can leave monthlyQuota as null and drive what clients see with isWarningRaised, warningMessage, quotaMessage and the suspension message instead. Without a quota the platform never refuses a read for quota reasons, so the refusal and the 80 % and 100 % emails do not apply.
Turning isSponsored off puts the group back on the normal billing at once. The one exception is a permanently suspended group, which can be switched off but never back on.
The month and the quota
Months follow the Europe/Paris calendar: a month starts at midnight Paris time on the 1st and the quota starts again from zero. The amount counted against the quota is what the sponsor has been charged for the group in that month.
-
Up to the quota, requests are served. A request is refused as soon as the month's spend has reached the quota, so with a quota of 0.03 EUR and a fee of 0.01 EUR per request, three requests are served (the third brings the spend to 100 %) and the fourth is refused. Further sponsored requests of the group are refused until the month changes or you raise the quota. Reads the client pays for itself are not affected.
-
The refusal of a single read is a
402whosemessageis thequotaMessage, or by default "This organization has used its monthly<sponsor>access quota. Contact<sponsor>to raise it.":{
"success": false,
"message": "Your monthly allowance is used up, contact sales@your-company.example.",
"error": { "status": 402, "name": "PaymentRequired", "message": "Payment required.", "data": null, "origin": "client" }
}A refused request is not charged, not counted against the quota and not listed in any consumption feed. See Refusals are free for searches across several datasets and for MCP tools.
-
No quota (
monthlyQuota: null) means the group is never refused for quota reasons. -
Overshoot. The quota is checked before a request runs and the fee is booked after it, so requests that are already running when the quota is reached still complete. Under concurrency the quota can therefore be exceeded by at most the number of requests in flight at that moment times the fee. It never keeps growing.
Notices and emails
| Usage | What happens |
|---|---|
From 80 % of the quota, or while isWarningRaised is true (with or without a quota) | Every sponsored read carries a notice that the model can see and relay to the user (see below for its shapes). The 80 % is measured after the read's own fee, so the read that brings the month's spend to 80 % or more already carries it. |
| Reaching 80 % | An email is sent once for the month. |
| Reaching 100 % | An email is sent once for the month. Sponsored requests are refused from then on. |
Each email is sent by the request whose fee takes the group's spend for the month across the threshold. The spend only grows within a month, so each email goes once per month per group: a new group, even for the same client, starts from zero and sends both again when it crosses them. Raising the quota above the month's spend moves the thresholds, so crossing the new 80 % or 100 % sends that email again. Raising isWarningRaised sends no email. The emails go to the admins and owners of the sponsor and to the owners of the client organizations in the group. They are sent after the response of the read that crossed the threshold, and are best effort: a failed send is logged and never fails the request. The notice and the statement always show the true state.
The notice
Its text is the warningMessage when set. Otherwise it is "<client>'s <sponsor> access has used 83 % of its monthly quota. Contact <sponsor> to raise it." from 80 % of the quota (the share rounded down), and "<client>'s <sponsor> access is approaching its limit. Contact <sponsor>." when the warning is raised below 80 % or without a quota. A response carries one notice per group.
Over HTTP the notice is the x-sponsored-access-notice response header, a JSON array of sentences (non-ASCII characters are \u-escaped). The header is absent when there is no notice:
HTTP/2 200
x-cost-envelope: []
x-sponsored-access-notice: ["Your allowance is almost used up, contact sales@your-company.example."]
The Alien data cluster MCP servers put the sentences in the tool result the model reads:
-
A JSON result gains a top-level
noticesarray next todata. The key is absent when there is no notice.{
"success": true,
"data": { "entry_id": "17:303:123456", "text": "...", "has_more": true, "next_offset": 300 },
"notices": ["Your allowance is almost used up, contact sales@your-company.example."]
} -
An error result keeps
isError: trueand gains one**Notice:** <sentence>line per notice at the end of itserrortext. -
A result that is not JSON (the image of
datacluster_get_entry_file) gains a final text block of**Notice:** <sentence>lines.
The servers' instructions tell the model to relay every notice to the user.
Accented text
A warningMessage, quotaMessage or suspension message may contain any Unicode text (the 500-character limit counts characters, not bytes). How it travels depends on the channel, and a program that shows it to people must decode it accordingly:
| Where | Encoding | How to read it |
|---|---|---|
x-sponsored-access-notice header | ASCII-only JSON: every non-ASCII character is a \uXXXX escape ("Votre acc\u00e8s ... \u2014 ...") | Parse the header value as JSON. |
402 response body (message) and the group's own fields read back from the API | Literal UTF-8 in the JSON body | Any JSON parser. |
MCP notices array | Inside the tool's text result, which is JSON with \uXXXX escapes | Parse the text as JSON, then read notices. |
MCP refusal (isError: true) | Error calling tool '<tool>': followed by JSON with \uXXXX escapes | Strip the prefix up to the first {, then parse the rest as JSON and read error. |
MCP refusal of a suspended account (isError: true) | The bare message, literal UTF-8, no prefix and no JSON | Show the text as is. |
A client that shows the raw MCP text instead of parsing it shows the escapes (acc\u00e8s) to the user.
Suspend a client
A sponsor can stop sponsoring a client at any time without touching the rest of the client's use of the platform.
# Suspend temporarily
curl -X POST https://api.alien.club/groups/72/suspension \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{ "kind": "temporary", "reason": "Invoice 2026-11 unpaid", "message": "Your access is paused until the November invoice is settled. Contact billing@your-company.example." }'
# Lift a temporary suspension
curl -X DELETE https://api.alien.club/groups/72/suspension \
-H "Authorization: Bearer $TOKEN"
| Kind | Effect |
|---|---|
temporary | Sponsored reads are refused until you lift the suspension with DELETE. Nothing else changes. |
permanent | Final. The group's sponsored access can never be restored: the sponsor creates a new group if the relationship resumes. |
- A temporary suspension can be upgraded to permanent. The reverse is refused with
409, and so is lifting a permanent suspension. - Suspending again with the same kind succeeds and keeps
suspendedAt. Amessagein the repeat replaces the current one. - Lifting a group that is not suspended also succeeds.
- Only sponsored groups can be suspended (
409otherwise). reasonis optional and kept in the audit log. It is not shown to the client.messageis optional, up to 500 characters, and is shown to the client instead of the default text. Omitted keeps the current message,nullclears it, and lifting the suspension clears it. Upgrading to permanent can set or change it.
Unless a message is set, a suspended client sees "Access to <sponsor> data through this subscription is suspended. Contact <sponsor>." A permanent suspension reads "... has ended. Contact <sponsor>." The group's suspendedAt, suspensionKind and suspensionMessage show the state.
To end a client's access altogether, remove it: detach its organization (DELETE /groups/{id}/organizations/{organization_id}) or delete the group. Its users lose the access immediately.
Refusals are free
A sponsored read refused for quota or suspension costs nobody anything: no fee for the sponsor, none for the client, and no cost envelope on the response. It is not counted against the quota and is listed in neither organization's consumption feed.
| Request | What the client gets |
|---|---|
| A single read (one dataset, one entry) | 402 Payment Required with the message above. |
| A search or batch across several datasets | The datasets it can read are served and charged as usual. Each refused dataset is left out and reported with the same message in the response's errors object, keyed by cluster:dataset. If nothing in the request can be served, the whole request is a 402 carrying the first refusal's message, and nothing is charged. |
| A dataset listing | A refused sponsored cluster is reported under its cluster id in errors. |
| An MCP tool call | The tool result has isError: true and its text carries the message: Error calling tool 'datacluster_get_entry_content': {"success": false, "error": "<message>"}, the JSON part with \uXXXX escapes (see Accented text). |
See Errors & Status Codes for how to tell these apart from other 402s.
The sponsor's consumption feed
The sponsor's consumption feed (GET /organizations/{organization_id}/consumption/events) lists its clients' sponsored calls together with its own, in one read and with one cursor. A sponsored event differs from a normal one:
- It carries a
sponsoredobject:{ "groupId", "groupName", "organizationId", "organizationName" }, naming the group and the client organization. user.idis a pseudonym (user-followed by ten hexadecimal characters) instead of a user id. It is stable for a given person and a given sponsor, so you can count distinct users, but it cannot be traced to a person and is different for every sponsor. The user's email and description arenull.- It never contains the content of the request: no query text, and
mcpSessionId,jobIdandentryRefsarenull. For a search across datasetsresultCountisnulltoo, anddatasetsanddataTokenscover only your own datasets, not the client's other ones.datasetslists the datasets present in the page of results the call returned, not every dataset searched: a search over two of your datasets whose returned hits all come from one lists that one only, and a search that returned nothing lists none. - Its
costis what the sponsor was charged, one platform fee. The client's side of the call has no cost. - A sponsored call that failed and was charged to nobody (see who pays) is listed too, with
success: falseandcost: []. To follow what you spend, add up thetotalof each event'scost, per currency: counting events would include those free failures.
Add sponsoredGroupId=72 to keep only the calls of one group, and resume the cursors of those reads with the same filter (see the cursor): a cursor from a sponsoredGroupId read continued without it does not list the calls it skipped, and lists your past compute charges again. The userId filter selects your own users, so it excludes sponsored events: use sponsoredGroupId to filter those. sponsored.groupName, .organizationId and .organizationName are null when the group or client organization no longer exists or the fee names none.
{
"id": "9120047",
"calledAt": "2026-11-12T09:14:03.221Z",
"kind": "cluster-data",
"action": "keyword-search",
"sourceType": "mcp",
"success": true,
"user": { "id": "user-3fa91c07be", "email": null, "description": null },
"sponsored": {
"groupId": 72,
"groupName": "Acme Publishing subscription",
"organizationId": 334,
"organizationName": "Acme Publishing"
},
"cost": [{ "currency": "EUR", "royalty": 0, "alienFee": 0.01, "total": 0.01 }]
}
The sponsor's own compute charges appear in the same feed as events of kind: "compute" (sponsored is null), and sponsoredGroupId leaves them out: see Reading Consumption per Account. The client organization's own feed is unchanged: a sponsored call appears there with an empty cost, sponsored: null, and the client's own user id and email.
The monthly statement
GET /groups/{id}/usage?month=YYYY-MM returns the statement of one sponsored group for a Paris calendar month (the current month when month is omitted). It needs an admin of the sponsor organization and the invoice:read ability, the same gate as the consumption feed. month must be a valid YYYY-MM (2026-13 is a 422). A group that is not sponsored answers 409.
curl "https://api.alien.club/groups/72/usage?month=2026-11" \
-H "Authorization: Bearer $TOKEN"
{
"success": true,
"data": {
"month": "2026-11",
"minUsersForPerUserRows": 3,
"group": {
"id": 72,
"name": "Acme Publishing subscription",
"monthlyQuota": 250,
"suspendedAt": null,
"suspensionKind": null
},
"totals": { "requests": 20750, "amount": 207.5, "currency": "EUR", "percentage": 83 },
"organizations": [
{
"organizationId": 334,
"organizationName": "Acme Publishing",
"requests": 20750,
"amount": 207.5,
"perUserHidden": null,
"users": [
{ "user": "user-3fa91c07be", "requests": 9310, "amount": 93.1 },
{ "user": "user-81c2d0aa94", "requests": 7440, "amount": 74.4 },
{ "user": "user-c5e7710b2d", "requests": 4000, "amount": 40 }
]
}
]
}
}
- Totals count the sponsored requests of the group and what they cost the sponsor.
percentageis the share of the quota, rounded to two decimals:nullwhen the group has no quota, and100when the quota is zero. - Per client organization, one row each.
organizationIdandorganizationNamearenullfor fees that name no client organization. - Per pseudonymized user inside each organization, to see how the subscription is used without seeing who uses it. The rows are shown only for an organization with at least
minUsersForPerUserRowsdistinct users that month (3 today). Below that, the organization carries its total only:perUserHiddenis"fewer-than-3-users"andusersis[](present and empty, not absent), so a single person cannot be identified.
Pseudonyms are keyed by a secret held by the platform. They are stable from one month to the next, but if the platform rotates that secret every pseudonym changes, so do not keep them as permanent identifiers.
The statement is built from the same ledger entries as the invoice, so the two agree.
What's Next
- Organization User Management: service accounts, tokens and suspension of individual users
- Cost Envelope: what each metered response reports
- Errors & Status Codes: the
402family - Manage Your Organization: roles and billing