Reference
What the register holds and how its parts behave. People use the console; the same operations are under /api/v1 (see packages/contracts/openapi.json). Every request except the account routes names its workspace in the x-acp-workspace header.
The use-case card
One card per AI use case. Required: name, kind, provider, business unit, risk, purpose and the kinds of information it handles (which may be none).
| Field | Meaning |
|---|---|
name | What people call it. The id is derived from the name and never changes |
type | assistant (a licensed assistant), embedded_feature (AI inside an application), agent (acts on its own), custom_solution (built for you), public_tool (a public AI tool staff use) |
provider, product | Who it comes from, and which product it is part of |
businessUnitId | One of the business units in the organisation's settings |
ownerName, ownerEmail | The accountable person. The email address is what makes someone the owner in the register |
technicalContact | Who to ask about how it is set up |
risk | low, medium, high or critical, as judged by the organisation |
purpose, usedBy, limitations | What it is for, who uses it, and what it must not be used for |
dataCategories | Any of public, internal, confidential, financial, personal, health, children. The register holds these labels, never the information |
benefitMethod | How its value will be measured (a benefit type) |
recordUrl | A link to its record somewhere else, for example a provider's admin console |
tags | Free labels |
A card also has free-text notes. Cards are stored as versioned Markdown files (front matter plus notes) and can be exported one at a time (GET /use-cases/{id}/card) or with the whole workspace. Forms send the fields as JSON: POST /use-cases with { card, notes, alreadyInUse }; PUT /use-cases/{id} with { card, notes, expectedRevision }. The ids new and import are not available: the console has pages by those names.
Choosing the risk level
The form that adds or changes a use case asks five yes-or-no questions and suggests a level from the answers. The person still chooses the level; only the level is kept, not the answers.
| # | Question |
|---|---|
| 1 | Does it help decide something about a person, such as their care, education, job or money? |
| 2 | If it got something wrong and nobody noticed, could a person be harmed or a law be broken? |
| 3 | Does it act or send anything by itself, before a person has checked it? |
| 4 | Does it handle information about people, such as patients, residents, students, staff or customers? |
| 5 | Do people outside the organisation see or rely on what it produces? |
| Suggested | When |
|---|---|
| Critical | Yes to 2 and 3: a mistake could harm someone and nothing is checked first |
| High | Yes to 2; or yes to 1 and 3 |
| Medium | Any other yes |
| Low | No to all five |
Nothing is suggested until all five are answered. Question 4 starts as "yes" when the card's kinds of information include personal, health or children.
Importing a list from a spreadsheet
The IT lead can load up to 200 use cases at once (console: Use cases, then "Import from a spreadsheet"). The page gives a CSV template, reads a CSV file or rows pasted from a spreadsheet (commas, semicolons or tabs), shows each row with what is wrong with it, and adds nothing until the person presses Import. Workbook files (.xlsx) are not read: save as CSV, or copy and paste the rows.
Template headings: Name, Kind of AI, Provider, Product, Business unit, Owner, Owner email, Who uses it, What it is for, Information it handles, Risk, In use already, What it should not be used for, Notes. Name, Kind of AI, Provider, What it is for, Risk and In use already must be filled in on every row. Headings are matched whatever their case and order, and by common alternatives (for example "Department", "Vendor", "Description"). An empty Business unit means the organisation's only unit, or "Whole organisation" while it still has that unit. Rows whose name starts with "Example:" are the template's own and are left out.
POST /use-cases/import takes { useCases: [{ card, notes?, alreadyInUse? }], check? } with 1 to 200 rows and needs usecases.write for every use case, not only one's own. Every row is checked the way a single registration is, and also for an id or a name already in the register (retired entries aside) or earlier in the request, so loading the same file twice adds nothing. With check: true nothing is written and the reply is 200. Without it, if any row needs fixing nothing is written and the reply is 422 with the same body in error.details; otherwise each row is registered with its own useCase.register audit event (reason "imported from a spreadsheet") and the reply is 200:
{ "check": false, "total": 3, "imported": 3, "complete": true,
"rows": [{ "row": 1, "name": "Meeting notes", "useCaseId": "meeting-notes", "outcome": "imported", "issues": [] }] }
outcome is ready or needs_fixing after a check, and imported, failed or not_attempted after an import. If a write fails part-way, no further row is started, complete is false and each row says what became of it; rows already written stay, and sending the file again reports them as already in the register.
Lifecycle
| State | Meaning | How it gets there |
|---|---|---|
idea | Proposed | Registering without "already in use" |
assessed | Someone has looked at what it is for, what it handles and its risk | assess |
approved | Every required role has signed | The last sign-off on an approval request |
live | In use | go-live; or registering with "already in use" |
paused | Recorded as switched off, with a reason | pause; resume returns it to live |
retired | No longer used; history kept | retire |
POST /pauses pauses every live use case of one business unit or one provider. review records that the entry is still accurate. None of these steps acts on the tool itself (see coverage).
Each entry also shows its approval status, its flags (rules it breaks) and whether it is due for review. The approval status is none, pending, approved, rejected or lapsed. An approval lapses when the card is later changed to a higher risk, or to handle information about people when it did not: an approved use case that is not yet live goes back to assessed, one in use stays in use and is flagged, and either needs approving again. Any other change leaves the approval standing (approvalCurrent is then false).
Rules
A workspace switches these on or off (GET/PUT /rules). A change is audited.
| Rule | Default | Kind | Effect |
|---|---|---|---|
| Every use case has a named owner | On | Applied here | Cannot be assessed without an owner's email address; entries without one are flagged |
| Approval before going live | On | Applied here | Only an approved use case can go live; one already in use without approval is flagged |
| Nobody approves their own request | On | Applied here | The person who asked cannot sign |
| Compliance signs off high-risk use cases | On | Applied here | High and critical risk need the Compliance lead's sign-off |
| Compliance signs off use of information about people | On | Applied here | Personal, health or children's information needs the Compliance lead's sign-off |
| The Chief executive signs off critical-risk use cases | On | Applied here | Critical risk also needs the Chief executive |
| Finance signs off every use case | Off | Applied here | Every approval also needs the Finance lead |
| Benefits are validated by someone else | On | Applied here | The person who entered a benefit cannot validate it or confirm it as realised |
| Owners confirm each entry every six months | On | Applied here | An entry nobody has confirmed or changed for six months is shown as due for review |
| No information about people in public AI tools | On | Declared policy | A public tool recorded with personal, health or children's information is flagged. Nothing is stopped |
"Applied here" means inside this register. A step stopped by a rule answers 409 rule_blocked (or 403 self_approval_forbidden) with the rule's id.
Approvals
POST /use-cases/{id}/approvals asks for a use case to be approved (kind: use_case, for an assessed use case or one already in use) or to be excused from a rule (kind: exception, ruleId; only the public-tools rule allows exceptions, and the Compliance lead decides). The request lists the roles that must sign. POST /approvals/{id}/decide with approve or reject (a rejection needs a reason) signs every open line for a role the person holds. When the last line is signed, the request is approved and an assessed use case becomes approved. The card cannot be changed while a request is open; the person who asked can withdraw it. An approved exception leaves the flag visible, marked as excused.
Roles
| Role | Can |
|---|---|
Chief executive (ceo) | See the Chief executive's view; sign approvals |
Finance lead (cfo) | Set budgets; record cost and usage; validate benefits; see the Finance view; sign approvals |
IT lead (cto) | Register, change, assess, mark live, pause, retire; record cost and usage; see the IT view; read the audit trail; sign approvals |
Compliance lead (compliance) | Switch rules; assess; pause; see the Compliance view; read the audit trail; sign approvals |
Use-case owner (owner) | For use cases that name their email address: change the card, mark live, pause, record cost and usage, enter benefits, ask for approval. Can propose a new use case that names them as owner |
Administrator (administrator) | Manage people, roles and invitations; change organisation details; export or delete the workspace; read the audit trail |
Everyone can read the register, approvals, rules, budgets and figures. Roles are fixed; a workspace assigns them. The last administrator cannot be removed.
Cost and usage
PUT /use-cases/{id}/activity/{month} records one month (YYYY-MM, not in the future, at most 24 months back): uses, activeUsers (optional), costMicros, a source (manual or import) and a note saying where the figure came from. Entering a month again corrects it; the audit trail keeps the earlier figures. GET /activity?month= lists one month across the register.
Money is an integer in millionths of the workspace's currency: 1250000000 is 1,250.00.
Budgets
GET/PUT /budgets: a monthly limit for the organisation, a default for each use case and specific limits per use case, compared with the cost recorded for the current month. A limit of 0 means none has been set. The alert threshold (80% by default) is where the console starts to warn.
Benefits
An owner enters a claim (POST /use-cases/{id}/benefits): type, period, quantity, unit and unit value, evidence, assumptions and a reference that identifies the claim so it cannot be entered twice. Types: realised_cost_saving, avoided_cost, revenue_uplift (recorded margin-adjusted), capacity_released, working_capital, quality, risk. Capacity, quality, risk and working-capital benefits are not money unless Finance converts them when validating. Finance validates (approve, reject, request_correction) and can later mark a validated benefit as realised. A corrected claim replaces the returned one and keeps its reference; earlier versions and decisions are kept.
The four views and their metrics
GET /dashboards/{ceo|cfo|cto|compliance}?period= returns one view; the period is one of this_month, last_month, last_3_months, last_6_months (default), last_12_months, year_to_date, in whole UTC months. GET /metrics/{metric}?groupBy= breaks one metric down by month, use case, business unit, provider, kind or risk where that makes sense, and GET /metrics-export?dashboard= returns a view as CSV.
| Metric | Definition |
|---|---|
| Use cases, Live, In the pipeline, Paused | Counts of entries that are not retired, by state |
| Without a named owner | Entries with no owner email address |
| Live without approval | In use, with no approval recorded here or with one that has lapsed |
| Awaiting approval | With an open approval request |
| High or critical risk; Handling information about people | Counts from the cards |
| Flagged by a rule | Breaking a switched-on rule, with no approved exception |
| Due for review | Not confirmed or changed within six months |
| Connected coverage | Entries read from or controlled at their provider / all entries. 0% today |
| Uses, AI cost | Sums of the recorded monthly figures. A use case retired since still counts for the months it has figures, in the total and in every breakdown |
| People using AI | People reported for each use case in its latest recorded month, added up. Someone using two counts twice |
| Cost per use | Recorded cost / recorded uses |
| Budget used this month; Over budget this month | Recorded cost for the current month against the limit |
| Claimed, Validated, Realised benefit | Monetary benefits by state. A benefit counts in the month its period starts |
| Capacity released (hours) | Validated capacity released; not money unless converted |
| Net benefit; Return on AI cost | Validated benefit minus recorded cost; that as a percentage of cost. N/A without both |
A figure that cannot be computed is shown as N/A, never as zero.
Workspaces, people and invitations
| Operation | Route |
|---|---|
| Who am I, my workspaces, invitations waiting for me | GET /me |
| Create a workspace (name, currency) | POST /workspaces |
| Accept or decline an invitation | POST /invitations/{id}/accept, /decline |
| Workspace details and setup checklist | GET /workspace |
| Organisation name, currency, business units | PUT /organisation |
| People and their roles | GET /members, PUT/DELETE /members/{userId} |
| Invite by email address, list, revoke | POST/GET /invitations, DELETE /invitations/{id} |
| Export everything | GET /workspace/export |
| Delete the workspace | DELETE /workspace (the name must be typed) |
An invitation is not emailed: the colleague sees it after signing in with that verified address. It lapses after 30 days. The currency cannot be changed once costs or benefits have been recorded. Limits: 1,000 use cases, 200 members and 100 open invitations per workspace; a person can create or administer 3 workspaces.
Audit
GET /audit?from=&to=&useCaseId=&action= lists events newest first (who, what, when, outcome, reason, and the card or settings hash before and after); GET /audit-export returns CSV. Events are append-only.
Docs version: e139b94b1d65 · Source: docs/reference.md · Edit on GitHub