---
title: "General REST and MCP reference"
description: "Every action you can call on the root domain over REST or MCP, generated from the action catalog."
url: "https://harnesty.com/en/docs/api-reference"
language: "en"
kind: "docs"
---

# General REST and MCP reference

## `audit.keys@v1`

Returns the root key document for this environment: every root public key version ever published, with its state and the day it took that state. Pin a copy and the offline verifier checks each key certificate against it, with no call to us. The list is a preview, so fetch every page of audit.root.keys@v1 and assemble the pin before you rely on it. This environment does not serve the document yet, so the read answers HTTP status 503 with the code errors.audit.root-key-document-unserved.

- **REST:** `GET /api/v1/audit/keys`
- **MCP tool:** `audit_keys`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `roots: object`

**Free:** Checking our record against us is never a paid feature — the keys that make it possible are free to read, with no account.

## `audit.root.keys@v1`

Lists every root key version of the root key document, one page at a time in version order. A version is never removed, so the pages you assemble name every key that was ever valid. This environment does not serve the document yet, so the read answers HTTP status 503 with the code errors.audit.root-key-document-unserved.

- **REST:** `GET /api/v1/audit/root/keys`
- **MCP tool:** `audit_root_keys`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Reading the root keys never consumes a Credit.

## `auth.signin.request@v1`

**Deprecated**

Emails a sign-in link to the address you give. You get the same answer whether or not we hold that address, so the answer never tells anyone who has an account.

- **REST:** `POST /api/v1/auth/signin/request`
- **MCP tool:** `auth_signin_request_v1`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `address: string`, `formLocale: string`
- **Output:** `host: string`

## `auth.signin.request@v2`

Emails a sign-in link to the address you give, and can bring you back to a page of this site once you sign in. You get the same answer whether or not we hold that address, so the answer never tells anyone who has an account.

- **REST:** `POST /api/v2/auth/signin/request`
- **MCP tool:** `auth_signin_request`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `address: string`, `formLocale: string`, `returnPath: string | null` (optional)
- **Output:** `host: string`

## `auth.signin.verify@v1`

Checks the sign-in link we emailed you and spends it, so a link works once, on any device, until it expires.

- **REST:** `POST /api/v1/auth/signin/verify`
- **MCP tool:** `auth_signin_verify`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `token: string`
- **Output:** `entryGrant: string | null` (optional), `host: string`, `landing: string | null` (optional), `returnPath: string | null` (optional)

## `billing.anchor.begin@v1`

Starts adding a payment method: it creates your billing record and opens a secure form to save a card. Nothing is charged, and the card details go straight to our payment provider — they never reach us.

- **REST:** `POST /api/v1/billing/anchor/begin`
- **MCP tool:** `billing_anchor_begin`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `addressCity: string | null` (optional), `addressCountry: string`, `addressLine1: string | null` (optional), `addressLine2: string | null` (optional), `addressPostalCode: string | null` (optional), `addressState: string | null` (optional), `legalName: string`, `taxIdentifier: string | null` (optional)
- **Output:** `billingIdentity: string`, `clientToken: string`, `publishableKey: string`, `setup: string`

**Free:** Adding a payment method costs you nothing. $0 now, and nothing is charged without your action or your configured auto top-up.

## `billing.anchor.complete@v1`

Finishes adding a payment method once the form has saved the card, and makes it the one you are billed from. It returns the reference you create a Workspace with.

- **REST:** `POST /api/v1/billing/anchor/complete`
- **MCP tool:** `billing_anchor_complete`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `billingIdentity: string`, `setup: string`
- **Output:** `anchorReference: string`, `brand: string`, `expiryMonth: integer`, `expiryYear: integer`, `lastFour: string`

**Free:** Saving the card costs you nothing. The first charge happens when you buy Credits or start a paid plan, and never here.

## `billing.anchor.key@v1`

Reads the payment provider's public key, so the card form can load before you save anything. It creates nothing and names no person.

- **REST:** `GET /api/v1/billing/anchor/key`
- **MCP tool:** `billing_anchor_key`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `publishableKey: string`

**Free:** Reading the public key costs you nothing, and no Workspace exists yet to charge.

## `billing.operator.entitlement.backfill@v1`

Writes one entitlement key onto every Workspace row homed in this region that lacks it, at the value its plan carries. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/billing/operator/entitlement/backfill`
- **MCP tool:** `billing_operator_entitlement_backfill`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `key: string`
- **Output:** `submitted: integer`

## `billing.operator.entitlement.migrate@v1`

Moves one entitlement key on every Workspace row homed in this region to the value its plan now carries, and names each row a rule keeps. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/billing/operator/entitlement/migrate`
- **MCP tool:** `billing_operator_entitlement_migrate`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `key: string`
- **Output:** `excluded: integer`, `submitted: integer`

## `billing.operator.free.cap.set@v1`

Raises or clears the Free cap of one holder: a Business Manager account, or the cards of a billing identity that no account holds. Only a Harnesty estate operator can run it, after a customer asks support for a higher cap. A holder's cap is the larger of the raised cap and the default it qualifies for, so the act never lowers a cap.

- **REST:** `POST /api/v1/billing/operator/free/cap/set`
- **MCP tool:** `billing_operator_free_cap_set`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string | null` (optional), `cap: integer | null` (optional), `identity: string | null` (optional)
- **Output:** `rows: array`

## `billing.operator.plan.backfill@v1`

Joins every ready Workspace homed in this region to its plan: it opens the subscription and writes the first credit grant where either is missing. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/billing/operator/plan/backfill`
- **MCP tool:** `billing_operator_plan_backfill`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** None
- **Output:** `submitted: integer`

## `billing.operator.retention.set@v1`

Sets the audit log retention window a customer agreed for one Workspace. A window only gets longer. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/billing/operator/retention/set`
- **MCP tool:** `billing_operator_retention_set`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `unlimited: boolean`, `window: string | null` (optional), `workspaceId: string`
- **Output:** `operationId: string`

## `billing.plan.catalog@v1`

Lists every plan with its monthly price, the Credits it grants each month and what it unlocks, with the price of a Credit and the terms of a top-up. It reads our published price list, so it names no Workspace and no person.

- **REST:** `GET /api/v1/billing/plan/catalog`
- **MCP tool:** `billing_plan_catalog`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `asOf: string`, `credit: object`, `currency: string`, `tiers: array`, `topup: object`

**Free:** Reading our price list is free, so you can compare the plans before you choose one.

## `billing.provider.event@v1`

Receives one report from our payment provider — an invoice paid, a charge refused, an invoice that could not be finalized, or a charge that needs you to confirm it — checks its signature, and records it once.

- **REST:** `POST /api/v1/billing/provider/event`
- **MCP tool:** `billing_provider_event`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `body: string`, `signature: string`
- **Output:** `recorded: boolean`

**Free:** A report from the payment provider is not something you do, so it costs you nothing.

## `business.accrual.list@v1`

Lists the partner's share of each invoice paid in a time window, and each deduction taken back from a share, oldest first, with the net total of the whole window. Only an account owner or a Harnesty estate operator can see the list.

- **REST:** `GET /api/v1/business/accrual/list`
- **MCP tool:** `business_accrual_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `account: string`, `after: string | null` (optional), `from: string`, `limit: integer | null` (optional), `to: string`
- **Output:** `currency: string`, `items: array`, `next: string | null` (optional), `sumCents: integer`

## `business.agency.set@v1`

Makes a Business Manager account an agency, or ends it. Only an owner of the account can run it, and to make the account an agency, one of its billing entities needs a valid saved card.

- **REST:** `POST /api/v1/business/agency/set`
- **MCP tool:** `business_agency_set`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `agency: boolean`
- **Output:** `account: string`, `agency: boolean`

## `business.code.generate@v1`

Creates a single-use code for one client Workspace, tied to this account. A billing code also names one of its billing entities, and an attribution code names none. It stops working when you revoke it, when it expires, or when the person who created it is removed from the account.

- **REST:** `POST /api/v1/business/code/generate`
- **MCP tool:** `business_code_generate`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `entity: string | null` (optional), `mode: string | null` (optional), `tags: array`
- **Output:** `code: string`, `expiresAt: string`, `mode: string`, `value: string`

## `business.code.list@v1`

Lists the account's linking codes, newest first, with the state of each. A code itself is never shown again after it is created.

- **REST:** `GET /api/v1/business/code/list`
- **MCP tool:** `business_code_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `account: string`, `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `business.code.revoke@v1`

Revokes a linking code, so nobody can use it. A code a Workspace has already used cannot be revoked.

- **REST:** `POST /api/v1/business/code/revoke`
- **MCP tool:** `business_code_revoke`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `code: string`
- **Output:** `code: string`, `state: string`

## `business.create@v1`

Creates a Business Manager: the account you invoice your client Workspaces through. You become its first owner.

- **REST:** `POST /api/v1/business/create`
- **MCP tool:** `business_create`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `name: string`
- **Output:** `account: string`, `name: string`

## `business.entity.add@v1`

Adds a billing entity: a legal name and address your client Workspaces can be invoiced under. We check that tax can be worked out for the address before anything is saved.

- **REST:** `POST /api/v1/business/entity/add`
- **MCP tool:** `business_entity_add`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `address: object`, `legalName: string`, `taxId: string | null` (optional)
- **Output:** `entity: string`

## `business.get@v1`

Reads one Business Manager account: who can manage it, its billing entities, and the payment methods each one holds.

- **REST:** `GET /api/v1/business/get`
- **MCP tool:** `business_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `account: string`
- **Output:** `account: string`, `agency: boolean`, `contract: object | null` (optional), `entities: object`, `level: string | null` (optional), `members: object`, `name: string`, `partner: boolean`, `partnerRequestOpensAt: string | null` (optional), `partnerRequestedAt: string | null` (optional), `shareBasisPoints: integer`, `shareEffectiveFrom: string | null` (optional)

## `business.invoice.list@v1`

Lists every invoice of the account's billing entities, newest first: each Workspace's plan invoice, every Credit top-up and every custom charge, with the Workspace it bills and a link to the invoice document.

- **REST:** `GET /api/v1/business/invoice/list`
- **MCP tool:** `business_invoice_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `account: string`, `after: string | null` (optional), `from: string | null` (optional), `limit: integer | null` (optional), `to: string | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `business.link.close@v1`

Closes a link, so the Workspace is billed to its own card again. The link stays on record as closed. Only an owner of the account can run it.

- **REST:** `POST /api/v1/business/link/close`
- **MCP tool:** `business_link_close`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `link: string`
- **Output:** `closedAt: string | null` (optional), `entity: string | null` (optional), `link: string`, `mode: string`, `state: string`

## `business.link.list@v1`

Lists the account's linked Workspaces, newest link first, with the billing entity, the tags and the state of each link.

- **REST:** `GET /api/v1/business/link/list`
- **MCP tool:** `business_link_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `account: string`, `after: string | null` (optional), `limit: integer | null` (optional), `state: string | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `business.link.update@v1`

Moves a linked Workspace to another billing entity of the same account. No new code is needed, because the Workspace agreed to bill through this account. Only an owner of the account can run it.

- **REST:** `POST /api/v1/business/link/update`
- **MCP tool:** `business_link_update`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `entity: string`, `link: string`
- **Output:** `closedAt: string | null` (optional), `entity: string | null` (optional), `link: string`, `mode: string`, `state: string`

## `business.list@v1`

Lists the Business Manager accounts you are on, newest first, with your role on each.

- **REST:** `GET /api/v1/business/list`
- **MCP tool:** `business_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `business.member.add@v1`

Gives a person a role on the account, or changes the role they hold. Only an owner can do this, and the account always keeps at least one owner.

- **REST:** `POST /api/v1/business/member/add`
- **MCP tool:** `business_member_add`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `role: string`, `user: string`
- **Output:** `role: string`, `user: string`

## `business.member.remove@v1`

Takes a person's access to the account away, and every unused code they created stops working. Only an owner can do this, and the last owner cannot be removed.

- **REST:** `POST /api/v1/business/member/remove`
- **MCP tool:** `business_member_remove`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `user: string`
- **Output:** `user: string`

## `business.method.begin@v1`

Starts adding a payment method to a billing entity, and returns the token the secure card form needs. Nothing is charged, and the card details go straight to our payment provider — they never reach us.

- **REST:** `POST /api/v1/business/method/begin`
- **MCP tool:** `business_method_begin`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `entity: string`
- **Output:** `clientToken: string`, `setup: string`

## `business.method.complete@v1`

Finishes adding a payment method once the form has saved the card, and makes it the one the entity is billed from.

- **REST:** `POST /api/v1/business/method/complete`
- **MCP tool:** `business_method_complete`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `entity: string`, `setup: string`
- **Output:** `brand: string`, `expMonth: integer`, `expYear: integer`, `last4: string`, `method: string`, `primary: boolean`

## `business.method.primary@v1`

Makes another saved card the one a billing entity is billed from. Every Workspace linked to the entity is billed from it from now on.

- **REST:** `POST /api/v1/business/method/primary`
- **MCP tool:** `business_method_primary`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `entity: string`, `method: string`
- **Output:** `brand: string`, `expMonth: integer`, `expYear: integer`, `last4: string`, `method: string`, `primary: boolean`

## `business.operator.partner.document.get@v1`

Reads one partner document of the account in any state, with who filed and withdrew it. Only a Harnesty estate operator can run it.

- **REST:** `GET /api/v1/business/operator/partner/document/get`
- **MCP tool:** `business_operator_partner_document_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `account: string`, `document: string`
- **Output:** `contractStartsOn: string`, `document: string`, `file: string`, `fileName: string`, `filedAt: string`, `filedBy: string`, `kind: string`, `mediaType: string`, `sha256: string`, `signedOn: string`, `sizeBytes: integer`, `state: string`, `supersedes: string | null` (optional), `title: string`, `withdrawnAt: string | null` (optional), `withdrawnBy: string | null` (optional), `withdrawnReason: string | null` (optional)

## `business.operator.partner.document.list@v1`

Lists every partner document of the account in any state, with who filed and withdrew each one. Only a Harnesty estate operator can run it.

- **REST:** `GET /api/v1/business/operator/partner/document/list`
- **MCP tool:** `business_operator_partner_document_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `account: string`, `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `business.partner.contract.end@v1`

**Deprecated**

Ends a partner contract now, with or without a notice. Use it where the contract ends at once, such as a partner's termination on an adverse change or for a material breach by Harnesty. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/contract/end`
- **MCP tool:** `business_partner_contract_end_v1`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `reason: string`
- **Output:** `endReason: string | null` (optional), `endsAt: string | null` (optional), `extendedTailMonths: integer`, `noticeMonthsByContractYear: array`, `noticeOn: string | null` (optional), `payoutDayOfMonth: integer`, `startsOn: string`, `state: string`, `tailEndsAt: string | null` (optional), `tailMonths: integer`

## `business.partner.contract.end@v2`

Ends a partner contract, with or without a notice. Name the last day the contract stands, and it ends at 00:00 UTC of the next day. Leave the last day out, and it ends now. Use it where the partner rejects a change and names the last day of the contract. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v2/business/partner/contract/end`
- **MCP tool:** `business_partner_contract_end`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `lastDay: string | null` (optional), `reason: string`
- **Output:** `endReason: string | null` (optional), `endsAt: string | null` (optional), `extendedTailMonths: integer`, `noticeMonthsByContractYear: array`, `noticeOn: string | null` (optional), `payoutDayOfMonth: integer`, `startsOn: string`, `state: string`, `tailEndsAt: string | null` (optional), `tailMonths: integer`

## `business.partner.contract.forfeit@v1`

Ends a partner contract now, with or without a notice, where Harnesty terminates it under clause 13.3 or 13.7 for the partner's breach and the partner forfeits the tail. The tail ends when the contract ends, so no Workspace earns the partner's share after it, except as mandatory law provides. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/contract/forfeit`
- **MCP tool:** `business_partner_contract_forfeit`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`
- **Output:** `endReason: string | null` (optional), `endsAt: string | null` (optional), `extendedTailMonths: integer`, `noticeMonthsByContractYear: array`, `noticeOn: string | null` (optional), `payoutDayOfMonth: integer`, `startsOn: string`, `state: string`, `tailEndsAt: string | null` (optional), `tailMonths: integer`

## `business.partner.contract.notice@v1`

Records notice on a partner contract. The contract ends at the end of the calendar month in which the notice period runs out, and the period grows with the contract year. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/contract/notice`
- **MCP tool:** `business_partner_contract_notice`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `noticeOn: string`, `reason: string`
- **Output:** `endReason: string | null` (optional), `endsAt: string | null` (optional), `extendedTailMonths: integer`, `noticeMonthsByContractYear: array`, `noticeOn: string | null` (optional), `payoutDayOfMonth: integer`, `startsOn: string`, `state: string`, `tailEndsAt: string | null` (optional), `tailMonths: integer`

## `business.partner.contract.start@v1`

Starts a partner contract on a partner account. It copies the current contract terms, the payout day and the Annex 1 values, and later changes to those defaults never move a signed contract. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/contract/start`
- **MCP tool:** `business_partner_contract_start`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `startsOn: string`
- **Output:** `endReason: string | null` (optional), `endsAt: string | null` (optional), `extendedTailMonths: integer`, `noticeMonthsByContractYear: array`, `noticeOn: string | null` (optional), `payoutDayOfMonth: integer`, `startsOn: string`, `state: string`, `tailEndsAt: string | null` (optional), `tailMonths: integer`

## `business.partner.document.file@v1`

Files a signed partner document on a partner account and reserves its PDF. The document stays pending until the PDF arrives. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/document/file`
- **MCP tool:** `business_partner_document_file`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `contractStartsOn: string`, `fileName: string`, `kind: string`, `sha256: string`, `signedOn: string`, `sizeBytes: integer`, `supersedes: string | null` (optional), `title: string`
- **Output:** `contractStartsOn: string`, `document: string`, `file: string`, `fileName: string`, `filedAt: string`, `filedBy: string`, `kind: string`, `mediaType: string`, `sha256: string`, `signedOn: string`, `sizeBytes: integer`, `state: string`, `supersedes: string | null` (optional), `title: string`, `withdrawnAt: string | null` (optional), `withdrawnBy: string | null` (optional), `withdrawnReason: string | null` (optional)

## `business.partner.document.get@v1`

Reads one signed partner document of the account. Only an owner of the account can see it.

- **REST:** `GET /api/v1/business/partner/document/get`
- **MCP tool:** `business_partner_document_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `account: string`, `document: string`
- **Output:** `contractStartsOn: string`, `document: string`, `fileName: string`, `filedAt: string`, `kind: string`, `mediaType: string`, `sha256: string`, `signedOn: string`, `sizeBytes: integer`, `state: string`, `supersedes: string | null` (optional), `title: string`

## `business.partner.document.list@v1`

Lists the signed partner documents of the account, newest contract first, including the ones a later document replaces. Only an owner of the account can see them.

- **REST:** `GET /api/v1/business/partner/document/list`
- **MCP tool:** `business_partner_document_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `account: string`, `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `business.partner.document.withdraw@v1`

Withdraws a partner document filed on the wrong account or with the wrong file. The account no longer sees it, and nothing is deleted. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/document/withdraw`
- **MCP tool:** `business_partner_document_withdraw`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `document: string`, `reason: string`
- **Output:** `contractStartsOn: string`, `document: string`, `file: string`, `fileName: string`, `filedAt: string`, `filedBy: string`, `kind: string`, `mediaType: string`, `sha256: string`, `signedOn: string`, `sizeBytes: integer`, `state: string`, `supersedes: string | null` (optional), `title: string`, `withdrawnAt: string | null` (optional), `withdrawnBy: string | null` (optional), `withdrawnReason: string | null` (optional)

## `business.partner.fact.erase@v1`

Erases the words that name a person in a partner fact, when they ask us to remove them. The fact stops counting, and past counts stay as they were. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/fact/erase`
- **MCP tool:** `business_partner_fact_erase`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `fact: string`
- **Output:** `fact: string`, `kind: string`, `label: string`, `recordedAt: string`, `reference: string | null` (optional), `user: string | null` (optional), `withdrawnAt: string | null` (optional)

## `business.partner.fact.list@v1`

Lists the partner facts Harnesty holds about the account, oldest first, including the ones that no longer count. Only an owner of the account and a Harnesty estate operator can see them.

- **REST:** `GET /api/v1/business/partner/fact/list`
- **MCP tool:** `business_partner_fact_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `account: string`, `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `business.partner.fact.record@v1`

Records a trained consultant or a joint case study on a partner account, for the Partner Levels. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/fact/record`
- **MCP tool:** `business_partner_fact_record`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `kind: string`, `label: string`, `reference: string | null` (optional), `user: string | null` (optional)
- **Output:** `fact: string`, `kind: string`, `label: string`, `recordedAt: string`, `reference: string | null` (optional), `user: string | null` (optional), `withdrawnAt: string | null` (optional)

## `business.partner.fact.withdraw@v1`

Withdraws a partner fact that is no longer true. It stops counting from now on, and past counts stay as they were. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/fact/withdraw`
- **MCP tool:** `business_partner_fact_withdraw`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `fact: string`, `reason: string`
- **Output:** `fact: string`, `kind: string`, `label: string`, `recordedAt: string`, `reference: string | null` (optional), `user: string | null` (optional), `withdrawnAt: string | null` (optional)

## `business.partner.level.set@v1`

Sets the level of a partner account by hand, with a reason, and adds a dated share at that level. The next quarterly review starts from it. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/level/set`
- **MCP tool:** `business_partner_level_set`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `level: string`, `reason: string`, `shareBasisPoints: integer | null` (optional)
- **Output:** `account: string`, `effectiveFrom: string`, `level: string`, `partner: boolean`, `share: string`, `shareBasisPoints: integer`

## `business.partner.mark.record@v1`

Records that Harnesty consents to a partner's direct-payment Workspace, or that a Workspace is the partner's own. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/mark/record`
- **MCP tool:** `business_partner_mark_record`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `kind: string`, `reference: string`, `workspace: string`
- **Output:** `account: string`, `kind: string`, `mark: string | null` (optional), `recordedAt: string | null` (optional), `withdrawnAt: string | null` (optional), `workspace: string`

## `business.partner.mark.withdraw@v1`

Withdraws a partner's Workspace mark of one kind. If no such mark is in force, nothing changes. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/mark/withdraw`
- **MCP tool:** `business_partner_mark_withdraw`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `kind: string`, `workspace: string`
- **Output:** `account: string`, `kind: string`, `mark: string | null` (optional), `recordedAt: string | null` (optional), `withdrawnAt: string | null` (optional), `workspace: string`

## `business.partner.request@v1`

Asks for a Business Manager account to become a partner. Only an owner of the account can run it. It sends one request to our support team and an acknowledgement to you, and a person replies by email. You can ask again once the waiting time after your last request ends.

- **REST:** `POST /api/v1/business/partner/request`
- **MCP tool:** `business_partner_request`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `message: string | null` (optional)
- **Output:** `partnerRequestedAt: string`, `reference: string`

## `business.partner.set@v1`

Marks a Business Manager account as a partner and sets its share. Only a Harnesty estate operator can run it.

- **REST:** `POST /api/v1/business/partner/set`
- **MCP tool:** `business_partner_set`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `account: string`, `partner: boolean`, `reason: string | null` (optional), `shareBasisPoints: integer`
- **Output:** `account: string`, `partner: boolean`, `shareBasisPoints: integer`

## `business.statement.get@v1`

Shows what each Workspace billed through the account consumed over a period of whole UTC days, one row per link, per billing entity or per tag. A Workspace linked by attribution keeps its own billing, so it has no row here.

- **REST:** `GET /api/v1/business/statement/get`
- **MCP tool:** `business_statement_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `account: string`, `after: string | null` (optional), `from: string`, `groupBy: string | null` (optional), `limit: integer | null` (optional), `to: string`
- **Output:** `currentAt: string | null` (optional), `items: array`, `next: string | null` (optional)

## `contact.request@v1`

Sends a message to the team the purpose names, and sends you an acknowledgement with its reference. A person answers from that inbox by email.

- **REST:** `POST /api/v1/contact/request`
- **MCP tool:** `contact_request`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `company: string | null` (optional), `concerns: string | null` (optional), `email: string`, `invoiceReference: string | null` (optional), `message: string`, `name: string`, `pagePath: string | null` (optional), `prefilledUserId: string | null` (optional), `purpose: string`, `readerLocale: string`, `sessionContext: boolean | null` (optional), `subject: string`, `teamSize: string | null` (optional), `workspaceSlug: string | null` (optional)
- **Output:** `reference: string`

**Free:** Writing to us costs you nothing, on every plan.

## `idp.token@v1`

Answers a token request. A client asks for an access token at /oauth2/token on the issuer host, and Harnesty checks the client's proof, finds the registration that binds it in your Workspace, and issues a token for the Principal that registration names. A client-credentials client signs a client assertion with its registered key, so it never sends a secret, and it gets no refresh credential. Each issued token carries the caller class of the registration that authenticated the client.

- **REST:** `POST /api/v1/idp/token`
- **MCP tool:** `idp_token`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `clientAssertion: string | null` (optional), `clientAssertionType: string | null` (optional), `clientId: string | null` (optional), `grantType: string | null` (optional), `resource: string | null` (optional), `scope: string | null` (optional)
- **Output:** `accessToken: string`, `expiresIn: integer`, `scope: string`, `tokenType: string`

**Free:** Asking for a token is never metered. Each token request costs zero Credits on every tier.

## `integration.get@v1`

Reads one integration by its id. A deprecated or withdrawn integration still answers, with the one to use instead.

- **REST:** `GET /api/v1/integration/get`
- **MCP tool:** `integration_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `id: string`
- **Output:** `category: string`, `connectMethod: string`, `credentialFields: array | null` (optional), `deprecatedAt: string | null` (optional), `description: string | null` (optional), `displayName: string`, `firstSeenAt: string`, `id: string`, `kind: string`, `operations: array`, `pricePerCall: integer`, `reason: string | null` (optional), `state: string`, `successor: string | null` (optional), `withdrawnAt: string | null` (optional)

**Free:** Reading an integration never consumes a Credit.

## `integration.list@v1`

Lists every integration Harnesty has ever listed, one page at a time in id order, with its current state. A withdrawn integration stays on the list and names the one to use instead.

- **REST:** `GET /api/v1/integration/list`
- **MCP tool:** `integration_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `category: string | null` (optional), `connectMethod: string | null` (optional), `kind: string | null` (optional), `limit: integer | null` (optional), `state: string | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Browsing the integrations never consumes a Credit.

## `issuer.jwks.get@v1`

Returns the JSON Web Key Set of this environment: the public signing key of each Workspace's issuer, each under its own key id. A credential signed with a Workspace's issuer key names that key id in its header, so a relying party verifies the credential against the key the set holds under that id, with no account. A revoked key, and a key past its retirement, leave the set. The same document is served at /.well-known/jwks.json with the media type application/jwk-set+json.

- **REST:** `GET /api/v1/issuer/jwks/get`
- **MCP tool:** `issuer_jwks_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `document: string`

## `marketing.capture.confirm@v1`

Confirms a sign-up for our emails from the link in the confirmation message, and turns on each kind of email the sign-up asked for.

- **REST:** `POST /api/v1/marketing/capture/confirm`
- **MCP tool:** `marketing_capture_confirm`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `token: string`
- **Output:** `outcome: string`

**Free:** Confirming a sign-up for our emails costs you nothing, on every plan.

## `marketing.capture.submit@v1`

Signs you up for the kinds of email a form offers. When you are signed in, we use the address on your account. When you are not, we send a message that asks you to confirm the address first.

- **REST:** `POST /api/v1/marketing/capture/submit`
- **MCP tool:** `marketing_capture_submit`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `accepted: array`, `address: string | null` (optional), `channel: string`, `declined: array`, `point: string`, `readerLocale: string`, `source: string | null` (optional)
- **Output:** `outcome: string`

**Free:** Signing up for our emails costs you nothing, on every plan.

## `member.invitation.accept@v1`

Joins the Workspace an invitation names, with the role the invitation carries. Sign in, or send the one-time pass your sign-in link gave you: the join spends it and signs you in. An invitation that is no longer open, or that expired, is refused and nothing changes. A Workspace in maintenance is refused too, and the invitation keeps waiting.

- **REST:** `POST /api/v1/member/invitation/accept`
- **MCP tool:** `member_invitation_accept`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `ageConfirmed: boolean | null` (optional), `entryGrant: string | null` (optional), `invitationId: string`
- **Output:** `slug: string | null` (optional), `workspaceId: string`

**Free:** Joining a Workspace is never metered. A join costs zero Credits on every tier.

## `member.invitation.decline@v1`

Declines an invitation, so it ends and nobody can join with it. Sign in, or send the one-time pass your sign-in link gave you: the decline spends it, so ask for a new link before you answer another invitation. An invitation that is no longer open is refused and nothing changes.

- **REST:** `POST /api/v1/member/invitation/decline`
- **MCP tool:** `member_invitation_decline`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `entryGrant: string | null` (optional), `invitationId: string`
- **Output:** `workspaceId: string`

**Free:** Declining an invitation is never metered. A decline costs zero Credits on every tier.

## `member.invitation.list@v1`

Lists the invitations that wait for your email address, one page at a time, soonest expiry first: each one's Workspace, who invited you, the role you would take, and when the invitation expires. Sign in, or send the one-time pass your sign-in link gave you. An expired invitation, and one in a Workspace that is deleted or in maintenance, is left out.

- **REST:** `GET /api/v1/member/invitation/list`
- **MCP tool:** `member_invitation_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `entryGrant: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Seeing the invitations that wait for you costs you nothing.

## `model.get@v1`

Reads one model by its identifier. A deprecated or withdrawn model still answers, with the one to use instead.

- **REST:** `GET /api/v1/model/get`
- **MCP tool:** `model_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `id: string`
- **Output:** `displayName: string`, `id: string`, `routes: array`, `state: string | null` (optional), `successor: string | null` (optional), `tier: string`

**Free:** Reading a model never consumes a Credit.

## `model.list@v1`

Lists every model Harnesty offers, with its tier, its state and each route that serves it. A withdrawn model stays on the list and names the one to use instead. The list is the same on every host, and it holds nothing of your Workspace.

- **REST:** `GET /api/v1/model/list`
- **MCP tool:** `model_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `entries: array`

**Free:** Browsing the models never consumes a Credit.

## `newsletter.delivery.report.receive@v1`

Receives the delivery reports of our email provider, so an address that bounces stops getting our newsletters. Only our provider can call it.

- **REST:** `POST /api/v1/newsletter/delivery/report/receive`
- **MCP tool:** `newsletter_delivery_report_receive`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `events: array`, `token: string`
- **Output:** `validationResponse: string | null` (optional)

## `newsletter.delivery.report.topic.receive@v1`

Receives the signed bounce and complaint reports of our email provider, so an address that bounces, or whose owner marks our mail as spam, stops getting our newsletters. Only a message our provider signs for our own account changes anything.

- **REST:** `POST /api/v1/newsletter/delivery/report/topic/receive`
- **MCP tool:** `newsletter_delivery_report_topic_receive`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `body: string`
- **Output:** `confirmed: boolean`

## `newsletter.preferences.self@v1`

Shows which of our newsletters you receive, one state for each kind, for the person you are signed in as. With no record of your consent, every kind reads unsubscribed.

- **REST:** `GET /api/v1/newsletter/preferences/self`
- **MCP tool:** `newsletter_preferences_self`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `kinds: array`

**Free:** Reading your newsletter preferences costs you nothing, on every plan.

## `newsletter.unsubscribe.all@v1`

**Deprecated**

Opts you out of every newsletter we send, from the unsubscribe link in one of our messages, with no step in between.

- **REST:** `POST /api/v1/newsletter/unsubscribe/all`
- **MCP tool:** `newsletter_unsubscribe_all_v1`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `token: string`
- **Output:** `received: boolean`

## `newsletter.unsubscribe.all@v2`

Opts you out of every newsletter we send, from the unsubscribe link in one of our messages, with no step in between. Its rate limit counts each link on its own, so a mail provider that sends the clicks of many people from one address never stops a valid link.

- **REST:** `POST /api/v2/newsletter/unsubscribe/all`
- **MCP tool:** `newsletter_unsubscribe_all`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `token: string`
- **Output:** `received: boolean`

## `session.handshake.issue@v1`

Carries your sign-in to a Workspace's own address, so you arrive there signed in without signing in again.

- **REST:** `POST /api/v1/session/handshake/issue`
- **MCP tool:** `session_handshake_issue`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `askedAt: string | null` (optional), `challenge: string`, `target: string`
- **Output:** `host: string`

## `status.notes@v1`

Lists the incident and maintenance notes of this region's status page, newest first, one page at a time. It holds every open note and every note that closed inside the window the board covers, with each state the note took and when.

- **REST:** `GET /api/v1/status/notes`
- **MCP tool:** `status_notes`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional), `windowDays: integer | null` (optional)

**Free:** Reading the status notes is free by design — they are part of the public status page.

## `system.availability@v1`

Returns the state of each customer-felt path over the window the region's metrics store keeps, read from that store.

- **REST:** `GET /api/v1/system/availability`
- **MCP tool:** `system_availability`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `paths: array`, `sampledAt: string | null` (optional), `store: string`, `thresholds: object`, `windowDays: integer | null` (optional)

**Free:** Reading the platform's own availability is free by design — it is the public status page's source.

## `system.echo@v1`

**Deprecated**

Superseded mutation-path fixture: echoes the message back. Deprecated — use system.echo@v2.

- **REST:** `POST /api/v1/system/echo`
- **MCP tool:** `system_echo_v1`
- **Effect:** Changes state
- **Input:** `message: string`
- **Output:** `message: string`

## `user.account.export@v1`

Returns your account record and your email addresses in full in one document, and your Workspaces, your sign-ins and the consent history and messages of your marketing addresses as a count with the first entries and the action that reads each full list. It answers for your own account alone.

- **REST:** `GET /api/v1/user/account/export`
- **MCP tool:** `user_account_export`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `addresses: array`, `directory: object`, `marketing: array`, `schema: string`, `sessions: object`, `user: object`, `workspaces: object`

## `user.account.provenance@v1`

Lists every time your marketing consent was recorded for one of your email addresses, one page at a time, oldest first. It answers for your own addresses alone.

- **REST:** `GET /api/v1/user/account/provenance`
- **MCP tool:** `user_account_provenance`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `recipient: string`
- **Output:** `items: array`, `next: string | null` (optional)

## `user.account.reach@v1`

Lists every Workspace one of your sign-ins opened, one page at a time, oldest first. It answers for your own sign-ins alone.

- **REST:** `GET /api/v1/user/account/reach`
- **MCP tool:** `user_account_reach`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `session: string`
- **Output:** `items: array`, `next: string | null` (optional)

## `user.account.sends@v1`

Lists every marketing message we sent to one of your email addresses, one page at a time, oldest first. It answers for your own addresses alone.

- **REST:** `GET /api/v1/user/account/sends`
- **MCP tool:** `user_account_sends`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `recipient: string`
- **Output:** `items: array`, `next: string | null` (optional)

## `user.account.sessions@v1`

Lists every active sign-in of yours, one page at a time, oldest first. It is the full list behind the sign-ins of your account export.

- **REST:** `GET /api/v1/user/account/sessions`
- **MCP tool:** `user_account_sessions`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `user.account.workspaces@v1`

Lists every Workspace you belong to, one page at a time, oldest first. It is the full list behind the Workspaces of your account export.

- **REST:** `GET /api/v1/user/account/workspaces`
- **MCP tool:** `user_account_workspaces`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `user.context.get@v1`

Shows who you are signed in as, the Workspaces you belong to, one page at a time in slug order, and the Workspace you opened last. Signed out, it returns no identity and no Workspaces.

- **REST:** `GET /api/v1/user/context/get`
- **MCP tool:** `user_context_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `identity: object | null` (optional), `items: array`, `lastOpened: string | null` (optional), `next: string | null` (optional)

**Free:** Reading who you are costs you nothing, on every plan.

## `user.locale.get@v1`

Reads the language you saved, so every page you open while signed in speaks it. Signed out, it returns no language.

- **REST:** `GET /api/v1/user/locale/get`
- **MCP tool:** `user_locale_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `callerBound: boolean`, `code: string | null` (optional)

**Free:** Reading your language costs you nothing, on every plan.

## `user.signin.list@v1`

Lists every browser where you are signed in, one page at a time, newest first, so you can end one you do not recognise. It shows your own sign-ins alone.

- **REST:** `GET /api/v1/user/signin/list`
- **MCP tool:** `user_signin_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Listing your sign-ins costs you nothing, on every plan.

## `user.signin.revoke@v1`

Ends one of your other sign-ins, such as a browser you do not recognise. It ends on every Harnesty address at its next request. To end the sign-in you are using now, sign out instead.

- **REST:** `POST /api/v1/user/signin/revoke`
- **MCP tool:** `user_signin_revoke`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `reference: string`
- **Output:** `revoked: boolean`

**Free:** Ending a sign-in costs you nothing, on every plan.

## `user.signout@v1`

Signs you out. The sign-in you are using ends on every Harnesty address at its next request, and this address forgets its sign-in cookies. Signed out already, it ends nothing and still clears the cookies.

- **REST:** `POST /api/v1/user/signout`
- **MCP tool:** `user_signout`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** None
- **Output:** `revoked: boolean`

**Free:** Signing out costs you nothing, on every plan.

## `workspace.create@v1`

Creates a new Workspace and starts setting it up. You become its founding owner. Pay with a card anchor reference, or bill the Workspace through a Business Manager account with a code the account gave you. Send an Idempotency-Key, so a retry answers the same Workspace and never creates a second one.

- **REST:** `POST /api/v1/workspace/create`
- **MCP tool:** `workspace_create`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `ageConfirmed: boolean | null` (optional), `anchorReference: string | null` (optional), `autoTopUp: boolean | null` (optional), `businessCode: string | null` (optional), `defaultLocale: string`, `entryGrant: string | null` (optional), `name: string`, `partnerCode: string | null` (optional), `residencyClass: string | null` (optional), `returnTarget: string | null` (optional), `slug: string`, `source: string | null` (optional), `tier: string`
- **Output:** `operation: string`, `workspace: string`

**Free:** Creating a Workspace costs you nothing, on every plan.

## `workspace.creation.get@v1`

Tells the person who created a Workspace how far the creation got: whether the Workspace is set up, and whether it is founded. Look it up by the Workspace id or by the Idempotency-Key of the creation.

- **REST:** `GET /api/v1/workspace/creation/get`
- **MCP tool:** `workspace_creation_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `key: string | null` (optional), `workspace: string | null` (optional)
- **Output:** `founding: string | null` (optional), `foundingCode: string | null` (optional), `provision: string`, `provisionCode: string | null` (optional), `workspace: string`

**Free:** Checking on your own Workspace creation is always free.

## `workspace.creation.watch@v1`

Follows the creation of a Workspace you created until it ends: first where the set-up and the founding stand now, then each change. The last event carries the address of your new Workspace, or the reason the creation failed.

- **REST:** `GET /api/v1/workspace/creation/watch`
- **MCP tool:** `workspace_creation_watch`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `workspace: string`
- **Output:** `code: string | null` (optional), `endpoint: string | null` (optional), `founding: string | null` (optional), `foundingCode: string | null` (optional), `id: integer | null` (optional), `kind: string`, `provision: string | null` (optional), `provisionCode: string | null` (optional), `workspace: string | null` (optional)

**Free:** Following your own Workspace creation is always free.

## `workspace.delete.revert@v1`

Restores a deleted Workspace, with its data, before its restore window ends. Call it from your account, outside the Workspace, and name the Workspace by its id. You can restore only a Workspace you belong to, and the restore is recorded in the Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/delete/revert`
- **MCP tool:** `workspace_delete_revert`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `workspaceId: string`
- **Output:** `slug: string`

**Free:** Restoring a Workspace costs you nothing, on every plan.

## `workspace.operator.establish@v1`

Runs the founding of a Workspace again after its founding failed, with the details of the first founding. Only a Harnesty estate operator can run it, after the cause of the failure is repaired.

- **REST:** `POST /api/v1/workspace/operator/establish`
- **MCP tool:** `workspace_operator_establish`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `caseReference: string`, `operationId: string`
- **Output:** `operationId: string`, `workspaceId: string`

**Free:** Running the founding of a Workspace again costs nothing, on every plan.

## `workspace.operator.found@v1`

Founds a ready Workspace that no founding ever ran in, by the same founding a created Workspace runs. You become its founding owner. Only a Harnesty estate operator can run it, and your recorded acceptance of the current agreement roots the founding.

- **REST:** `POST /api/v1/workspace/operator/found`
- **MCP tool:** `workspace_operator_found`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `anchorReference: string | null` (optional), `businessCode: string | null` (optional), `caseReference: string`, `defaultLocale: string`, `name: string`, `tier: string`, `workspaceId: string`
- **Output:** `operationId: string`, `workspaceId: string`

**Free:** Founding a Workspace costs nothing, on every plan.

## `workspace.operator.preview.set@v1`

Turns a Workspace's preview features on or off. Only a Harnesty estate operator can run it, after a customer asks for access through support.

- **REST:** `POST /api/v1/workspace/operator/preview/set`
- **MCP tool:** `workspace_operator_preview_set`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `caseReference: string`, `enabled: boolean`, `workspaceId: string`
- **Output:** `operationId: string`

**Free:** Setting a Workspace's preview features costs nothing, on every plan.

## `workspace.slug.check@v1`

Checks whether you can still take a name for your Workspace's own address, while you type it. It reserves nothing, so a name that is free now can still be taken before you create the Workspace.

- **REST:** `GET /api/v1/workspace/slug/check`
- **MCP tool:** `workspace_slug_check`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `entryGrant: string | null` (optional), `slug: string`
- **Output:** `answer: string`

**Free:** Checking a name for your Workspace costs you nothing.
