Skip to content

CAP-PFM-LLM-017Show administrators their organization’s AI allowance

Markdown

CAP-PFM-LLM-017

Show administrators their organization’s AI allowance

Markdown
  • DocumentDraft
  • Product intentProposed
  • ImplementationPartially observed

KindCapabilityProduct areaPlatformModuleAI Requests, Usage and the Jazz AI TeammateRevision1

Read atservices-platform ad3f6a65react-console baf6dae3

The Formal Contract

The narrative above explains; the sections below are authoritative — the rules, scenarios and tests this document binds.

Outcomes
The summary describes the organization’s credit position.Availability entries explain feature restrictions.Organization-scoped datasets support request and task reporting.
Surfaces
consoleapi
Constraints
The summary services and reporting datasets exist; the planned customer page is absent.
Intent sources
services-platform:docs/proposals/llm-observability/11-decisions.md#D-2services-platform:docs/proposals/llm-observability/11-decisions.md#D-7services-platform:docs/milestones/PLAT-M3-ai-usage-organization-page.md#D-2 (proposal)

Controls

20 controls apply, from the corpus control catalogue.

TC-AVL-001 TC-AZ-001 TC-AZ-002 TC-AZ-003 TC-AZ-004 TC-LOG-001 TC-LOG-002 TC-LOG-003 TC-LOG-004 TC-LOG-005 TC-MON-001 TC-PI-001 TC-PI-003 TC-PI-005 TC-TEN-001 TC-TEN-002 TC-TEN-003 TC-VEN-001 TC-VEN-002 TC-VEN-003

Permissions

KeyChecked atScope
platform.llm-usage.readapitenant

Business Rules

9 rules, 9 to be proved before approval. A rule's product intent is derived from its origin: 0 confirmed by a product decision, the rest inheriting this capability's proposed.

IdRuleKindEnforced atProvenance
01must prove
Proposed
The customer usage routes admit only console users in the organization with its usage key, excluding unkeyed, anonymous, foreign-customer and HQ-only callers.
permissionapitest
services-platform:modules/llm/tests/e2e/llm-adjustments-and-organization.e2e.spec.js#is refused to Rhythm staff holding every HQ key, because the routes are console
02must prove
Proposed
The summary contains the current allowance, charged-plus-held usage, remaining credits, percentage, within or warned or limited status, local reset date and zone, AI switch, explanatory messages, six-month history and usage by feature.
calculationserviceobserved
03must prove
Proposed
Customer usage summaries expose credits and percentages while withholding money, providers, models, prices, capacity grants and internal limits.
policyservice, apitest
services-platform:modules/llm/tests/e2e/llm-adjustments-and-organization.e2e.spec.js#carries no key naming money, a provider, a model, an override or a limit on the summary
04must prove
Proposed
The feature list supplies labels, descriptions and availability; disabled AI or all disabled operations takes explanatory precedence over exhausted allowance.
policyserviceobserved
05must prove
Proposed
Active exemptions are ignored by the customer feature list, so it can label an operation restricted even though admission permits its request.
policyserviceobserved
06must prove
Proposed
Declared operations group under their catalog feature and undeclared historical operations group under Other AI features.
calculationserviceobserved
07must prove
Proposed
Customer usage reads stay within the organization’s own periods.
invariantservice, databasetest
08must prove
Proposed
The usage key also supports local request and task query recipes by period, feature, person and problem outcome; reporting excludes content, storage, refusal snapshots, raw usage and pricing versions and uses UTC reporting dates.
permissiondatabase, servicetest
services-platform:modules/llm/tests/integration/db/llm-invocations-query.view.integration.spec.js#offers none of the evidence, payload, refusal, usage or version columns
09must prove
Proposed
The product should provide the approved dashboard with credits, reset date, feature states, six-month history, pause explanation and request-history navigation without internal money, model or control detail.
policyconsoledocumented

Scenarios

IdGivenWhenThenProvenance
01The organization is near its allowance threshold.An administrator requests its summary.The response includes the credit position, warning status, local reset date and descending history.test
services-platform:modules/llm/tests/integration/services/usage/organization-usage.integration.spec.js#resets on the first of next month in the organization’s own calendar
02Rhythm disables the query operation.An administrator requests feature availability.The query feature carries the corresponding restriction explanation.test
services-platform:modules/llm/tests/integration/services/usage/organization-usage.integration.spec.js#restricts the feature, with the sentence, once its operation is turned off for the organization

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.